PropertyInvalidException Methods |
The PropertyInvalidException type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) |
![]() | GetType | Gets the runtime type of the current instance. (Inherited from Exception.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
![]() ![]() | ValidateGreaterThanZero(Double, String) |
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateGreaterThanZero(Int32, String) |
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateGreaterThanZero(Double, String, String) |
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateGreaterThanZero(Int32, String, String) |
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateImplementsInterface<TInterface>(Object, String) |
Validate that the given property implements the specified interface.
|
![]() ![]() | ValidateImplementsInterface<TInterface>(Object, String, String) |
Validate that the given property implements the specified interface.
|
![]() ![]() | ValidateNonNegative(Double, String) |
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonNegative(Int32, String) |
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonNegative(Double, String, String) |
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonNegative(Int32, String, String) |
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonNull(Object, String) |
Validate that the given property value must be non-null, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonNull(Object, String, String) |
Validate that the given property value must be non-null, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonZero(Double, String) |
Validate that the given property value must be non-zero, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNonZero(Double, String, String) |
Validate that the given property value must be non-zero, and throw PropertyInvalidException if it is not.
|
![]() ![]() | ValidateNotEmpty<T>(ICollection<T>, String) |
Validate that the given property value must not be null or an empty collection, and throw PropertyInvalidException if it is.
|
![]() ![]() | ValidateNotEmpty<T>(ICollection<T>, String, String) |
Validate that the given property value must not be null or an empty collection, and throw PropertyInvalidException if it is.
|
![]() ![]() | ValidateNotEmpty<TKey, TValue>(IDictionary<TKey, TValue>, String) |
Validate that the given property value must not be null or an empty dictionary, and throw PropertyInvalidException if it is.
|
![]() ![]() | ValidateNotEmpty<TKey, TValue>(IDictionary<TKey, TValue>, String, String) |
Validate that the given property value must not be null or an empty dictionary, and throw PropertyInvalidException if it is.
|
![]() ![]() | ValidateNotNaN(Double, String) |
Validate that the given property value must not be NaN, and throw PropertyInvalidException if it is.
|
![]() ![]() | ValidateNotNaN(Double, String, String) |
Validate that the given property value must not be NaN, and throw PropertyInvalidException if it is.
|
![]() ![]() | ValidateZeroToOne |
Validate that the given property value must be between zero and one, and throw PropertyInvalidException if it is not.
|