示例#1
0
        public ViewModel(IConfigurationForTenants configurationForTenants, IWorkspaces workspaces, ISerializer serializer)
        {
            _configurationForTenants = configurationForTenants;
            _workspaces = workspaces;
            _serializer = serializer;

            configurationForTenants.GetAll().ForEach(_tenantsCollection.Add);
        }
示例#2
0
        public ViewModel(IConfigurationForTenants configurationForTenants, IAuthentication authentication, IWorkspaces workspaces)
        {
            _configurationForTenants = configurationForTenants;
            
            _workspaces = workspaces;

            _authentication = authentication;

            configurationForTenants.GetAll().ForEach(_tenantsCollection.Add);
        }
示例#3
0
 public SimulatorHub(IConfigurationForTenants configurationForTenants)
 {
     _configurationForTenants = configurationForTenants;
 }
示例#4
0
 public TenantsHub(IConfigurationForTenants configurationForTenants)
 {
     _configurationForTenants = configurationForTenants;
 }
示例#5
0
 public EventProcessor(ISerializer serializer, IConfigurationForTenants configurationForTenants, IWorkspaces workspaces)
 {
     _serializer = serializer;
     _configurationForTenants = configurationForTenants;
     _workspaces = workspaces;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of <see cref="Workspaces"/>
 /// </summary>
 /// <param name="communication"><see cref="ICommunication"/> to use</param>
 /// <param name="configurationForTenants"><see cref="IConfigurationForTenants"/> to use</param>
 public Workspaces(ICommunication communication, IConfigurationForTenants configurationForTenants)
 {
     _communication = communication;
     _configurationForTenants = configurationForTenants;
 }