ValidateProviderAttribute
Namespace: AnyPackage.Commands
The provider parameter validator.
public sealed class ValidateProviderAttribute : System.Management.Automation.ValidateArgumentsAttribute
Inheritance Object → Attribute → CmdletMetadataAttribute → ValidateArgumentsAttribute → ValidateProviderAttribute
Properties
TypeId
public object TypeId { get; }
Property Value
Constructors
ValidateProviderAttribute(PackageProviderOperations)
Instantiates the ValidateProviderAttribute
class.
public ValidateProviderAttribute(PackageProviderOperations operations)
Parameters
operations
PackageProviderOperations
Specifies the package provider operation.
Methods
Validate(Object, EngineIntrinsics)
protected void Validate(object arguments, EngineIntrinsics engineIntrinsics)
Parameters
arguments
Object
engineIntrinsics
EngineIntrinsics