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