Skip to content

ProcessEnvironmentVariables Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

void ProcessEnvironmentVariables() ​

csharp
void ProcessEnvironmentVariables()

Reads configuration properties from environment variables.

Remarks ​

Each writable property is bound from the environment variable named by EnvironmentVariableAttribute when present; otherwise the property name in snake_case. Nested class-typed properties are walked recursively so that attributes and snake_case names on nested objects are honored. A null nested object is instantiated only when a descendant has a matching environment variable. Collection properties are not walked.