Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
| Retired Content |
|---|
This content and the technology described is outdated and is no longer being maintained. For more information, see Transient Fault Handling. |
The Guard type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() ![]() |
ArgumentNotDefaultValue<T> |
Checks an argument to ensure that its value is not the default value for its type.
|
![]() ![]() |
ArgumentNotGreaterThan |
Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline.
|
![]() ![]() |
ArgumentNotNegativeValue(Int32, String) |
Checks an argument to ensure that its value is not negative.
|
![]() ![]() |
ArgumentNotNegativeValue(Int64, String) |
Checks an argument to ensure that its value is not negative.
|
![]() ![]() |
ArgumentNotNull |
Checks an argument to ensure it isn't null.
|
![]() ![]() |
ArgumentNotNullOrEmptyString |
Checks a string argument to ensure it isn't null or empty.
|
![]() ![]() |
ArgumentNotZeroOrNegativeValue |
Checks an argument to ensure that its value is not zero or negative.
|
![]() ![]() |
EnumValueIsDefined |
Checks an Enum argument to ensure that its value is defined by the specified Enum type.
|
![]() ![]() |
TypeIsAssignableFromType |
Verifies that an argument type is assignable from the provided type (meaning interfaces are implemented, or classes exist in the base class hierarchy).
|
.gif)
.gif)