Skip to content

A helper methods scan and return all assemblies in the current app domain according to name patterns.

License

Notifications You must be signed in to change notification settings

a7mdfre7at/Masterly.AssembliesScanner

Repository files navigation

Masterly.AssembliesScanner

A helper methods scan and returns all assemblies in the current app domain according to name patterns.

Nuget Nuget GitHub last commit GitHub Build CodeQL Analysis Publish to NuGet

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Usage

// Scan all assemblies that thier names starts with "Masterly." and ends with ".dll"
string[] assemblyPatterns = new string[] { "Masterly.*.dll" };
Assembly[] asslemblyArray = Assemblies.Get(assemblyPatterns);

// To execlud assemblies, add '!' (Exclamation mark) before name pattern as below

// Scan all assemblies that thier names starts with "Masterly." and ends with ".dll" excluding all assemblies that ends with ".UnitTests.dll" 
string[] assemblyPatterns = new string[] { "Masterly.*.dll", "!.UnitTests.dll$" };
Assembly[] asslemblyArray = Assemblies.Get(assemblyPatterns);

License

MIT

Free Software, Hell Yeah!

About

A helper methods scan and return all assemblies in the current app domain according to name patterns.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages