/// <summary> /// Creates an HttpReceive. /// </summary> /// <returns> /// An activity /// </returns> public static Activity Create() { return (HttpImports.AddImports( new HttpReceive { UriTemplate = "/{ID}", CanCreateInstance = true, Body = new ActivityFunc <HttpRequestMessage, IDictionary <string, string>, object> { Argument1 = new DelegateInArgument <HttpRequestMessage>("request"), Argument2 = new DelegateInArgument <IDictionary <string, string> >("args"), Result = new DelegateOutArgument <object>("response"), } })); }
/// <summary> /// The create. /// </summary> /// <returns> /// </returns> public static Activity Create() { return(HttpImports.AddImports(new HttpWorkflowService())); }