Show / Hide Table of Contents

    Class OneWayOperationValidator

    Provides the capability to validate if a given type has conforms to Copper's one-way operation requirements.

    Inheritance
    System.Object
    OneWayOperationValidator
    Namespace: Copper.Common.Validators
    Assembly: Copper.Common.dll
    Syntax
    public static class OneWayOperationValidator

    Methods

    View Source

    HasOneWayOperations(Type)

    Determines whether the type to validate has only valid one-way operations.

    Declaration
    public static bool HasOneWayOperations(Type type)
    Parameters
    Type Name Description
    System.Type type

    The type to validate.

    Returns
    Type Description
    System.Boolean

    true if the type to validate has only valid one-way operations; otherwise, false.

    View Source

    Validate(Type)

    Determines whether the type to validate has only valid one-way operations.

    Declaration
    public static void Validate(Type type)
    Parameters
    Type Name Description
    System.Type type

    The type to validate.

    View Source

    Validate<TType>()

    Determines whether the type to validate has only valid one-way operations.

    Declaration
    public static void Validate<TType>()
    Type Parameters
    Name Description
    TType

    The type to validate.

    • View Source
    Back to top Generated by DocFX