Skip to content

Commit

Permalink
Adding public ValidRootDrives property to ValidateDrive (PowerShell#3510
Browse files Browse the repository at this point in the history
)
  • Loading branch information
indented-automation authored and daxian-dbw committed Apr 11, 2017
1 parent 753b196 commit 4697dd2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/System.Management.Automation/engine/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,17 @@ public class ValidateDriveAttribute : ValidateArgumentsAttribute
{
private string[] _validRootDrives;

/// <summary>
/// Gets the values in the set
/// </summary>
public IList<string> ValidRootDrives
{
get
{
return _validRootDrives;
}
}

/// <summary>
/// Initializes a new instance of the ValidateDrivePath class
/// </summary>
Expand Down

0 comments on commit 4697dd2

Please sign in to comment.