TeamCity.CSharpInteractive.HostApi/IProperties.cs (10 lines of code) (raw):

namespace HostApi; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; public interface IProperties : IEnumerable<KeyValuePair<string, string>> { [Pure] int Count { get; } string this[string key] { get; set; } bool TryGetValue(string key, [MaybeNullWhen(false)] out string value); }