protected virtual void load(TaggableQueue <object, IkadnBaseObject> data) { IkonComposite baseData = data.Dequeue(BaseSettingsTag).To <IkonComposite>(); this.LanguageId = baseData[LanguageKey].To <string>(); this.LastGame = LastGameInfo.Load(baseData[LastGameKey].To <IkonComposite>()); }
protected virtual void load(LabeledQueue <object, IkadnBaseObject> data) { if (data == null) { throw new ArgumentNullException(nameof(data)); } var baseData = data.Dequeue(BaseSettingsTag).To <IkonComposite>(); this.LanguageId = baseData[LanguageKey].To <string>(); this.LastGame = LastGameInfo.Load(baseData[LastGameKey].To <IkonComposite>()); }