nspectre - declarative validation for .NET

ICompiledSettings.GetSpecification Method 

Gets the ISpecification that contains all the specifications for a given type for a given action.

ISpecification GetSpecification(
   Type type,
   string action
);

Parameters

type
The Type to check.
action
The name of the action.

Return Value

An ISpecification.

See Also

ICompiledSettings Interface | NSpectre.Core.Configuration Namespace