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

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

            _authentication = authentication;

            configurationForTenants.GetAll().ForEach(_tenantsCollection.Add);
        }