8000 Ability to specify a name resolver for different naming conventions · Issue #81 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content
Ability to specify a name resolver for different naming conventions #81
Closed
@uberclops

Description

@uberclops

Hi everyone, I thought it would be a nice feature to be able to specify a name resolver to allow a different naming convention to be used from python.

Right now you need to access methods / properties using whatever casing you use from .NET (so pascal-case in most cases), but from python most seem to use lower-case / camel-case names.

I altered ClassManager.GetClassInfo calls to MethodInfo.Name and lower-cased them, and that seemed to work fine for a quick test, but I don't know enough about the internals of this project to know what other issues this could cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0