ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

Add ExportAsKeyed extension #193

Closed mcdis closed 5 years ago

mcdis commented 5 years ago

We are already have ExportAs extension. Add ExportAsKeyed extension: static IFluentExportStrategyResgistration<TImpl> ExportAsKeyed<TImpl,T>(this IExportRegistrationBlock _this, object key); shorten equalent of Export<TImpl>().AsKeyed<T>(key);

ipjohnson commented 5 years ago

Hi @mcdis

I think I can add that, I’ll try and find some time in the coming week to add it and do a beta.

ipjohnson commented 5 years ago

@mcdis, I pushed out a beta with this change

ipjohnson commented 5 years ago

closing as released in 6.4.2