Provides utility methods for checking preconditions.
More...
|
| static void | CheckArgumentNotNull (object value, string argument) |
| | Utility method for null checking arguments. More...
|
| |
| static void | CheckArgument (bool condition, string message) |
| | Utility method for null checking arguments. More...
|
| |
| static void | CheckNotNull (object value, string message) |
| | Utility method for checking values. More...
|
| |
| static void | CheckState (bool condition, string message) |
| | Utility method for checking the state of a class or method. More...
|
| |
Provides utility methods for checking preconditions.
| static void Google.Api.Ads.Common.Util.PreconditionUtilities.CheckArgument |
( |
bool |
condition, |
|
|
string |
message |
|
) |
| |
|
inlinestatic |
Utility method for null checking arguments.
- Parameters
-
| condition | The Object to check |
| message | The name of the argument being checked |
| static void Google.Api.Ads.Common.Util.PreconditionUtilities.CheckArgumentNotNull |
( |
object |
value, |
|
|
string |
argument |
|
) |
| |
|
inlinestatic |
Utility method for null checking arguments.
- Parameters
-
| value | The Object to check |
| argument | The name of the argument being checked |
| static void Google.Api.Ads.Common.Util.PreconditionUtilities.CheckNotNull |
( |
object |
value, |
|
|
string |
message |
|
) |
| |
|
inlinestatic |
Utility method for checking values.
- Parameters
-
| value | The Object to check |
| message | The error message if the Object is null |
| static void Google.Api.Ads.Common.Util.PreconditionUtilities.CheckState |
( |
bool |
condition, |
|
|
string |
message |
|
) |
| |
|
inlinestatic |
Utility method for checking the state of a class or method.
- Parameters
-
| condition | The condition to check. |
| message | The error message to use if the condition check fails. |
The documentation for this class was generated from the following file: