зеркало из https://github.com/microsoft/PSRule.git
Bump System.Drawing.Common from 8.0.7 to 8.0.8 (#1887)
* Bump System.Drawing.Common from 8.0.7 to 8.0.8 Bumps [System.Drawing.Common](https://github.com/dotnet/winforms) from 8.0.7 to 8.0.8. - [Release notes](https://github.com/dotnet/winforms/releases) - [Changelog](https://github.com/dotnet/winforms/blob/main/docs/release-activity.md) - [Commits](https://github.com/dotnet/winforms/commits) --- updated-dependencies: - dependency-name: System.Drawing.Common dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump change log --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bernie White <bewhite@microsoft.com>
This commit is contained in:
Родитель
58e477e747
Коммит
6047662cbe
|
@ -44,8 +44,8 @@ What's changed since pre-release v3.0.0-B0203:
|
||||||
[#1869](https://github.com/microsoft/PSRule/pull/1869)
|
[#1869](https://github.com/microsoft/PSRule/pull/1869)
|
||||||
- Bump xunit.runner.visualstudio to v2.8.2.
|
- Bump xunit.runner.visualstudio to v2.8.2.
|
||||||
[#1869](https://github.com/microsoft/PSRule/pull/1869)
|
[#1869](https://github.com/microsoft/PSRule/pull/1869)
|
||||||
- Bump System.Drawing.Common to v8.0.7.
|
- Bump System.Drawing.Common to v8.0.8.
|
||||||
[#1867](https://github.com/microsoft/PSRule/pull/1867)
|
[#1887](https://github.com/microsoft/PSRule/pull/1887)
|
||||||
- Bump YamlDotNet to v15.3.0.
|
- Bump YamlDotNet to v15.3.0.
|
||||||
[#1856](https://github.com/microsoft/PSRule/pull/1856)
|
[#1856](https://github.com/microsoft/PSRule/pull/1856)
|
||||||
- Bump Microsoft.CodeAnalysis.Common to v4.10.0.
|
- Bump Microsoft.CodeAnalysis.Common to v4.10.0.
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21308.1" />
|
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21308.1" />
|
||||||
<PackageReference Include="System.Drawing.Common" Version="8.0.7" />
|
<PackageReference Include="System.Drawing.Common" Version="8.0.8" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
},
|
},
|
||||||
"System.Drawing.Common": {
|
"System.Drawing.Common": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[8.0.7, )",
|
"requested": "[8.0.8, )",
|
||||||
"resolved": "8.0.7",
|
"resolved": "8.0.8",
|
||||||
"contentHash": "DoeBae0gZvxs3mtfoub6F1k28fSkFPzmhFuvblplKMnLYKmTMVy0j4Yxahh96KM532JzHGDxhJn1VpMKSB1pyg==",
|
"contentHash": "4ZM1wvLjz9nVVExsfPAaSl/qOvU+QNedJL5rQ+2Wbow+iGeyO0e7XN07707rMBgaffEeeLrCZBwC0oHUuvRdPw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Win32.SystemEvents": "8.0.0"
|
"Microsoft.Win32.SystemEvents": "8.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation.
|
||||||
// Licensed under the MIT License.
|
// Licensed under the MIT License.
|
||||||
|
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Management.Automation;
|
using System.Management.Automation;
|
||||||
using PSRule.Definitions;
|
using PSRule.Definitions;
|
||||||
using PSRule.Definitions.Conventions;
|
using PSRule.Definitions.Conventions;
|
||||||
|
@ -18,11 +19,16 @@ internal sealed class ExportConventionCommand : LanguageBlock
|
||||||
private const string Cmdlet_BodyParameter = "Body";
|
private const string Cmdlet_BodyParameter = "Body";
|
||||||
private const string Cmdlet_ScopeParameter = "Scope";
|
private const string Cmdlet_ScopeParameter = "Scope";
|
||||||
|
|
||||||
|
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.
|
||||||
|
|
||||||
[Parameter(Mandatory = true, Position = 0)]
|
[Parameter(Mandatory = true, Position = 0)]
|
||||||
[ValidateNotNullOrEmpty()]
|
[ValidateNotNullOrEmpty()]
|
||||||
[ValidateLength(3, 128)]
|
[ValidateLength(3, 128)]
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A script block to call once before any objects are processed.
|
/// A script block to call once before any objects are processed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче