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 ServiceContractTemplate(IProject project, IServiceModel model, string identifier = IDENTIFIER) : base(identifier, project, model) { _decoratorDispatcher = new DecoratorDispatcher <IServiceContractAttributeDecorator>(project.ResolveDecorators <IServiceContractAttributeDecorator>); }
public DTOTemplate(IProject project, IDTOModel model, string identifier = IDENTIFIER) : base(identifier, project, model) { _decoratorDispatcher = new DecoratorDispatcher <IDTOAttributeDecorator>(project.ResolveDecorators <IDTOAttributeDecorator>); }