using System;

namespace ZB.MOM.WW.MxGateway.Worker.Bootstrap;

/// <summary>
/// Worker environment that reads from system environment variables.
/// </summary>
public sealed class EnvironmentVariableWorkerEnvironment : IWorkerEnvironment
{
    /// <inheritdoc />
    public string? GetEnvironmentVariable(string name)
    {
        return Environment.GetEnvironmentVariable(name);
    }
}
