question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a MEF catalog using this loader

See original GitHub issue

Implement ComposablePartCatalog using the assembly load context loader.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
natemcmastercommented, Sep 5, 2018

This looks great! The PluginCatalog class is pretty much exactly what I was hoping to create.

I think a sample is a good place to begin. The code itself isn’t all that big, so I’m not sure it needs to be its own package yet.

It might be good to also create a minimal sample. For .NET devs unfamiliar with aspnetcore, the aspnet sample may be a bit heavy. The important piece is the PluginCatalog.

0reactions
natemcmastercommented, Jan 25, 2019

If you’re volunteering to write a sample and contribute, I’d be happy to review and accept it. Otherwise, this will stay closed because I’m not planning to take action on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Adding assemblies to catalog using MEF
I'm trying to AddParts to catalog which are referenced at design time without adding them explicitly in code and then add additional parts...
Read more >
Managed Extensibility Framework (MEF) - .NET Framework
MEF provides catalogs to discover parts from a provided type, an assembly, or a directory. Application developers can easily create new catalogs ......
Read more >
The Simplest Way to use MEF Fully Lazy DLL Loading
Catalogs.Add(directoryCatalog); //Create the CompositionContainer with the parts in the catalog CompositionContainer container = new ...
Read more >
Managed Extensibility Framework - Building Composable ...
To bootstrap MEF involves a few steps: Add imports of the contracts you need the container to create. Create a catalog that MEF...
Read more >
Addicted To MEF - Part 2
In this code we are declaring two part catalogs in an array. One is an “AttributedAssemblyPartCatalog” which will allow us to gather up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found