Summary
RocketEnvironment.
Implements the
IRocketEnvironment
- Assembly
- Rocket
.Surgery .Conventions .Abstractions .dll - Namespace
- Rocket
.Surgery .Conventions - Interfaces
- Base Types
-
- Object
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 |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
RocketEnvironment |
Initializes a new instance of the RocketEnvironment class.
|
RocketEnvironment |
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.
|
Content |
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
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|