public Dockerfile()

in tool/TeamCity.Docker/Model/Dockerfile.cs [24:52]


        public Dockerfile(
            [NotNull] string path,
            [NotNull] string imageId,
            [NotNull] string platform,
            [NotNull] string description,
            [NotNull] IReadOnlyCollection<string> tags,
            [NotNull] IReadOnlyCollection<string> components,
            [NotNull] IReadOnlyCollection<string> repositories,
            [NotNull] IReadOnlyCollection<string> comments,
            [NotNull] IReadOnlyCollection<Reference> references,
            Weight weight,
            [NotNull] IReadOnlyCollection<Line> lines,
            [NotNull] IReadOnlyCollection<string> ignore,
            [NotNull] IReadOnlyCollection<Requirement> requirements)
        {
            Path = path ?? throw new ArgumentNullException(nameof(path));
            ImageId = imageId ?? throw new ArgumentNullException(nameof(imageId));
            Platform = platform ?? throw new ArgumentNullException(nameof(platform));
            Description = description ?? throw new ArgumentNullException(nameof(description));
            Tags = tags ?? throw new ArgumentNullException(nameof(tags));
            Components = components ?? throw new ArgumentNullException(nameof(components));
            Repositories = repositories ?? throw new ArgumentNullException(nameof(repositories));
            Comments = comments ?? throw new ArgumentNullException(nameof(comments));
            References = references ?? throw new ArgumentNullException(nameof(references));
            Weight = weight;
            Lines = lines ?? throw new ArgumentNullException(nameof(lines));
            Ignores = ignore ?? throw new ArgumentNullException(nameof(ignore));
            Requirements = requirements ?? throw new ArgumentNullException(nameof(requirements));
        }