public IEnumerator <ITask> JoinHandler(Join join) { join.ResponsePort.Post( JoinResponse.FromRequest(join.Body) ); yield break; }
/// <summary> /// FromRequest - Performs the Join function /// </summary> /// <param name="request"></param> /// <returns></returns> public static JoinResponse FromRequest(JoinRequest request) { JoinResponse response = new JoinResponse(); response._joined = string.Join(request.Separator, request.Strings); return(response); }