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.
Is it currently possible with Grace? Thanks!
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.
Is it currently possible with Grace? Thanks!