public ViewModel(IConfigurationForTenants configurationForTenants, IWorkspaces workspaces, ISerializer serializer) { _configurationForTenants = configurationForTenants; _workspaces = workspaces; _serializer = serializer; configurationForTenants.GetAll().ForEach(_tenantsCollection.Add); }
public ViewModel(IConfigurationForTenants configurationForTenants, IAuthentication authentication, IWorkspaces workspaces) { _configurationForTenants = configurationForTenants; _workspaces = workspaces; _authentication = authentication; configurationForTenants.GetAll().ForEach(_tenantsCollection.Add); }
public SimulatorHub(IConfigurationForTenants configurationForTenants) { _configurationForTenants = configurationForTenants; }
public TenantsHub(IConfigurationForTenants configurationForTenants) { _configurationForTenants = configurationForTenants; }
public EventProcessor(ISerializer serializer, IConfigurationForTenants configurationForTenants, IWorkspaces workspaces) { _serializer = serializer; _configurationForTenants = configurationForTenants; _workspaces = workspaces; }
/// <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; }