tool/TeamCity.Docker/IEnvironment.cs (13 lines of code) (raw):

// ReSharper disable InconsistentNaming namespace TeamCity.Docker { using System.Collections.Generic; using System.Runtime.InteropServices; using IoC; internal interface IEnvironment { IReadOnlyDictionary<string, string> Variables { get; } bool IsOSPlatform(OSPlatform platform); bool HasEnvironmentVariable([NotNull] string name); } }