Skip to content

CodeWriter Invoke methode #58

Description

@Codelisk

Currently when we want to Invoke something in a method body we have to use AppendLine:

methodBuilder.WithBody((x) =>
{
    x.AppendLine($"await Test(argument1, argument2));
});

Idea would be to create an "InvocationBuilder" which we could use like this:

x.Invoke(useAwait, methodname, params, prefix, suffix);

When interested i would volunteer to create a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions