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

Two methods AdapterId with the exact same name and list of parameters #284

Closed
adecler opened this issue Feb 2, 2021 · 0 comments · Fixed by #290
Closed

Two methods AdapterId with the exact same name and list of parameters #284

adecler opened this issue Feb 2, 2021 · 0 comments · Fixed by #290
Assignees
Labels
type:compliance Non-conforming to code guidelines

Comments

@adecler
Copy link
Member

adecler commented Feb 2, 2021

Broken rules:

The two methods below have the exact same name name and list of parameters so things like System.Type.GetMethod(string name, Type[] types) for example doesn't work.

public static object AdapterId(this IBHoMObject bHoMObject, Type adapterIdFragmentType)
public static T AdapterId<T>(this IBHoMObject bHoMObject, Type adapterIdFragmentType)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:compliance Non-conforming to code guidelines
Projects
None yet
2 participants