示例#1
0
 public void Execute()
 {
     mIndex++;
     if (mIndex == mFilters.Count)
     {
         Result = mHandler.Invoke(DataContext);
     }
     else
     {
         mFilters[mIndex].Execute(this);
     }
 }
示例#2
0
 public void Execute()
 {
     mIndex++;
     if (mIndex == mFilters.Count)
     {
         Result = mHandler.Invoke(this.Request, this.Response);
     }
     else
     {
         mFilters[mIndex].Execute(this);
     }
 }