/// <summary> /// /// </summary> /// <param name="_tg"></param> public override void LoadFromTGSerializedObject(TGSerializedObject _tg) { base.LoadFromTGSerializedObject(_tg); MinimumLength = _tg.GetInt32("MinimumLength"); MaximumLength = _tg.GetInt32("MaximumLength"); DefaultValue = _tg.GetString("DefaultValue"); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tg) { base.LoadFromTGSerializedObject(_tg); UserGuid = _tg.GetGuid("UserGuid"); DisplayName = _tg.GetString("DisplayName"); NewHydrantCount = _tg.GetInt32("NewHydrantCount"); NewHydrantPosition = _tg.GetInt32("NewHydrantPosition"); ApprovedTagCount = _tg.GetInt32("ApprovedTagCount"); ApprovedTagPosition = _tg.GetInt32("ApprovedTagPosition"); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); UserGuid = _tgs.GetGuid("UserGuid"); RejectedTagCount = _tgs.GetInt32("RejectedTagCount"); ApprovedTagCount = _tgs.GetInt32("ApprovedTagCount"); PendingTagCount = _tgs.GetInt32("PendingTagCount"); UserRanking = _tgs.GetInt32("UserRanking"); NewHydrantsTagged = _tgs.GetInt32("NewHydrantsTagged"); DisplayName = _tgs.GetString("DisplayName"); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tg) { base.LoadFromTGSerializedObject(_tg); Name = _tg.GetString("Name"); Identifier = _tg.GetString("Identifier"); SequenceNumber = _tg.GetInt32("SequenceNumber"); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); WebLogType = (LogMessageType)_tgs.GetInt32("WebLogType"); Message = _tgs.GetString("Message"); UserGuid = _tgs.GetGuid("UserGuid"); MessageDateTime = _tgs.GetDateTime("MessageDateTime"); SourceApplication = _tgs.GetString("SourceApplication"); MessageDateTime = new DateTime(_tgs.GetInt64("MessageTicks")); }
public override void LoadFromTGSerializedObject(TGSerializedObject _tg) { base.LoadFromTGSerializedObject(_tg); ActiveUsers = _tg.GetInt32("ActiveUsers"); string temp = _tg.GetString("Date"); if (temp != null) { DateTime tempDate; if (DateTime.TryParse(temp, out tempDate)) { Date = tempDate; } } }