コード例 #1
0
 public void DoNotCallBase()
 {
     _threadContext.SetNextRoute(_callRouter, x => _routeFactory.DoNotCallBase(x, _matchArgs));
     _call(_substitute);
 }
コード例 #2
0
 /// <summary>
 /// Do not call the base implementation on future calls. For use with partial substitutes.
 /// </summary>
 public void DoNotCallBase()
 {
     _callRouter.SetRoute(x => _routeFactory.DoNotCallBase(x, _matchArgs));
     _call(_substitute);
 }