RocketEnvironment Class

Summary

RocketEnvironment. Implements the IRocketEnvironment
graph BT Type-->Base0["Object"] Type-.->Interface0["IRocketEnvironment"] click Interface0 "/api/Rocket.Surgery.Conventions/IRocketEnvironment" Type["RocketEnvironment"] class Type type-node

Syntax

public class RocketEnvironment : IRocketEnvironment

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
RocketEnvironment(IHostingEnvironment) Initializes a new instance of the RocketEnvironment class.
RocketEnvironment(string, string, string, IFileProvider) Initializes a new instance of the RocketEnvironment class.

Properties

Name Value Summary
ApplicationName string
Gets or sets the name of the application. This property is automatically set by the host to the assembly containing the application entry point.
ContentRootFileProvider IFileProvider
Gets or sets an Microsoft.Extensions.FileProviders.IFileProvider pointing at Microsoft.Extensions.Hosting.IHostingEnvironment.ContentRootPath.
ContentRootPath string
Gets or sets the absolute path to the directory that contains the application content files.
EnvironmentName string
Gets or sets the name of the environment. The host automatically sets this property to the value of the of the "environment" key as specified in configuration.

Extension Methods

See Also