mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Removing length restriction on Description since SAM allows greater than 48 characters
This commit is contained in:
+1
-2
@@ -28,11 +28,10 @@ namespace Microsoft.PowerShell.Commands
|
||||
#region Parameter Properties
|
||||
/// <summary>
|
||||
/// The following is the definition of the input parameter "Description".
|
||||
/// A descriptive comment (48 characters).
|
||||
/// A descriptive comment.
|
||||
/// </summary>
|
||||
[Parameter(ValueFromPipelineByPropertyName = true)]
|
||||
[ValidateNotNull]
|
||||
[ValidateLength(0, 48)]
|
||||
public string Description
|
||||
{
|
||||
get { return this.description;}
|
||||
|
||||
+1
-2
@@ -67,11 +67,10 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
/// <summary>
|
||||
/// The following is the definition of the input parameter "Description".
|
||||
/// A descriptive comment for this user account (48 characters).
|
||||
/// A descriptive comment for this user account.
|
||||
/// </summary>
|
||||
[Parameter(ValueFromPipelineByPropertyName = true)]
|
||||
[ValidateNotNull]
|
||||
[ValidateLength(0, 48)]
|
||||
public string Description
|
||||
{
|
||||
get { return this.description;}
|
||||
|
||||
+1
-2
@@ -28,11 +28,10 @@ namespace Microsoft.PowerShell.Commands
|
||||
#region Parameter Properties
|
||||
/// <summary>
|
||||
/// The following is the definition of the input parameter "Description".
|
||||
/// A descriptive comment (48 characters).
|
||||
/// A descriptive comment.
|
||||
/// </summary>
|
||||
[Parameter(Mandatory = true)]
|
||||
[ValidateNotNull]
|
||||
[ValidateLength(0, 48)]
|
||||
public string Description
|
||||
{
|
||||
get { return this.description;}
|
||||
|
||||
+1
-2
@@ -70,11 +70,10 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
/// <summary>
|
||||
/// The following is the definition of the input parameter "Description".
|
||||
/// A descriptive comment for this user account (48 characters).
|
||||
/// A descriptive comment for this user account.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
[ValidateNotNull]
|
||||
[ValidateLength(0, 48)]
|
||||
public string Description
|
||||
{
|
||||
get { return this.description;}
|
||||
|
||||
Reference in New Issue
Block a user