public OverviewController( IApplicationEventDispatcher dispatcher, ICachingEventDispatcher cachingApplicationEventDispatcher) { _dispatcher = dispatcher; _cachingApplicationEventDispatcher = cachingApplicationEventDispatcher; }
public ReplaceImageCommandHandler(DatabaseContext context, TempFileService tempFileService, IApplicationEventDispatcher dispatcher, IDistributedCache distributedCache) { _context = context; _tempFileService = tempFileService; _dispatcher = dispatcher; _distributedCache = distributedCache; }
public MainFormController(IApplicationEventDispatcher applicationEventDispatcher) : base(applicationEventDispatcher) { _mainForm = new MainForm(applicationEventDispatcher); WireUpApplicationEventHandlers(); }
public FormTemplate(FormModel model, ControlWriter controlWriter, IApplicationEventDispatcher eventDispatcher) { Model = model; ControlWriter = controlWriter; eventDispatcher.Publish(new AngularImportDependencyRequiredEvent( moduleId: Model.Module.Id, dependency: "ReactiveFormsModule", import: "import { ReactiveFormsModule } from '@angular/forms';")); eventDispatcher.Publish(new AngularImportDependencyRequiredEvent( moduleId: Model.Module.Id, dependency: "FormsModule", import: "import { FormsModule } from '@angular/forms';")); if (Model.FormFields.Any(x => x.TypeReference.Element.Name == "Datepicker")) { eventDispatcher.Publish(new AngularImportDependencyRequiredEvent( moduleId: Model.Module.Id, dependency: "BsDatepickerModule.forRoot()", import: "import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';")); } if (Model.FormFields.Any(x => x.TypeReference.Element.Name == "Select" || x.TypeReference.Element.Name == "Multi-Select")) { //eventDispatcher.Publish(new AngularImportDependencyRequiredEvent( // moduleId: Model.Module.Id, // dependency: "NgxSelectModule", // import: "import { NgxSelectModule } from 'ngx-select-ex';")); //eventDispatcher.Publish(new CliInstallationRequest("ngx-select-ex", "3", "--save")); eventDispatcher.Publish(new AngularImportDependencyRequiredEvent( moduleId: Model.Module.Id, dependency: "MatSelectModule", import: "import { MatSelectModule } from '@angular/material/select';")); eventDispatcher.Publish(new CliInstallationRequest("@angular/material", "ng add @angular/material")); } }
public ImageProcessor(DatabaseContext context, IDetailsApi detailsApi, TempFileService tempFileService, IBackgroundJobClient backgroundJobClient, IApplicationEventDispatcher dispatcher) { _context = context; _detailsApi = detailsApi; _tempFileService = tempFileService; _backgroundJobClient = backgroundJobClient; _dispatcher = dispatcher; }
public PaginationControlTemplate(PaginationControlModel model, IApplicationEventDispatcher eventDispatcher) { Model = model; eventDispatcher.Publish(new AngularImportDependencyRequiredEvent( moduleId: Model.Module.Id, dependency: "PaginationModule.forRoot()", import: "import { PaginationModule } from 'ngx-bootstrap/pagination';")); }
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 AngularNodeEdgeTypeScriptServiceProxyTemplate(ServiceModel model, IProject project, IApplicationEventDispatcher applicationEvents) : base(Identifier, project, model) { _applicationEvents = applicationEvents; var recevingProxyProject = project.Application.FindProjectWithTemplateInstance(NodeEdgeCsharpReceivingProxyTemplate.Identifier, model); AssemblyName = recevingProxyProject.Name; }
public FormA( IApplicationEventDispatcher applicationEventDispatcher) : base(applicationEventDispatcher) { InitializeComponent(); WireUpApplicationEventHandlers(); }
protected OrchestratorBase( IMessages messages, IApplicationEventDispatcher applicationEventDispatcher, IMediator mediator) { _messages = messages; _applicationEventDispatcher = applicationEventDispatcher; _mediator = mediator; }
public AngularNodeEdgeTypeScriptServiceProxyTemplate(ServiceModel model, HostingConfigModel hostingConfig, IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, model) { _hostingConfig = hostingConfig; _eventDispatcher = eventDispatcher; var recevingProxyProject = project.Application.FindProjectWithTemplateInstance(NodeEdgeCsharpReceivingProxyTemplate.Identifier, model); AssemblyName = recevingProxyProject.Name; }
public TypescriptWebApiClientServiceProxyTemplate(ServiceModel model, HostingConfigModel hostingConfig, IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, model) { _hostingConfig = hostingConfig ?? new HostingConfigModel() { UseSsl = true, SslPort = "44399" }; _eventDispatcher = eventDispatcher; }
public IdentityServerOwinStartupDecorator(HostingConfigModel hostingConfig, IApplicationEventDispatcher applicationEvents, ISolutionEventDispatcher solutionEvents) { _hostingConfig = hostingConfig ?? new HostingConfigModel() { UseSsl = true, SslPort = "44399" }; _applicationEvents = applicationEvents; _solutionEvents = solutionEvents; Priority = 10; }
public AngularImplicitAuthModuleTemplate(IProject project, HostingConfigModel hostingConfig, IApplicationEventDispatcher applicationEvents, ISolutionEventDispatcher solutionEvents) : base(Identifier, project, null) { _decoratorDispatcher = new DecoratorDispatcher <IAngularImplicitAuthModuleDecorator>(project.ResolveDecorators <IAngularImplicitAuthModuleDecorator>); _hostingConfig = hostingConfig ?? new HostingConfigModel() { UseSsl = true, SslPort = "44399" }; _applicationEvents = applicationEvents; _solutionEvents = solutionEvents; _solutionEvents.Subscribe(SolutionEvents.ResourceAvailable_IdentityServer, HandleIdentityServerAvailable); }
public MessageDispatcher(IComponentContext componentContext, IApplicationEventDispatcher applicationEventDispatcher) { if (componentContext == null) { throw new ArgumentNullException("componentContext"); } if (applicationEventDispatcher == null) { throw new ArgumentNullException("applicationEventDispatcher"); } _componentContext = componentContext; _applicationEventDispatcher = applicationEventDispatcher; }
public AngularConfigJsTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { _eventDispatcher = eventDispatcher; eventDispatcher.Subscribe(ApplicationEvents.AngularJs_ConfigurationRequired, Handle); }
public SessionAuthenticationFilter(OperationContext operationContext, IHttpSessionService httpSessionService, IApplicationEventDispatcher dispatcher) { _operationContext = operationContext; _httpSessionService = httpSessionService; _dispatcher = dispatcher; }
public UnityConfigTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe(Constants.ContainerRegistrationEvent.EventId, Handle); }
public RouteSessionAuthenticationFilter(OperationContext operationContext, IRouteSessionTokenExtractor routeSessionTokenExtractor, IApplicationEventDispatcher dispatcher) { _operationContext = operationContext; _routeSessionTokenExtractor = routeSessionTokenExtractor; _dispatcher = dispatcher; }
public ProgressController(IApplicationEventDispatcher dispatcher) { _dispatcher = dispatcher; }
public AutofacConfigTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe <ContainerRegistrationRequest>(Handle); }
public AngularAppTemplate(IProject project, IApplicationEventDispatcher applicationEventDispatcher) : base(Identifier, project, null) { _applicationEventDispatcher = applicationEventDispatcher; applicationEventDispatcher.Subscribe(ApplicationEvents.AngularJs_ModuleRegistered, Handle); }
public WebApiEventConsumerServiceTemplate(IProject project, SubscribingModel model, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, model) { _eventDispatcher = eventDispatcher; }
public WebApiWebConfigFileTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(IDENTIFIER, project, null) { eventDispatcher.Subscribe <AppSettingRegistrationRequest>(HandleAppSetting); eventDispatcher.Subscribe <ConnectionStringRegistrationRequest>(HandleConnectionString); }
public LogoutCommandHandler(IOperationContext operationContext, IApplicationEventDispatcher dispatcher, ILogger <LogoutCommandHandler> logger) { _operationContext = operationContext; _dispatcher = dispatcher; _logger = logger; }
protected ApplicationEventHandlingBase(IApplicationEventDispatcher applicationEventDispatcher) { if (applicationEventDispatcher == null) throw new ArgumentNullException("applicationEventDispatcher"); _applicationEventDispatcher = applicationEventDispatcher; }
public EpisodeController(IApplicationEventDispatcher dispatcher) { _dispatcher = dispatcher; }
public FilmController(IApplicationEventDispatcher eventDispatcher) { _eventDispatcher = eventDispatcher; }
public MainProcess(IApplicationEventDispatcher applicationEventDispatcher) : base(applicationEventDispatcher) { _mainFormController = new MainFormController(applicationEventDispatcher); }
public UserContextProviderTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { _eventDispatcher = eventDispatcher; }
public AspNetIdentityModelTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { _eventDispatcher = eventDispatcher; }
public MainForm(IApplicationEventDispatcher applicationEventDispatcher) : base(applicationEventDispatcher) { InitializeComponent(); }
public HttpExceptionHandlerTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { _eventDispatcher = eventDispatcher; }
public DbContextTemplate(IEnumerable <Class> models, IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, models) { _eventDispatcher = eventDispatcher; }
public AppSettingsTemplate(IProject project, IApplicationEventDispatcher eventDispatcher) : base(Identifier, project, null) { eventDispatcher.Subscribe(ApplicationEvents.Config_ConnectionString, HandleConnectionString); }