Пример #1
0
        public void AddCharacter(CharacterRow character)
        {
            if (character == null)
            {
                throw new ArgumentNullException(nameof(character));
            }

            if (character.Id == null)
            {
                return;
            }

            this.characters[character.Id] = character;
        }
Пример #2
0
 public static bool IsNullOrNone(this CharacterRow self)
 => self == null || self == CharacterRow.None;