protected override IEnumerable <ActivityDescriptor> Describe() { yield return(ActivityDescriptor.ForAction <ReadLine>( Category, T["Read Line"], T["Read a line from the console."], T["Done"])); yield return(ActivityDescriptor.ForAction <WriteLine>( Category, T["Write Line"], T["Write a line to the console."], 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.ForAction <HttpRequestAction>( Category, T["HTTP Request"], T["Execute a HTTP request."], T["Done"])); }
protected override IEnumerable <ActivityDescriptor> Describe() { yield return(ActivityDescriptor.ForAction <ForEach>( ControlFlowCategory, T["For Each"], T["Iterate over a list of items."], T["Next"], T["Done"])); yield return(ActivityDescriptor.ForAction <IfElse>( ControlFlowCategory, T["If/Else"], T["Evaluate a boolean condition and continues execution based on the outcome."], T["True"], T["False"])); yield return(ActivityDescriptor.ForAction <SetVariable>( PrimitivesFlowCategory, T["Set Variable"], T["Set a custom variable on the workflow."], 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"])); }