public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); Username = _tgs.GetString("Username"); EmailAddress = _tgs.GetString("EmailAddress"); FamilyName = _tgs.GetString("FamilyName"); GivenName = _tgs.GetString("GivenName"); IsVerified = _tgs.GetBoolean("IsVerified"); DisplayName = _tgs.GetString("DisplayName"); EulaAccepted = _tgs.GetBoolean("EulaAccepted"); }
/// <summary> /// /// </summary> /// <param name="_tg"></param> public override void LoadFromTGSerializedObject(TGSerializedObject _tg) { base.LoadFromTGSerializedObject(_tg); ShortQuestionText = _tg.GetString("ShortQuestionText"); LongQuestionText = _tg.GetString("LongQuestionText"); IsRequired = _tg.GetBoolean("IsRequired"); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); Description = _tgs.GetString("Description"); FormSubject = _tgs.GetString("FormSubject"); IsTemplate = _tgs.GetBoolean("IsTemplate"); Name = _tgs.GetString("Name"); SuperclassGuid = _tgs.GetNullableGuid("SuperclassGuid"); TemplateGuid = _tgs.GetNullableGuid("TemplateGuid"); Metadata = _tgs.GetMetadata("meta_"); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); IsRequired = _tgs.GetBoolean("IsRequired"); QuestionType = _tgs.GetString("QuestionType"); Text = _tgs.GetString("Text"); Description = _tgs.GetString("Description"); Format = _tgs.GetString("Format"); Answer = _tgs.GetString("Answer"); NextQuestion = _tgs.GetNullableGuid("NextQuestion"); PreviousQuestion = _tgs.GetNullableGuid("PreviousQuestion"); }