Class Validator
- Namespace
- Alis.Core.Aspect.Memory
- Assembly
- Alis.dll
The validator class
public static class ValidatorInheritance
Inherited Members
Methods
Validate<T>(T, string)
Validates the input using the specified value
[Conditional("DEBUGGER")]
public static void Validate<T>(T value, string name)Parameters
valueT-
The value
namestring
Type Parameters
T-
The
ValidateField<T>(T, string, Type)
Validates the field using the specified value
internal static void ValidateField<T>(T value, string name, Type callingType)Parameters
Type Parameters
T-
The
ValidateParameter<T>(T, string, Type, MethodBase)
Validates the parameter using the specified value
internal static void ValidateParameter<T>(T value, string name, Type callingType, MethodBase methodBase)Parameters
valueT-
The value
namestring-
The name
callingTypeType-
The calling type
methodBaseMethodBase-
The method base
Type Parameters
T-
The
ValidateProperty<T>(T, string, Type)
Validates the property using the specified value
internal static void ValidateProperty<T>(T value, string name, Type callingType)Parameters
Type Parameters
T-
The