Skip to content

Un-opinionated .NET Standard plugin loader

License

Notifications You must be signed in to change notification settings

markcastle/Gatherer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatherer

Build status Nuget
Gatherer is a lightweight plugin loading framework for .NET Standard. Unopinionated and unbiased, this framework simply loads the types in the folders you declare. It is up to you to inject these loaded types into the IoC of your choice.

Installation

Package Manager Install-Package Gatherer -Version 1.1.1

dotnet CLI dotnet add package Gatherer --version 1.1.1

Example Usage

See the included Gatherer.Playground projects or insert this code snippet into your project

var gatherer = new Gatherer();
var harvested = gatherer.LoadAll();

Gatherer also offers a number of fluent methods for customizing the way Gatherer loads plugins.

Change Log

Version 1.1.1

  • Remove opinionated ReflectionTypeLoadException handling when loading types. Now defaults to logging the LoaderExceptions but can be overridden by calling SetTypeLoadExceptionHandler(Action).
  • Move const strings to resource file for localization.
  • Removed cruft.

Version 1.1

  • Catch ReflectionTypeLoadExceptions when loading assemblies. No more manually handling.

Version 1.0

  • Initial release ¯_(ツ)_/¯

Contributions

Contributions are always welcome! For minor changes simply submit a pull request. For major changes or breaking changes please submit an issue first so we can discuss the proposed changes.

License

This software is licensed under MIT.

About

Un-opinionated .NET Standard plugin loader

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%