/// <summary> /// Returns the *last* ActionCall in this /// BehaviorChain. May be null. /// </summary> /// <returns></returns> public ActionCall LastCall() { return Calls.LastOrDefault(); }
/// <summary> /// Finds the output model type of the *last* /// ActionCall in this BehaviorChain. May be null /// </summary> /// <returns></returns> public Type ActionOutputType() { var call = Calls.LastOrDefault(); return(call == null ? null : call.OutputType()); }