메소드 | 설명 | |
---|---|---|
Failed ( int hr ) : bool | ||
Succeeded ( int hr ) : bool | ||
ThrowIfFalse ( bool condition, string paramName ) : void | ||
ThrowIfPathNullOrEmpty ( string filePath, string paramName ) : void | ||
ThrowIsNull ( object value, string paramName ) : void |
Throws ArgumentNullException when value is null.
|
|
ThrowIsNull ( object value, string paramName, string message ) : void |
Throws ArgumentNullException when value is null.
|
|
ThrowIsNullOrEmpty ( string value, string paramName ) : void |
Throws ArgumentException when string value is null or empty.
|
|
ThrowIsNullOrEmpty ( string value, string paramName, string message ) : void |
Throws ArgumentException when string value is null or empty.
|
|
ThrowIsNullOrInvalidType ( |
Throws ArgumentException when value is null or value isn't validType.
|
|
ThrowIsNullOrInvalidType ( object value, |
Throws ArgumentException when value is null or value isn't validType.
|
|
ThrowOnFailure ( int hr ) : int |
public static ThrowIfFalse ( bool condition, string paramName ) : void | ||
condition | bool | |
paramName | string | |
리턴 | void |
public static ThrowIfPathNullOrEmpty ( string filePath, string paramName ) : void | ||
filePath | string | |
paramName | string | |
리턴 | void |
public static ThrowIsNull ( object value, string paramName ) : void | ||
value | object | test object. |
paramName | string | parameter name for ArgumentNullException. |
리턴 | void |
public static ThrowIsNull ( object value, string paramName, string message ) : void | ||
value | object | test object. |
paramName | string | parameter name for ArgumentNullException. |
message | string | text message for ArgumentNullException. |
리턴 | void |
public static ThrowIsNullOrEmpty ( string value, string paramName ) : void | ||
value | string | string value. |
paramName | string | parameter name for ArgumentException. |
리턴 | void |
public static ThrowIsNullOrEmpty ( string value, string paramName, string message ) : void | ||
value | string | string value. |
paramName | string | parameter name for ArgumentException. |
message | string | Message. |
리턴 | void |
public static ThrowIsNullOrInvalidType ( |
||
value | The value. | |
validType | valid type for test object. | |
paramName | string | parameter name for ArgumentException. |
리턴 | void |
public static ThrowIsNullOrInvalidType ( object value, |
||
value | object | test object. |
validType | valid type for test object. | |
paramName | string | parameter name for ArgumentException. |
리턴 | void |