using System; using System.Collections.Generic; namespace JD.SonyTrophy.Service { public sealed class OldTrophySet { public Platform Platform { get; } public string NPCommId { get; } public string Version { get; } public Text Text { get; } public IReadOnlyDictionary Translations { get; } public string ImagePath { get; } public OldTrophy[] Trophies { get; } public OldTrophySet(Platform platform, string nPCommId, string version, Text text, IReadOnlyDictionary translations, string imagePath, OldTrophy[] trophies) { Platform = platform; NPCommId = nPCommId ?? throw new ArgumentNullException(nameof(nPCommId)); Version = version ?? throw new ArgumentNullException(nameof(version)); Text = text ?? throw new ArgumentNullException(nameof(text)); Translations = translations ?? throw new ArgumentNullException(nameof(translations)); ImagePath = imagePath; Trophies = trophies ?? throw new ArgumentNullException(nameof(trophies)); } } }