public ActionCallFilterExpression ToBehavior <T>() where T : IActionBehavior
 {
     return(output(action =>
     {
         var node = OutputNode.For <T>();
         action.AddToEnd(node);
     }, "Adding output nodes from per-call function"));
 }
예제 #2
0
 public void SetUp()
 {
     _behaviorType = typeof(BasicBehavior);
     _node         = OutputNode.For <BasicBehavior>();
 }