コード例 #1
0
 public ScopeActions(
     IGetScopeAction getScopeAction,
     IInsertScopeAction insertScopeAction,
     IUpdateScopeAction updateScopeAction,
     IGetScopesAction getScopesAction,
     IDeleteScopeAction deleteScopeAction)
 {
     _getScopeAction    = getScopeAction;
     _insertScopeAction = insertScopeAction;
     _getScopesAction   = getScopesAction;
     _updateScopeAction = updateScopeAction;
     _deleteScopeAction = deleteScopeAction;
 }
コード例 #2
0
 private void InitializeFakeObjects()
 {
     _scopeRepositoryStub = new Mock <IScopeRepository>();
     _getScopesAction     = new GetScopesAction(_scopeRepositoryStub.Object);
 }