Class ContextParameterValidation
- Namespace
- EncDotNet.S100.Portrayals
- Assembly
- EncDotNet.S100.Portrayals.dll
Optional value constraints for a ContextParameter, from its
validate element. The reader captures these as declared; they are
not enforced by this library.
public sealed class ContextParameterValidation
- Inheritance
-
ContextParameterValidation
- Inherited Members
Properties
ErrorMessage
Message to show when validation fails, from
validate/errorMessage/text, or null when absent.
public string? ErrorMessage { get; init; }
Property Value
Regex
Regular expression the value must match, from validate/regex, or
null when absent.
public string? Regex { get; init; }
Property Value
XPath
XPath expression the value must satisfy, from validate/xpath, or
null when absent.
public string? XPath { get; init; }