Removing length restriction on Description since SAM allows greater than 48 characters

This commit is contained in:
Mike Richmond
2016-09-14 17:18:11 -07:00
parent b35d6126b2
commit 080b50f887
4 changed files with 4 additions and 8 deletions
@@ -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;}
@@ -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;}
@@ -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;}
@@ -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;}