public ScopeActions(
     IDeleteScopeOperation deleteScopeOperation,
     IGetScopeOperation getScopeOperation,
     IGetScopesOperation getScopesOperation,
     IAddScopeOperation addScopeOperation,
     IUpdateScopeOperation updateScopeOperation)
 {
     _deleteScopeOperation = deleteScopeOperation;
     _getScopeOperation    = getScopeOperation;
     _getScopesOperation   = getScopesOperation;
     _addScopeOperation    = addScopeOperation;
     _updateScopeOperation = updateScopeOperation;
 }
예제 #2
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;
 }
예제 #3
0
 private void InitializeFakeObjects()
 {
     _scopeRepositoryStub = new Mock <IScopeRepository>();
     _getScopesOperation  = new GetScopesOperation(_scopeRepositoryStub.Object);
 }