nspectre - declarative validation for .NET

PreprocessorBase.GetKeyProperty Method 

Retrieves the Key property.

protected string GetKeyProperty(
   Properties properties
);

Parameters

properties
The Properties to check.

Remarks

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

See Also

PreprocessorBase Class | NSpectre.Core.Plugins Namespace