ValidateProviderAttribute

Namespace: AnyPackage.Commands

The provider parameter validator.

public sealed class ValidateProviderAttribute : System.Management.Automation.ValidateArgumentsAttribute

Inheritance ObjectAttribute → CmdletMetadataAttribute → ValidateArgumentsAttribute → ValidateProviderAttribute

Properties

TypeId

public object TypeId { get; }

Property Value

Object

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