Search Results for

    Show / Hide Table of Contents

    Class Guard

    The static class is the front door to all guard clauses that are provided via separate interfaces.

    Inheritance
    System.Object
    Guard
    Namespace: TeleScope.GuardClauses
    Assembly: TeleScope.GuardClauses.dll
    Syntax
    public static class Guard : object

    Properties

    | Improve this Doc View Source

    Against

    Gets methods of guard clauses that are related to defensiv or basic statements.

    Declaration
    public static IDefensiveGuardable Against { get; }
    Property Value
    Type Description
    IDefensiveGuardable
    | Improve this Doc View Source

    Collection

    Gets methods of guard clauses that are related to collections.

    Declaration
    public static ICollectionGuardable Collection { get; }
    Property Value
    Type Description
    ICollectionGuardable
    | Improve this Doc View Source

    Numeric

    Gets methods of guard clauses that are related to numerics.

    Declaration
    public static INumericGuardable Numeric { get; }
    Property Value
    Type Description
    INumericGuardable
    | Improve this Doc View Source

    String

    Gets methods of guard clauses that are related to strings.

    Declaration
    public static IStringGuardable String { get; }
    Property Value
    Type Description
    IStringGuardable

    Methods

    | Improve this Doc View Source

    Provide()

    Calling this method will access the internal GuardProvider that stores the implemented guard clauses.

    Declaration
    public static GuardProvider Provide()
    Returns
    Type Description
    GuardProvider

    The internal static instance of type GuardProvider.

    • GITHUB
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    Copyright 2020-2022 TeleScope-dotnet. Generated by DocFX.
    ☀
    ☾