Show / Hide Table of Contents

    Class ThrowExtensions

    Provides a set of extension methods for ThrowExtensionRoot objects.

    Предоставляет набор методов расширения для объектов ThrowExtensionRoot.

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

    Methods

    | Improve this Doc View Source

    NotImplementedException(ThrowExtensionRoot)

    Throws a new NotImplementedException.

    Выбрасывает новое NotImplementedException.

    Declaration
    public static void NotImplementedException(this ThrowExtensionRoot root)
    Parameters
    Type Name Description
    ThrowExtensionRoot root

    The extension root to which this method is bound.

    Корень-расширения, к которому привязан этот метод.

    | Improve this Doc View Source

    NotImplementedExceptionAndReturn<TReturn>(ThrowExtensionRoot)

    Throws a new NotImplementedException, while returning a value of TReturn type.

    Выбрасывает новое NotImplementedException, вовращая при этом значение типа TReturn.

    Declaration
    public static TReturn NotImplementedExceptionAndReturn<TReturn>(this ThrowExtensionRoot root)
    Parameters
    Type Name Description
    ThrowExtensionRoot root

    The extension root to which this method is bound.

    Корень-расширения, к которому привязан этот метод.

    Returns
    Type Description
    TReturn

    A value of TReturn type.

    Значение типа TReturn.

    Type Parameters
    Name Description
    TReturn

    The type of returned value.

    Тип возвращаемого значения.

    | Improve this Doc View Source

    NotSupportedException(ThrowExtensionRoot)

    Throws a new NotSupportedException.

    Выбрасывает новое NotSupportedException.

    Declaration
    public static void NotSupportedException(this ThrowExtensionRoot root)
    Parameters
    Type Name Description
    ThrowExtensionRoot root

    The extension root to which this method is bound.

    Корень-расширения, к которому привязан этот метод.

    | Improve this Doc View Source

    NotSupportedExceptionAndReturn<TReturn>(ThrowExtensionRoot)

    Throws a new NotSupportedException, while returning a value of TReturn type.

    Выбрасывает новое NotSupportedException, вовращая при этом значение типа TReturn.

    Declaration
    public static TReturn NotSupportedExceptionAndReturn<TReturn>(this ThrowExtensionRoot root)
    Parameters
    Type Name Description
    ThrowExtensionRoot root

    The extension root to which this method is bound.

    Корень-расширения, к которому привязан этот метод.

    Returns
    Type Description
    TReturn

    A value of TReturn type.

    Значение типа TReturn.

    Type Parameters
    Name Description
    TReturn

    The type of returned value.

    Тип возвращаемого значения.

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