Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 691 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 691 Bytes

ATypeScanner

An appeasing type scanner that can scan for implementations of interfaces and classes

ATypeScanner

Search for implementations of a class or interface

var matches = new TypeScanner(typeof(IMyInterface).Assembly)
    .FindImplementationsOf<IMyInterface>();

Search for closed implementations of a open class or interface

var matches = new TypeScanner(typeof(IMyInterface<>).Assembly)
    .FindClosingImplementationsOf(typeof(IMyInterface<>));

Search for open implementations of a open class or interface

var matches = new TypeScanner(typeof(IMyInterface<>).Assembly)
    .FindOpenImplementationsOf(typeof(IMyInterface<>));