Summary
Options for configuring a hosting environment
- Assembly
- Rocket
.Surgery .Extensions .Configuration .dll - Namespace
- Rocket
.Surgery .Extensions .Configuration - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ConfigOptions"]
class Type type-node
Syntax
public class ConfigOptions
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| ConfigOptions |
Default Constructor |
| ConfigOptions |
Default constructor with environment name |
Properties
| Name | Value | Summary |
|---|---|---|
| EnvironmentName | string |
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
ConfigOptions |
Add an application configuration
|
| Add |
ConfigOptions |
Add an environment configuration
|
| UseEnvironment |
ConfigOptions |
Set the expected environment name
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| UseIni |
ConfigOptions |
Configures the options to inject ini files into the correct locations in app settings
|
| UseJson |
ConfigOptions |
Configures the options to inject json files into the correct locations in app settings
|
| UseYaml |
ConfigOptions |
Configures the options to inject yaml files into the correct locations in app settings
|
| UseYml |
ConfigOptions |
Configures the options to inject yaml files into the correct locations in app settings
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
