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

Add TypeFinder class to find subtypes that implement the contract #14

Closed
MrDave1999 opened this issue Nov 25, 2023 · 0 comments · Fixed by #18
Closed

Add TypeFinder class to find subtypes that implement the contract #14

MrDave1999 opened this issue Nov 25, 2023 · 0 comments · Fixed by #18
Labels
breaking change A change in one part of a software that potentially causes other components to fail feature New feature or request

Comments

@MrDave1999
Copy link
Owner

MrDave1999 commented Nov 25, 2023

This class allows to search for the subtypes that implement the contract from a plug-in.
It contains only one method:

public static class TypeFinder
{
   static IEnumerable<TSupertype> FindSubtypesOf<TSupertype>();
}

This method will search for classes that implement the contract specified by TSupertype (a generic parameter) and returns the instances that implement the contract.

@MrDave1999 MrDave1999 added feature New feature or request not implemented Not implemented for some reason and removed feature New feature or request labels Nov 25, 2023
@MrDave1999 MrDave1999 added feature New feature or request and removed not implemented Not implemented for some reason labels Nov 26, 2023
@MrDave1999 MrDave1999 reopened this Nov 26, 2023
@MrDave1999 MrDave1999 changed the title Add ITypeFinder interface to find types that implement the contract Add TypeFinder class to find subtypes that implement the contract Nov 27, 2023
@MrDave1999 MrDave1999 added the breaking change A change in one part of a software that potentially causes other components to fail label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A change in one part of a software that potentially causes other components to fail feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant