コード例 #1
0
 public IntegrationInitializationHostService(IIntegrationProvider integrationProvider,
                                             IntegrationRegistrar integrationRegistrar,
                                             IntegrationHostManager integrationManager)
 {
     this.IntegrationProvider    = integrationProvider;
     this.IntegrationRegistrar   = integrationRegistrar;
     this.IntegrationHostManager = integrationManager;
 }
コード例 #2
0
        public IntegrationHostManager(ProxyRouteCollection proxyRouteCollection,
                                      IntegrationRegistrar integrationRegistrar,
                                      IIntegrationHostFactory integrationHostFactory,
                                      ILogger <IntegrationHostManager> logger)
        {
            this.ProxyRouteCollection   = proxyRouteCollection;
            this.IntegrationRegistrar   = integrationRegistrar;
            this.IntegrationHostFactory = integrationHostFactory;
            this.Logger = logger;

            // Listen for the Deregister and file modified events from the registrar.
            // This allows us to clean up or restart the integrations when required.
            this.IntegrationRegistrar.OnIntegrationDeregistered  += this.IntegrationRegistrar_OnIntegrationDeregistered;
            this.IntegrationRegistrar.OnIntegrationFilesModified += this.IntegrationRegistrar_OnIntegrationFilesModified;
        }
コード例 #3
0
 public IndexModel(IntegrationRegistrar integrationRegistrar,
                   IntegrationHostManager integrationHostManager)
 {
     this.IntegrationRegistrar   = integrationRegistrar;
     this.IntegrationHostManager = integrationHostManager;
 }