Closed mcdis closed 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);
static IFluentExportStrategyResgistration<TImpl> ExportAsKeyed<TImpl,T>(this IExportRegistrationBlock _this, object key);
Export<TImpl>().AsKeyed<T>(key);
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.
@mcdis, I pushed out a beta with this change
closing as released in 6.4.2
We are already have ExportAs extension. Add ExportAsKeyed extension:
static IFluentExportStrategyResgistration<TImpl> ExportAsKeyed<TImpl,T>(this IExportRegistrationBlock _this, object key);
shorten equalent ofExport<TImpl>().AsKeyed<T>(key);