public static void Program()
{
IEnumerable<Type> types = AssemblyScanner.FromAssemblyInDirectory(new AssemblyFilter("bin"))
.IncludeNonPublicTypes()
.BasedOn<IAnimal>()
.InSameNamespaceOf(typeof(IAnimal))
.HasAttribute<VoiceAttribute>()
.OrBasedOn<Human>()
.Filter()
.Classes()
.NonStatic()
.MethodName("Run")
.MethodNameContains("n")
.MethodHasAttribute<VoiceAttribute>()
.Scan();
}
-
Notifications
You must be signed in to change notification settings - Fork 10
Fluent assembly and type scanner 🔍 for .Net
License
osoykan-archive/FluentAssemblyScanner
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Fluent assembly and type scanner 🔍 for .Net
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published