зеркало из https://github.com/SteeltoeOSS/Common.git
http/s, cleanup
This commit is contained in:
Родитель
52bd7ee748
Коммит
b7f232410a
|
@ -4,7 +4,7 @@
|
|||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
@ -20,9 +20,10 @@ namespace Steeltoe.Common.Tasks
|
|||
public interface IApplicationTask
|
||||
{
|
||||
/// <summary>
|
||||
/// Globally unique name for task
|
||||
/// Gets globally unique name for task
|
||||
/// </summary>
|
||||
string Name { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Action which to run
|
||||
/// </summary>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
|
||||
"settings": {
|
||||
"documentationRules": {
|
||||
"copyrightText": "Copyright {copyrightYear} the original author or authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.",
|
||||
"copyrightText": "Copyright {copyrightYear} the original author or authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.",
|
||||
"xmlHeader": false,
|
||||
"variables": {
|
||||
"copyrightYear": "2017"
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace Steeltoe.Common.Net.Test
|
|||
var fakeMPR = new FakeMPR();
|
||||
|
||||
// act
|
||||
var share = new WindowsNetworkFileShare(@"\\server\path", new NetworkCredential("user", "password"), fakeMPR);
|
||||
_ = new WindowsNetworkFileShare(@"\\server\path", new NetworkCredential("user", "password"), fakeMPR);
|
||||
|
||||
// assert
|
||||
Assert.Equal("user", fakeMPR._username);
|
||||
|
@ -55,7 +55,7 @@ namespace Steeltoe.Common.Net.Test
|
|||
var fakeMPR = new FakeMPR();
|
||||
|
||||
// act
|
||||
var share = new WindowsNetworkFileShare(@"\\server\path", new NetworkCredential("user", "password", "domain"), fakeMPR);
|
||||
_ = new WindowsNetworkFileShare(@"\\server\path", new NetworkCredential("user", "password", "domain"), fakeMPR);
|
||||
|
||||
// assert
|
||||
Assert.Equal(@"domain\user", fakeMPR._username);
|
||||
|
|
Загрузка…
Ссылка в новой задаче