nspectre - declarative validation for .NET

PreprocessorBase.GetNamedProperty Method 

Retrieves the named property.

protected string GetNamedProperty(
   Properties properties,
   string propertyName
);

Parameters

properties
The Properties to check.
propertyName
The name of the property to get.

Remarks

An exception will be thrown if the named property is not set.

See Also

PreprocessorBase Class | NSpectre.Core.Plugins Namespace