Beispiel #1
0
 public ScopeClient(IAddScopeOperation addScopeOperation, IDeleteScopeOperation deleteScopeOperation, IGetAllScopesOperation getAllScopesOperation, IGetScopeOperation getScopeOperation,
                    IUpdateScopeOperation updateScopeOperation, IConfigurationClient configurationClient, ISearchScopesOperation searchScopesOperation)
 {
     _addScopeOperation     = addScopeOperation;
     _deleteScopeOperation  = deleteScopeOperation;
     _getAllScopesOperation = getAllScopesOperation;
     _getScopeOperation     = getScopeOperation;
     _updateScopeOperation  = updateScopeOperation;
     _configurationClient   = configurationClient;
     _searchScopesOperation = searchScopesOperation;
 }
 public ScopeActions(
     IDeleteScopeOperation deleteScopeOperation,
     IGetScopeOperation getScopeOperation,
     IGetScopesOperation getScopesOperation,
     IAddScopeOperation addScopeOperation,
     IUpdateScopeOperation updateScopeOperation)
 {
     _deleteScopeOperation = deleteScopeOperation;
     _getScopeOperation    = getScopeOperation;
     _getScopesOperation   = getScopesOperation;
     _addScopeOperation    = addScopeOperation;
     _updateScopeOperation = updateScopeOperation;
 }
Beispiel #3
0
 public ScopeClient(IGetScopeOperation getScopeOperation,
                    IGetScopesOperation getScopesOperation,
                    IDeleteScopeOperation deleteScopeOperation,
                    IUpdateScopeOperation updateScopeOperation,
                    IAddScopeOperation addScopeOperation,
                    IGetConfigurationOperation getConfigurationOperation)
 {
     _getScopeOperation         = getScopeOperation;
     _getScopesOperation        = getScopesOperation;
     _deleteScopeOperation      = deleteScopeOperation;
     _updateScopeOperation      = updateScopeOperation;
     _addScopeOperation         = addScopeOperation;
     _getConfigurationOperation = getConfigurationOperation;
 }
 private void InitializeFakeObjects()
 {
     _scopeRepositoryStub = new Mock <IScopeRepository>();
     _addScopeOperation   = new AddScopeOperation(_scopeRepositoryStub.Object);
 }