コード例 #1
0
 public TestApplication Reset()
 {
     _antiForgeryRequestTokens = null;
     User = _originalUser;
     ReplacableServiceProvider.Reset();
     return(this);
 }
コード例 #2
0
 public TestApplication Reset()
 {
     // reset all monifications in test cases
     User = _originalUser;
     ReplacableServiceProvider.Reset();
     return(this);
 }