NETCoreBlockly icon indicating copy to clipboard operation
NETCoreBlockly copied to clipboard

register webapi calls and generating blocks

Open ignatandrei opened this issue 5 years ago • 1 comments

Add C# middleware to intercept call Register webapi calls and generate blocks

ignatandrei avatar Jun 29 '20 04:06 ignatandrei

Work in progress - var block = new StringBuilder($""); if (ai.HasParams) foreach (var param in ai.Params) { if (!rv.ContainsKey(param.Key)) continue; //make the same for other blocks - this works with Get from example 7 block.Append($"" ); block.Append(""); block.Append($"{rv[param.Key]}"); block.Append(""); block.Append($""); } block.Append(""); Console.WriteLine(block);

ignatandrei avatar Jun 30 '20 19:06 ignatandrei