Skip to content

Add public ValidRootDrives property to ValidateDriveAttribute - #3510

Merged
Dongbo Wang (daxian-dbw) merged 3 commits into
PowerShell:masterfrom
indented-automation:ValidateDrive
Apr 11, 2017
Merged

Add public ValidRootDrives property to ValidateDriveAttribute#3510
Dongbo Wang (daxian-dbw) merged 3 commits into
PowerShell:masterfrom
indented-automation:ValidateDrive

Conversation

@indented-automation

Copy link
Copy Markdown
Contributor

Adds a public ValidRootDrives property to the ValidateDrivesAttribute class.

Allows discovery of the attribute state via ParameterMetadata or PSVariable objects without requiring reflection to extract values from the private field _validRootDrives.

@msftclas

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@daxian-dbw

Copy link
Copy Markdown
Member

LGTM

@indented-automation
Chris Dent (indented-automation) deleted the ValidateDrive branch April 11, 2017 18:33
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants