Show / Hide Table of Contents

    Interface ITransportMetadataProvider<TTransportMetadata>

    Defines a method for retrieving transport metadata for a service contract in a given application.

    Namespace: Copper.Conventions.Method.Common.V1.Interface
    Assembly: Copper.Conventions.Method.Common.dll
    Syntax
    public interface ITransportMetadataProvider<TTransportMetadata>
        where TTransportMetadata : class
    Type Parameters
    Name Description
    TTransportMetadata

    The transport metadata type.

    Methods

    View Source

    RetrieveTransportMetadataFor<TContract>(String, Boolean)

    Retrieves the transport metadata for a service contract in a given application.

    Declaration
    Task<TTransportMetadata> RetrieveTransportMetadataFor<TContract>(string applicationName, bool useCachedTransportMetadataIfAvailable)
        where TContract : class
    Parameters
    Type Name Description
    System.String applicationName

    The Application name.

    System.Boolean useCachedTransportMetadataIfAvailable

    true if cached transport metadata should be used if available; otherwise, false.

    Returns
    Type Description
    System.Threading.Tasks.Task<TTransportMetadata>

    The transport metadata.

    Type Parameters
    Name Description
    TContract

    The contract type.

    • View Source
    Back to top Generated by DocFX