Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/System.Management.Automation/engine/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1731,13 +1731,16 @@ public ValidateSetAttribute(Type valuesGeneratorType)
/// <summary>
/// Allows dynamically generate set of values for <see cref="ValidateSetAttribute"/>
/// </summary>
#nullable enable
public interface IValidateSetValuesGenerator
{
/// <summary>
/// Gets valid values.
/// </summary>
/// <returns>A non-null array of non-null strings.</returns>
string[] GetValidValues();
}
#nullable restore

/// <summary>
/// Validates that each parameter argument is Trusted data.
Expand Down