Esempio n. 1
0
 public ContractManager(IJSRuntime jsRuntime, HttpClient httpClient,
                        IConverterService converterService, IContractStorage contractStorage,
                        SaveManager saveManager, IDataModelManager dataModelManager, IUserModelManager userModelManager,
                        IProcessModelManager processModelManager)
 {
     _jsRuntime           = jsRuntime;
     _converterService    = converterService;
     _httpClient          = httpClient;
     _contractStorage     = contractStorage;
     _saveManager         = saveManager;
     _dataModelManager    = dataModelManager;
     _userModelManager    = userModelManager;
     _processModelManager = processModelManager;
 }
Esempio n. 2
0
 public UnassignRoleCommand(IUserModelManager userModelManager, ProcessRole assignedRole, Select2 <ProcessRole> roleSelect) : base(userModelManager)
 {
     AssignedRole = assignedRole;
     RoleSelect   = roleSelect;
 }
Esempio n. 3
0
 public UsersRolesFacade(IUserModelManager userModelManager)
 {
     _userModelManager = userModelManager;
 }
Esempio n. 4
0
 public UserModelCommand(IUserModelManager userModelManager)
 {
     UserModelManager = userModelManager;
 }
 public UserModelManagerTests()
 {
     _contract         = new Contract();
     _userModelManager = new UserModelManager();
     _userModelManager.SetContract(_contract);
 }
Esempio n. 6
0
 public RemoveUserCommand(IUserModelManager userModelManager, ProcessUser removedUser) : base(userModelManager)
 {
     RemovedUser = removedUser;
 }
Esempio n. 7
0
 public AddUserCommand(IUserModelManager userModelManager) : base(userModelManager)
 {
 }
Esempio n. 8
0
 public RemoveRoleCommand(IUserModelManager userModelManager, ProcessRole removedRole, IEnumerable<Select2<ProcessRole>> roleContainers) : base(userModelManager)
 {
     RoleContainers = roleContainers;
     RemovedRole = removedRole;
 }