예제 #1
0
 public virtual void OnExecuted(ApiCallContext context, FilterArgs args)
 {
     if (_overridedExecuted == false && _overridedExecutedAsync)
     {
         OnExecutedAsync(context, args).Wait();
     }
 }
예제 #2
0
 public virtual Task OnExecutedAsync(ApiCallContext context, FilterArgs args)
 {
     if (_overridedExecuted && _overridedExecutedAsync == false)
     {
         OnExecuted(context, args);
     }
     return(null);
 }