Skip to main content

ValidatorAttribute

Validator attribute to define the class that will describe the Validation rules.

Assembly: ServiceStack.dll
View Source
Declaration
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Parameter)]
public class ValidatorAttribute : Attribute, _Attribute

Properties

ValidatorType

The type of the validator used to validate the current type or parameter.

View Source
Declaration
public Type ValidatorType { get; }

Implements

  • System.Runtime.InteropServices._Attribute