Class RequiredTypeValidator<T>
- Namespace
- Skyline.DataMiner.Net.Ticketing.Validators
- Assembly
- SLNetTypes.dll
Represents a required field validator.
[Serializable]
public class RequiredTypeValidator<T> : TypeValidator<T>, ITicketFieldValidator
Type Parameters
T
The type to validate against.
- Inheritance
-
RequiredTypeValidator<T>
- Implements
- Extension Methods
Constructors
- RequiredTypeValidator()
Initializes a new instance of the RequiredTypeValidator<T> class.
- RequiredTypeValidator(bool)
Initializes a new instance of the RequiredTypeValidator<T> class using a Boolean to indicate whether null reference values are allowed .
Fields
Methods
- Validate(Ticket, object)
Verifies whether the specified value is allowed.