environment property

HostEnvironment environment

Implementation

HostEnvironment get environment =>
    services.getRequiredService<HostEnvironment>();