Esempio n. 1
0
        public ProjectBuilder(ITemplateStore templateStore, ITemplateInfoProvider templateInfoProvider)
        {
            TemplateStore        = templateStore;
            TemplateInfoProvider = templateInfoProvider;

            Logger = NullLogger <ProjectBuilder> .Instance;
        }
Esempio n. 2
0
        public TemplateService(
            ITemplateStore templateStore,
            IHypervisorService podService,
            ILogger <TemplateService> logger,
            IMapper mapper,
            CoreOptions options
            ) : base(logger, mapper, options)
        {
            _store = templateStore;

            _pod = podService;
        }
Esempio n. 3
0
 public UserEventPublisher(ICounterService counters, ISemanticLog log, ILogStore logStore,
                           IEventStore eventStore,
                           ISubscriptionStore subscriptionStore,
                           ITemplateStore templateStore,
                           IUserEventProducer userEventProducer)
 {
     this.subscriptionStore = subscriptionStore;
     this.counters          = counters;
     this.eventStore        = eventStore;
     this.log               = log;
     this.logStore          = logStore;
     this.templateStore     = templateStore;
     this.userEventProducer = userEventProducer;
 }
Esempio n. 4
0
        public ProjectBuilder(ITemplateStore templateStore,
                              ITemplateInfoProvider templateInfoProvider,
                              ICliAnalyticsCollect cliAnalyticsCollect,
                              IOptions <CliOptions> options,
                              IJsonSerializer jsonSerializer,
                              IApiKeyService apiKeyService)
        {
            TemplateStore        = templateStore;
            TemplateInfoProvider = templateInfoProvider;
            CliAnalyticsCollect  = cliAnalyticsCollect;
            Options        = options.Value;
            JsonSerializer = jsonSerializer;
            ApiKeyService  = apiKeyService;

            Logger = NullLogger <ProjectBuilder> .Instance;
        }
Esempio n. 5
0
        public TemplateService(
            ITemplateStore templateStore,
            IWorkspaceStore workspaceStore,
            IHypervisorService podService,
            ILogger <TemplateService> logger,
            IMapper mapper,
            CoreOptions options,
            IIdentityResolver identityResolver
            ) : base(logger, mapper, options, identityResolver)
        {
            _templateStore = templateStore;

            _workspaceStore = workspaceStore;

            _pod = podService;
        }
Esempio n. 6
0
 public TransferService(
     IUserStore userStore,
     IWorkspaceStore workspaceStore,
     ITemplateStore templateStore,
     ILogger <TransferService> logger,
     IMapper mapper,
     CoreOptions options
     ) : base(logger, mapper, options)
 {
     _workspaceStore        = workspaceStore;
     _templateStore         = templateStore;
     _userStore             = userStore;
     jsonSerializerSettings = new JsonSerializerOptions
     {
         WriteIndented = true
     };
 }
Esempio n. 7
0
 public UserEventPublisher(ICounterService counters, ILogStore logStore,
                           IEventStore eventStore,
                           ISubscriptionStore subscriptionStore,
                           ITemplateStore templateStore,
                           IUserStore userStore,
                           IUserEventProducer userEventProducer,
                           ILogger <UserEventPublisher> log,
                           Randomizer randomizer)
 {
     this.counters          = counters;
     this.eventStore        = eventStore;
     this.log               = log;
     this.randomizer        = randomizer;
     this.logStore          = logStore;
     this.subscriptionStore = subscriptionStore;
     this.templateStore     = templateStore;
     this.userEventProducer = userEventProducer;
     this.userStore         = userStore;
 }
Esempio n. 8
0
 public ProjectBuilder(ITemplateStore templateStore, ITemplateInfoProvider templateInfoProvider)
 {
     TemplateStore        = templateStore;
     TemplateInfoProvider = templateInfoProvider;
 }
Esempio n. 9
0
 public TemplateValidator(
     ITemplateStore store
     )
 {
     _store = store;
 }
Esempio n. 10
0
 public TemplatesController(ITemplateStore templateStore)
 {
     this.templateStore = templateStore;
 }
Esempio n. 11
0
 public TemplateFile()
 {
     _templateStore = DependencyResolver.Current.GetService<ITemplateStore>();
 }
Esempio n. 12
0
 public TemplateMatcher(ITemplateStore <T> templateStore)
 {
     _templateStore = templateStore;
 }