Src/Pscx.Core/Commands/PscxCmdlet.PscxPathInfo.cs
/// <summary>
/// Allow derived Cmdlets to override conditions of PscxPath validation at runtime.
/// <remarks>See PscxPathCommandBase for example.</remarks>
/// </summary>
/// <param name="parameterName">The parameter to be validated.</param>
/// <param name="settings">Represents the compile-time PscxPath attribute's settings.</param>
/// <returns>True if parameter should be validated against PscxPath constraints, else false to not validate this parameter.</returns>
Allow derived Cmdlets to override conditions of PscxPath validation at runtime.
See PscxPathCommandBase for example.
Allow derived Cmdlets to override conditions of PscxPath validation at runtime . See PscxPathCommandBase for example .
protected virtual bool OnValidatePscxPath(string parameterName, IPscxPathSettings settings)
        {
            return true;
        }
protected virtual bool OnValidatePscxPath ( string parameterName , IPscxPathSettings settings ) { return true ; }
Allow derived Cmdlets to override conditions of PscxPath validation at runtime.
Allow derived Cmdlets to override conditions of PscxPath validation at runtime .
// yes, validate this parameter using the attribute constraints
True if parameter should be validated against PscxPath constraints, else false to not validate this parameter.
True if parameter should be validated against PscxPath constraints else false to not validate this parameter .
parameterName
string
The parameter to be validated.
The parameter to be validated .
settings
IPscxPathSettings
Represents the compile-time PscxPath attribute's settings.
Represents the compile - time PscxPath attribute ' s settings .