Class DeploymentEnvironmentSettings
- Namespace
- CodeBase
- Assembly
- 4Experience.CodeBase.Core.Runtime.dll
This class represents a ScriptableObject that stores settings for a deployment environment. It contains a list of customizable environment names and stores the current environment read-only. An example use case is to store the build deployment environment for use in the business logic of the application.
[CreateAssetMenu(menuName = "4Experience/CodeBase/DeploymentEnvironmentSettings")]
public class DeploymentEnvironmentSettings : SingletonScriptableObject<DeploymentEnvironmentSettings>
- Inheritance
-
ObjectScriptableObjectDeploymentEnvironmentSettings
- Inherited Members
- Extension Methods
Properties
CurrentDeploymentEnvironment
public string CurrentDeploymentEnvironment { get; private set; }
Property Value
DeploymentEnvironmentNameCollection
public List<string> DeploymentEnvironmentNameCollection { get; private set; }
Property Value
Methods
SetDeploymentEnvironment(string)
public void SetDeploymentEnvironment(string environmentName)
Parameters
environmentNamestring