Class Validator
- Namespace
- Alis.Core.Aspect.Memory
- Assembly
- Alis.dll
The validator class
public static class Validator
Inheritance
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
value
T-
The value
name
string
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
value
T-
The value
name
string-
The name
callingType
Type-
The calling type
methodBase
MethodBase-
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