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
Hi @ipjohnson , I'm looking for some kind of replacement for Ninject's Rebind functionality. It allows to throw away all the previous Exports for a certain type without modifying Exports for the rest of the types.
I'm trying to load a series of IConfigurationModule-like classes (inside a single .Configure call) that add exports to a certain interface, so I can do a Locate<IEnumerable> to retrieve them all. But sometimes I would need that a module could erase all previous exports for IThatCertainInterface before adding its own exports.
Hi @darkcamper Currently it's not possible, that said if it's all within one configuration call I think it would be very possible. I think this would dove tail in with issue #44
I have one other thing I'm going to try and get working this weekend and then release 6.1.0. This issue and #44 would go into the next release. I probably won't get much time to address this till the following week as we have family in town for our baby shower this weekend.
Activity
ipjohnson commentedon May 12, 2017
Hi @darkcamper Currently it's not possible, that said if it's all within one configuration call I think it would be very possible. I think this would dove tail in with issue #44
I have one other thing I'm going to try and get working this weekend and then release 6.1.0. This issue and #44 would go into the next release. I probably won't get much time to address this till the following week as we have family in town for our baby shower this weekend.
darkcamper commentedon May 12, 2017
@ipjohnson Family comes first! I'll be looking forward to testing next release.
Have a nice weekend!
ipjohnson commentedon May 27, 2017
@darkcamper I'm looking to add these two methods to the registration block interface. Let me know what you think or if you want any changes
darkcamper commentedon May 27, 2017
@ipjohnson I like it. I think the filter delegate solution allows you to remove whatever you want without exposing too much from the internals.
adding ClearExports for issue #83