You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly sure this is partially answered in #29400 by @nblumhardt
The 4 files in Microsoft.Composition.Demos.ExtendedPartTypes give you the ability.
It would be nice if these were bundled up and either included in one of the existing System.Composition.* packages or a new System.Composition.??? package.
Regardless, with the extensions available you can do
ContainerConfiguration containerConfig = new ContainerConfiguration()
.WithAssembly(Assembly.GetExecutingAssembly())
.WithExport<IMyObject>(obj);
Activity
CZEMacLeod commentedon Mar 30, 2020
I'm fairly sure this is partially answered in #29400 by @nblumhardt
The 4 files in Microsoft.Composition.Demos.ExtendedPartTypes give you the ability.
It would be nice if these were bundled up and either included in one of the existing
System.Composition.*packages or a newSystem.Composition.???package.Regardless, with the extensions available you can do
or even
or maybe
tarekgh commentedon Apr 14, 2022
Closing as dups of #29400 (comment)