tool/TeamCity.Docker/NodesDescription.cs (17 lines of code) (raw):
namespace TeamCity.Docker
{
using System;
using IoC;
internal readonly struct NodesDescription
{
[NotNull] public readonly string Name;
[NotNull] public readonly string Platform;
[NotNull] public readonly string Description;
public NodesDescription([NotNull] string name, [NotNull] string platform, [NotNull] string description)
{
Name = name ?? throw new ArgumentNullException(nameof(name));
Platform = platform ?? throw new ArgumentNullException(nameof(platform));
Description = description ?? throw new ArgumentNullException(nameof(description));
}
}
}