protected override IEnumerable <ActivityDescriptor> Describe() { yield return(ActivityDescriptor.ForTrigger <HttpRequestTrigger>( Category, T["HTTP Request Trigger"], T["Triggers when an incoming HTTP request is received."], T["Done"])); yield return(ActivityDescriptor.ForAction <HttpRequestAction>( Category, T["HTTP Request"], T["Execute a HTTP request."], T["Done"])); }
protected override IEnumerable <ActivityDescriptor> Describe() { yield return(ActivityDescriptor.ForTrigger <HttpRequestTrigger>( Category, T["HTTP Request Trigger"], T["Triggers when an incoming HTTP request is received."], T["Done"])); yield return(ActivityDescriptor.For <HttpRequestAction>( Category, T["HTTP Request"], T["Execute a HTTP request."], false, true, a => a.SupportedStatusCodes.Select(x => T[x.ToString()]))); yield return(ActivityDescriptor.ForAction <HttpResponseAction>( Category, T["HTTP Response"], T["Write a HTTP response."], T["Done"])); }