Compare commits
2 commits
7e9ba39259
...
20ffee6d43
| Author | SHA1 | Date | |
|---|---|---|---|
|
20ffee6d43 |
|||
|
5a4b6f2cbb |
4 changed files with 16 additions and 4 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<AnalysisMode>Recommended</AnalysisMode>
|
||||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||
<WarningsAsErrors>nullable</WarningsAsErrors>
|
||||
<WarningsAsErrors Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</WarningsAsErrors>
|
||||
<TreatWarningsAsErrors Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Label="NuGet Package Info">
|
||||
|
|
|
|||
6
src/process.dummy.app/.editorconfig
Normal file
6
src/process.dummy.app/.editorconfig
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
[*.{cs,vb}]
|
||||
# disable IDE0060: Remove unused parameter
|
||||
dotnet_diagnostic.IDE0060.severity = none
|
||||
# disable IDE0005: Unnecessary using directive
|
||||
dotnet_diagnostic.IDE0005.severity = none
|
||||
6
src/process.tests/.editorconfig
Normal file
6
src/process.tests/.editorconfig
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
[*.{cs,vb}]
|
||||
# disable IDE0060: Remove unused parameter
|
||||
dotnet_diagnostic.IDE0060.severity = none
|
||||
# disable IDE0005: Unnecessary using directive
|
||||
dotnet_diagnostic.IDE0005.severity = none
|
||||
|
|
@ -8,7 +8,7 @@ namespace Geekeey.Process;
|
|||
/// <summary>
|
||||
/// Represents an asynchronous execution of a command.
|
||||
/// </summary>
|
||||
public partial class CommandTask<TResult> : IDisposable
|
||||
public sealed partial class CommandTask<TResult> : IDisposable
|
||||
{
|
||||
private readonly Process _process;
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ public partial class CommandTask<TResult> : IDisposable
|
|||
}
|
||||
}
|
||||
|
||||
public partial class CommandTask<TResult>
|
||||
public sealed partial class CommandTask<TResult>
|
||||
{
|
||||
/// <summary>
|
||||
/// Converts the command task into a regular task.
|
||||
|
|
@ -91,4 +91,4 @@ public partial class CommandTask<TResult>
|
|||
{
|
||||
return commandTask.Task;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue