ValidatePathIsDirectoryAttribute

Namespace: AnyPackage.Commands

The path is directory parameter validator.

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

Inheritance ObjectAttribute → CmdletMetadataAttribute → ValidateArgumentsAttribute → ValidatePathIsDirectoryAttribute

Properties

TypeId

public object TypeId { get; }

Property Value

Object

Constructors

ValidatePathIsDirectoryAttribute()

public ValidatePathIsDirectoryAttribute()

Methods

Validate(Object, EngineIntrinsics)

protected void Validate(object arguments, EngineIntrinsics engineIntrinsics)

Parameters

arguments Object

engineIntrinsics EngineIntrinsics