using System; using System.Collections.Generic; namespace JD.SonyTrophy.Service { public sealed class OldTrophy { public int Id { get; } public bool IsSecret { get; } public bool IsRequiredForPlatinium { get; } public TrophyGrade Grade { get; } public Text Text { get; } public IReadOnlyDictionary Translations { get; } public string ImagePath { get; } public OldTrophy(int id, bool isSecret, bool isRequiredForPlatinium, TrophyGrade grade, Text text, IReadOnlyDictionary translations, string imagePath) { Id = id; IsSecret = isSecret; IsRequiredForPlatinium = isRequiredForPlatinium; Grade = grade; Text = text ?? throw new ArgumentNullException(nameof(text)); Translations = translations ?? throw new ArgumentNullException(nameof(translations)); ImagePath = imagePath; } } }