Show / Hide Table of Contents

    Class FabricHost

    Provides capabilities to run applications.

    Inheritance
    System.Object
    FabricHost
    Implements
    System.IDisposable
    Namespace: Copper.Hosting
    Assembly: Copper.Hosting.dll
    Syntax
    public class FabricHost : IDisposable

    Constructors

    View Source

    FabricHost(FabricRuntime, IEnumerable<ApplicationHost>)

    Initializes a new instance of the FabricHost class.

    Declaration
    public FabricHost(FabricRuntime fabricRuntime, IEnumerable<ApplicationHost> applicationHosts)
    Parameters
    Type Name Description
    FabricRuntime fabricRuntime

    The fabric runtime.

    System.Collections.Generic.IEnumerable<ApplicationHost> applicationHosts

    The application hosts.

    Methods

    View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    View Source

    Dispose(Boolean)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    View Source

    Run()

    Runs the fabric host.

    Declaration
    public void Run()
    View Source

    RunAsync()

    Runs the application.

    Declaration
    public async Task RunAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    Implements

    System.IDisposable
    • View Source
    In This Article
    • Constructors
      • FabricHost(FabricRuntime, IEnumerable<ApplicationHost>)
    • Methods
      • Dispose()
      • Dispose(Boolean)
      • Run()
      • RunAsync()
    • Implements
    Back to top Generated by DocFX