Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Labels
@Hug0Vincent

Description

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].

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

        AltStyle によって変換されたページ (->オリジナル) /