Show / Hide Table of Contents

    Class EnsureExtensions

    Represents the ensure extensions.

    Inheritance
    Object
    EnsureExtensions
    Namespace: Platform.Collections
    Assembly: Platform.Collections.dll
    Syntax
    public static class EnsureExtensions : object

    Methods

    | Improve this Doc View Source

    ArgumentNotEmpty<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 .

    | Improve this Doc View Source

    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 .

    | Improve this Doc View Source

    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 .

    | Improve this Doc View Source

    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 .

    | Improve this Doc View Source

    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 .

    | Improve this Doc View Source

    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 .

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX