Esempio n. 1
0
 public GenericKindManager(
     IResourceDocumentStore <SchemaDrivenKind.DynamicResource> documentStore,
     Kind <SchemaDrivenKind.DynamicResource> kind,
     ResourceManager?parentKindManager,
     ResourceManagerContainer resourceManagers) :
     base(documentStore, resourceManagers)
 {
     _parentKindManager = parentKindManager;
     TypedKind          = kind;
 }
Esempio n. 2
0
 public HostManager(ConnectionManager connectionManager, EventBus eventBus,
                    ILoggerFactory loggerFactory, IEndpointClientFactory endpointClientFactory,
                    IServerIdentityVerifier serverIdentityVerifier, IResourceDocumentStore <Host> documentStore,
                    ResourceStateManager resourceStateManager, ResourceManagerContainer resourceManagers) :
     base(documentStore, resourceManagers)
 {
     _connectionManager      = connectionManager;
     _eventBus               = eventBus;
     _loggerFactory          = loggerFactory;
     _endpointClientFactory  = endpointClientFactory;
     _serverIdentityVerifier = serverIdentityVerifier;
     _resourceStateManager   = resourceStateManager;
 }
Esempio n. 3
0
        public KindManager(IResourceDocumentStore <Kind> documentStore,
                           IDocumentStoreFactory documentStoreFactory,
                           ResourceManagerContainer resourceManagerAccessor,
                           ResourceManagerContainer resourceManagers) :
            base(documentStore, resourceManagers)
        {
            _documentStoreFactory    = documentStoreFactory;
            _resourceManagerAccessor = resourceManagerAccessor;
            _resourceManagers        = resourceManagers;

            AddResource(CoreKinds.Kind);
            AddResource(CoreKinds.Host);
            AddResource(CoreKinds.Controller);
            AddResource(CoreKinds.Device);
        }
Esempio n. 4
0
 public DeviceManager(IResourceDocumentStore <Device> documentStore, ResourceManagerContainer resourceManagers) :
     base(documentStore, resourceManagers)
 {
 }
Esempio n. 5
0
 public TestClassManager(IResourceDocumentStore <TestClass> documentStore) : base(documentStore)
 {
 }