Пример #1
0
 public SchemaController(ISchemaVersionStore store, IOptionsMonitor <ApiOptions> apiOptions,
                         IOptionsMonitor <QueryOptions> queryOptions)
 {
     _store        = store;
     _apiOptions   = apiOptions;
     _queryOptions = queryOptions;
 }
Пример #2
0
        public InitializeStoreTask(IStore store,
                                   ISchemaVersionStore schemaVersionStore)
        {
            this.store = store;
            this.schemaVersionStore = schemaVersionStore;

            schemaVersionUpdates = new[]
            {
                new SchemaUpdate {
                    Version = 1, Update = UpdateToVersion1
                }
            };
        }
Пример #3
0
 public SchemaService(IApplicationVersionStore applications, ISchemaVersionStore schemas)
 {
     _applications = applications;
     _schemas      = schemas;
 }
 public SchemaDiscoveryVersionContextStore(ISchemaVersionStore store, IOptionsMonitor <SchemaOptions> options)
 {
     _store   = store;
     _options = options;
 }