C# Класс StructureMap.ArgumentChecker

Показать файл Открыть проект

Открытые методы

Метод Описание
ThrowIfNull ( string argumentName, object value ) : void

Utility method to throw ArgumentNullException if the argument is .

ThrowIfNullOrEmptyString ( string argumentName, string value ) : void

Utility method to throw ArgumentNullException if the argument is or ArgumentException if the argument is an empty string.

Описание методов

ThrowIfNull() публичный статический Метод

Utility method to throw ArgumentNullException if the argument is .
If is .
public static ThrowIfNull ( string argumentName, object value ) : void
argumentName string The argument name.
value object The argument value.
Результат void

ThrowIfNullOrEmptyString() публичный статический Метод

Utility method to throw ArgumentNullException if the argument is or ArgumentException if the argument is an empty string.
If is . If is an empty string.
public static ThrowIfNullOrEmptyString ( string argumentName, string value ) : void
argumentName string The argument name.
value string The argument value.
Результат void