public CoreWebStartupTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe(ContainerRegistrationEvent.EventId, HandleServiceRegistration); eventDispatcher.Subscribe(ContainerRegistrationForDbContextEvent.EventId, HandleDbContextRegistration); eventDispatcher.Subscribe(ServiceConfigurationRequiredEvent.EventId, HandleServiceConfiguration); eventDispatcher.Subscribe(InitializationRequiredEvent.EventId, HandleInitialization); }
public AutofacConfigTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe <ContainerRegistrationRequest>(Handle); }
public AngularConfigJsTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { _eventDispatcher = eventDispatcher; eventDispatcher.Subscribe(ApplicationEvents.AngularJs_ConfigurationRequired, Handle); }
public UnityConfigTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe(Constants.ContainerRegistrationEvent.EventId, Handle); }
public AngularAppTemplate(IProject project, IApplicationEventDispatcher applicationEventDispatcher) : base(Identifier, project, null) { _applicationEventDispatcher = applicationEventDispatcher; applicationEventDispatcher.Subscribe(ApplicationEvents.AngularJs_ModuleRegistered, Handle); }
public WebApiWebConfigFileTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(IDENTIFIER, project, null) { eventDispatcher.Subscribe <AppSettingRegistrationRequest>(HandleAppSetting); eventDispatcher.Subscribe <ConnectionStringRegistrationRequest>(HandleConnectionString); }
public AppSettingsTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe(ApplicationEvents.Config_ConnectionString, HandleConnectionString); }
public PackageJsonTemplate(IProject project, IApplicationEventDispatcher applicationEventDispatcher) : base(Identifier, project, null) { applicationEventDispatcher.Subscribe(ApplicationEvents.Typescript_TypingsRequired, Handle); }
public IndexHtmlFileTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe(ApplicationEvents.IndexHtml_JsFileAvailable, Handle); }
public WebApiWebConfigFileTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(IDENTIFIER, project, null) { eventDispatcher.Subscribe(ApplicationEvents.Config_AppSetting, HandleAppSetting); eventDispatcher.Subscribe(ApplicationEvents.Config_ConnectionString, HandleConnectionString); }
public LaunchSettingsJsonTemplate(IProject project, IApplicationEventDispatcher applicationEventDispatcher) : base(Identifier, project, null) { applicationEventDispatcher.Subscribe(LaunchProfileRegistrationEvent.EventId, Handle); }
public UnityConfigTemplate(IOutputTarget outputTarget, IApplicationEventDispatcher eventDispatcher) : base(Identifier, outputTarget, null) { eventDispatcher.Subscribe <ContainerRegistrationRequest>(Handle); }