Class EnsureExtensions
Represents the ensure extensions.
Namespace: Platform.Collections
Assembly: Platform.Collections.dll
Syntax
public static class EnsureExtensions : object
Methods
| Improve this Doc View SourceArgumentNotEmpty<T>(EnsureAlwaysExtensionRoot, ICollection<T>)
Arguments the not empty using the specified root.
Declaration
public static void ArgumentNotEmpty<T>(this EnsureAlwaysExtensionRoot root, ICollection<T> argument)
Parameters
Type | Name | Description |
---|---|---|
EnsureAlwaysExtensionRoot | root | The root.
|
ICollection<T> | argument | The argument.
|
Type Parameters
Name | Description |
---|---|
T | The .
|
ArgumentNotEmpty<T>(EnsureAlwaysExtensionRoot, ICollection<T>, String)
Arguments the not empty using the specified root.
Declaration
public static void ArgumentNotEmpty<T>(this EnsureAlwaysExtensionRoot root, ICollection<T> argument, string argumentName)
Parameters
Type | Name | Description |
---|---|---|
EnsureAlwaysExtensionRoot | root | The root.
|
ICollection<T> | argument | The argument.
|
String | argumentName | The argument name.
|
Type Parameters
Name | Description |
---|---|
T | The .
|
ArgumentNotEmpty<T>(EnsureAlwaysExtensionRoot, ICollection<T>, String, String)
Arguments the not empty using the specified root.
Declaration
public static void ArgumentNotEmpty<T>(this EnsureAlwaysExtensionRoot root, ICollection<T> argument, string argumentName, string message)
Parameters
Type | Name | Description |
---|---|---|
EnsureAlwaysExtensionRoot | root | The root.
|
ICollection<T> | argument | The argument.
|
String | argumentName | The argument name.
|
String | message | The message.
|
Type Parameters
Name | Description |
---|---|
T | The .
|
ArgumentNotEmpty<T>(EnsureOnDebugExtensionRoot, ICollection<T>)
Arguments the not empty using the specified root.
Declaration
public static void ArgumentNotEmpty<T>(this EnsureOnDebugExtensionRoot root, ICollection<T> argument)
Parameters
Type | Name | Description |
---|---|---|
EnsureOnDebugExtensionRoot | root | The root.
|
ICollection<T> | argument | The argument.
|
Type Parameters
Name | Description |
---|---|
T | The .
|
ArgumentNotEmpty<T>(EnsureOnDebugExtensionRoot, ICollection<T>, String)
Arguments the not empty using the specified root.
Declaration
public static void ArgumentNotEmpty<T>(this EnsureOnDebugExtensionRoot root, ICollection<T> argument, string argumentName)
Parameters
Type | Name | Description |
---|---|---|
EnsureOnDebugExtensionRoot | root | The root.
|
ICollection<T> | argument | The argument.
|
String | argumentName | The argument name.
|
Type Parameters
Name | Description |
---|---|
T | The .
|
ArgumentNotEmpty<T>(EnsureOnDebugExtensionRoot, ICollection<T>, String, String)
Arguments the not empty using the specified root.
Declaration
public static void ArgumentNotEmpty<T>(this EnsureOnDebugExtensionRoot root, ICollection<T> argument, string argumentName, string message)
Parameters
Type | Name | Description |
---|---|---|
EnsureOnDebugExtensionRoot | root | The root.
|
ICollection<T> | argument | The argument.
|
String | argumentName | The argument name.
|
String | message | The message.
|
Type Parameters
Name | Description |
---|---|
T | The .
|
ArgumentNotEmptyAndNotWhiteSpace(EnsureAlwaysExtensionRoot, String)
Arguments the not empty and not white space using the specified root.
Declaration
public static void ArgumentNotEmptyAndNotWhiteSpace(this EnsureAlwaysExtensionRoot root, string argument)
Parameters
Type | Name | Description |
---|---|---|
EnsureAlwaysExtensionRoot | root | The root.
|
String | argument | The argument.
|
ArgumentNotEmptyAndNotWhiteSpace(EnsureAlwaysExtensionRoot, String, String)
Arguments the not empty and not white space using the specified root.
Declaration
public static void ArgumentNotEmptyAndNotWhiteSpace(this EnsureAlwaysExtensionRoot root, string argument, string argumentName)
Parameters
Type | Name | Description |
---|---|---|
EnsureAlwaysExtensionRoot | root | The root.
|
String | argument | The argument.
|
String | argumentName | The argument name.
|
ArgumentNotEmptyAndNotWhiteSpace(EnsureAlwaysExtensionRoot, String, String, String)
Arguments the not empty and not white space using the specified root.
Declaration
public static void ArgumentNotEmptyAndNotWhiteSpace(this EnsureAlwaysExtensionRoot root, string argument, string argumentName, string message)
Parameters
Type | Name | Description |
---|---|---|
EnsureAlwaysExtensionRoot | root | The root.
|
String | argument | The argument.
|
String | argumentName | The argument name.
|
String | message | The message.
|
ArgumentNotEmptyAndNotWhiteSpace(EnsureOnDebugExtensionRoot, String)
Arguments the not empty and not white space using the specified root.
Declaration
public static void ArgumentNotEmptyAndNotWhiteSpace(this EnsureOnDebugExtensionRoot root, string argument)
Parameters
Type | Name | Description |
---|---|---|
EnsureOnDebugExtensionRoot | root | The root.
|
String | argument | The argument.
|
ArgumentNotEmptyAndNotWhiteSpace(EnsureOnDebugExtensionRoot, String, String)
Arguments the not empty and not white space using the specified root.
Declaration
public static void ArgumentNotEmptyAndNotWhiteSpace(this EnsureOnDebugExtensionRoot root, string argument, string argumentName)
Parameters
Type | Name | Description |
---|---|---|
EnsureOnDebugExtensionRoot | root | The root.
|
String | argument | The argument.
|
String | argumentName | The argument name.
|
ArgumentNotEmptyAndNotWhiteSpace(EnsureOnDebugExtensionRoot, String, String, String)
Arguments the not empty and not white space using the specified root.
Declaration
public static void ArgumentNotEmptyAndNotWhiteSpace(this EnsureOnDebugExtensionRoot root, string argument, string argumentName, string message)
Parameters
Type | Name | Description |
---|---|---|
EnsureOnDebugExtensionRoot | root | The root.
|
String | argument | The argument.
|
String | argumentName | The argument name.
|
String | message | The message.
|