nspectre - declarative validation for .NET

PreprocessorBase.GetErrorMessageProperty Method 

Retrieves the ErrorMessage property.

protected string GetErrorMessageProperty(
   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