Show / Hide Table of Contents

    Class Ensure

    Contains two extensible classes instances that can be supplemented with static helper methods by using the extension mechanism. These methods ensure the contract compliance.

    Содержит два экземпляра расширяемых класса, которые можно дополнять статическими вспомогательными методами путём использования механизма расширений. Эти методы занимаются гарантированием соответствия контракту.

    Inheritance
    Object
    Ensure
    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 Ensure

    Fields

    | Improve this Doc View Source

    Always

    Gets an instance of the extension root class that contains helper methods to guarantee compliance with the contract.

    Возвращает экземпляр класса корня-расширения, который содержит вспомогательные методы для гарантирования соответствия контракту.

    Declaration
    public static readonly EnsureAlwaysExtensionRoot Always
    Field Value
    Type Description
    EnsureAlwaysExtensionRoot
    | Improve this Doc View Source

    OnDebug

    Gets an instance of the extension root class that contains helper methods to guarantee compliance with the contract, but are executed only during debugging.

    Возвращает экземпляр класса корня-расширения, который содержит вспомогательные методы для гарантирования соответствия контракту, но выполняются только во время отладки.

    Declaration
    public static readonly EnsureOnDebugExtensionRoot OnDebug
    Field Value
    Type Description
    EnsureOnDebugExtensionRoot
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX