Closed dazinator closed 4 years ago
Create a package that provides a GetEnvironment() extension method for TenantShellItemBuilderContext<TTenant> to ease configuration in various places
GetEnvironment()
TenantShellItemBuilderContext<TTenant>
Under the scenes it could do something like this (as the builder has access to the current IServiceProvider:
return context.Services.GetRequiredService<IWebHostingEnvironment>();
Dont need this
Create a package that provides a
GetEnvironment()
extension method forTenantShellItemBuilderContext<TTenant>
to ease configuration in various placesUnder the scenes it could do something like this (as the builder has access to the current IServiceProvider: