Skip to content

Add Parameter type in csharp model pack editor for sourceModel. #4054

Description

@Hug0Vincent

Is your feature request related to a problem? Please describe.
The CodeQL model editor for csharp does not allow to add a Parameter for a sourceModel:

Image

Describe the solution you'd like
It would be nice to add the Parameter option to generate things like this:

extensions:
  - addsTo:
      pack: codeql/csharp-all
      extensible: sourceModel
    data:
      - ["Abp.Web.Models", "AjaxResponseBase", False, "set_TargetUrl", "(System.String)", "", "Parameter[0]", "remote", "manual"]

Describe alternatives you've considered
For now I need to open the generated model pack and replace manually Argument[0] by Parameter[0].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions