Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register webapi calls and generating blocks #124

Open
ignatandrei opened this issue Jun 29, 2020 · 1 comment
Open

register webapi calls and generating blocks #124

ignatandrei opened this issue Jun 29, 2020 · 1 comment
Assignees
Labels
C# code in C# enhancement New feature or request JavaScript

Comments

@ignatandrei
Copy link
Owner

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

@ignatandrei ignatandrei added enhancement New feature or request C# code in C# JavaScript labels Jun 29, 2020
ignatandrei added a commit that referenced this issue Jun 29, 2020
@ignatandrei ignatandrei self-assigned this Jun 29, 2020
ignatandrei added a commit that referenced this issue Jun 30, 2020
@ignatandrei
Copy link
Owner Author

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# code in C# enhancement New feature or request JavaScript
Projects
None yet
Development

No branches or pull requests

1 participant