Show / Hide Table of Contents

    Class EnsureExtensions

    Represents the ensure extensions.

    Inheritance
    Object
    EnsureExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.Reflection
    Assembly: Platform.Reflection.dll
    Syntax
    public static class EnsureExtensions

    Methods

    | Improve this Doc View Source

    CanBeNumeric<T>(EnsureAlwaysExtensionRoot)

    Cans the be numeric using the specified root.

    Declaration
    public static void CanBeNumeric<T>(this EnsureAlwaysExtensionRoot root)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    CanBeNumeric<T>(EnsureAlwaysExtensionRoot, Func<String>)

    Cans the be numeric using the specified root.

    Declaration
    public static void CanBeNumeric<T>(this EnsureAlwaysExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    Exceptions
    Type Condition
    NotSupportedException

    | Improve this Doc View Source

    CanBeNumeric<T>(EnsureAlwaysExtensionRoot, String)

    Cans the be numeric using the specified root.

    Declaration
    public static void CanBeNumeric<T>(this EnsureAlwaysExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    CanBeNumeric<T>(EnsureOnDebugExtensionRoot)

    Cans the be numeric using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void CanBeNumeric<T>(this EnsureOnDebugExtensionRoot root)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    CanBeNumeric<T>(EnsureOnDebugExtensionRoot, Func<String>)

    Cans the be numeric using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void CanBeNumeric<T>(this EnsureOnDebugExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    CanBeNumeric<T>(EnsureOnDebugExtensionRoot, String)

    Cans the be numeric using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void CanBeNumeric<T>(this EnsureOnDebugExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsNumeric<T>(EnsureAlwaysExtensionRoot)

    Ises the numeric using the specified root.

    Declaration
    public static void IsNumeric<T>(this EnsureAlwaysExtensionRoot root)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsNumeric<T>(EnsureAlwaysExtensionRoot, Func<String>)

    Ises the numeric using the specified root.

    Declaration
    public static void IsNumeric<T>(this EnsureAlwaysExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    Exceptions
    Type Condition
    NotSupportedException

    | Improve this Doc View Source

    IsNumeric<T>(EnsureAlwaysExtensionRoot, String)

    Ises the numeric using the specified root.

    Declaration
    public static void IsNumeric<T>(this EnsureAlwaysExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsNumeric<T>(EnsureOnDebugExtensionRoot)

    Ises the numeric using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsNumeric<T>(this EnsureOnDebugExtensionRoot root)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsNumeric<T>(EnsureOnDebugExtensionRoot, Func<String>)

    Ises the numeric using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsNumeric<T>(this EnsureOnDebugExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsNumeric<T>(EnsureOnDebugExtensionRoot, String)

    Ises the numeric using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsNumeric<T>(this EnsureOnDebugExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSigned<T>(EnsureAlwaysExtensionRoot)

    Ises the signed using the specified root.

    Declaration
    public static void IsSigned<T>(this EnsureAlwaysExtensionRoot root)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSigned<T>(EnsureAlwaysExtensionRoot, Func<String>)

    Ises the signed using the specified root.

    Declaration
    public static void IsSigned<T>(this EnsureAlwaysExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    Exceptions
    Type Condition
    NotSupportedException

    | Improve this Doc View Source

    IsSigned<T>(EnsureAlwaysExtensionRoot, String)

    Ises the signed using the specified root.

    Declaration
    public static void IsSigned<T>(this EnsureAlwaysExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSigned<T>(EnsureOnDebugExtensionRoot)

    Ises the signed using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsSigned<T>(this EnsureOnDebugExtensionRoot root)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSigned<T>(EnsureOnDebugExtensionRoot, Func<String>)

    Ises the signed using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsSigned<T>(this EnsureOnDebugExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSigned<T>(EnsureOnDebugExtensionRoot, String)

    Ises the signed using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsSigned<T>(this EnsureOnDebugExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSignedInteger<T>(EnsureAlwaysExtensionRoot)

    Ises the signed integer using the specified root.

    Declaration
    public static void IsSignedInteger<T>(this EnsureAlwaysExtensionRoot root)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSignedInteger<T>(EnsureAlwaysExtensionRoot, Func<String>)

    Ises the signed integer using the specified root.

    Declaration
    public static void IsSignedInteger<T>(this EnsureAlwaysExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    Exceptions
    Type Condition
    NotSupportedException

    | Improve this Doc View Source

    IsSignedInteger<T>(EnsureAlwaysExtensionRoot, String)

    Ises the signed integer using the specified root.

    Declaration
    public static void IsSignedInteger<T>(this EnsureAlwaysExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSignedInteger<T>(EnsureOnDebugExtensionRoot)

    Ises the signed integer using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsSignedInteger<T>(this EnsureOnDebugExtensionRoot root)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSignedInteger<T>(EnsureOnDebugExtensionRoot, Func<String>)

    Ises the signed integer using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsSignedInteger<T>(this EnsureOnDebugExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsSignedInteger<T>(EnsureOnDebugExtensionRoot, String)

    Ises the signed integer using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsSignedInteger<T>(this EnsureOnDebugExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsUnsignedInteger<T>(EnsureAlwaysExtensionRoot)

    Ises the unsigned integer using the specified root.

    Declaration
    public static void IsUnsignedInteger<T>(this EnsureAlwaysExtensionRoot root)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsUnsignedInteger<T>(EnsureAlwaysExtensionRoot, Func<String>)

    Ises the unsigned integer using the specified root.

    Declaration
    public static void IsUnsignedInteger<T>(this EnsureAlwaysExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    Exceptions
    Type Condition
    NotSupportedException

    | Improve this Doc View Source

    IsUnsignedInteger<T>(EnsureAlwaysExtensionRoot, String)

    Ises the unsigned integer using the specified root.

    Declaration
    public static void IsUnsignedInteger<T>(this EnsureAlwaysExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureAlwaysExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsUnsignedInteger<T>(EnsureOnDebugExtensionRoot)

    Ises the unsigned integer using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsUnsignedInteger<T>(this EnsureOnDebugExtensionRoot root)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsUnsignedInteger<T>(EnsureOnDebugExtensionRoot, Func<String>)

    Ises the unsigned integer using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsUnsignedInteger<T>(this EnsureOnDebugExtensionRoot root, Func<string> messageBuilder)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    Func<String> messageBuilder

    The message builder.

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    IsUnsignedInteger<T>(EnsureOnDebugExtensionRoot, String)

    Ises the unsigned integer using the specified root.

    Declaration
    [Conditional("DEBUG")]
    public static void IsUnsignedInteger<T>(this EnsureOnDebugExtensionRoot root, string message)
    Parameters
    Type Name Description
    EnsureOnDebugExtensionRoot root

    The root.

    String message

    The message.

    Type Parameters
    Name Description
    T

    The .

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