示例#1
0
 public TypescriptWebApiClientServiceProxyTemplate(ServiceModel model, HostingConfigModel hostingConfig, IProject project, IApplicationEventDispatcher eventDispatcher)
     : base(Identifier, project, model)
 {
     _hostingConfig = hostingConfig ?? new HostingConfigModel()
     {
         UseSsl = true, SslPort = "44399"
     };
     _eventDispatcher = eventDispatcher;
 }
示例#2
0
        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;
        }
示例#3
0
 public IdentityServerOwinStartupDecorator(HostingConfigModel hostingConfig, IApplicationEventDispatcher applicationEvents, ISolutionEventDispatcher solutionEvents)
 {
     _hostingConfig = hostingConfig ?? new HostingConfigModel()
     {
         UseSsl = true, SslPort = "44399"
     };
     _applicationEvents = applicationEvents;
     _solutionEvents    = solutionEvents;
     Priority           = 10;
 }
示例#4
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);
 }