Guard Members
The Guard type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
ArgumentNotNull |
Throws ArgumentNullException if the given argument is null.
|
![]() ![]() |
ArgumentNotNullOrEmpty |
Throws an exception if the tested string argument is null or the empty string.
|
![]() ![]() |
InstanceIsAssignable |
Verifies that an argument instance is assignable from the provided type (meaning
interfaces are implemented, or classes exist in the base class hierarchy, or instance can be
assigned through a runtime wrapper, as is the case for COM Objects).
|
![]() ![]() |
TypeIsAssignable |
Verifies that an argument type is assignable from the provided type (meaning
interfaces are implemented, or classes exist in the base class hierarchy).
|