Table of Contents

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
Object
ScriptableObject
DeploymentEnvironmentSettings
Inherited Members
Extension Methods

Properties

CurrentDeploymentEnvironment

public string CurrentDeploymentEnvironment { get; private set; }

Property Value

string

DeploymentEnvironmentNameCollection

public List<string> DeploymentEnvironmentNameCollection { get; private set; }

Property Value

List<string>

Methods

SetDeploymentEnvironment(string)

public void SetDeploymentEnvironment(string environmentName)

Parameters

environmentName string