public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("Date", Date.ToString("yyyy-MM-dd")); tgs.Add("ActiveUsers", ActiveUsers); return(tgs); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject bcn = base.GetTGSerializedObject(); bcn.Add("HydrantGuid", HydrantGuid); bcn.Add("ImageGuid", ImageGuid); return(bcn); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("CannedEmailGuid", CannedEmailGuid); tgs.Add("SentDateTime", SentDateTime); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("Value", Value); tgs.Add("Code", Code); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tso = base.GetTGSerializedObject(); tso.Add("Code", Code); tso.Add("CreationDateTime", CreationDateTime); return(tso); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject obj = base.GetTGSerializedObject(); obj.Add("UserSource", UserSource); obj.Add("UserType", UserType); return(obj); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("Name", Name); tgs.Add("Description", Description); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("ValidationText", ValidationText); tgs.Add("EmailAddress", EmailAddress); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tg = base.GetTGSerializedObject(); tg.Add("Name", Name); tg.Add("Identifier", Identifier); tg.Add("SequenceNumber", SequenceNumber); return(tg); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("RelatedObjectGuid", RelatedObjectGuid); tgs.Add("RelationshipType", RelationshipType); tgs.AddMetadata("meta_", Metadata); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("UserGuid", UserGuid); tgs.Add("HashedPassword", HashedPassword); tgs.Add("Salt", Salt); return(tgs); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tg = base.GetTGSerializedObject(); tg.Add("ShortQuestionText", ShortQuestionText); tg.Add("LongQuestionText", LongQuestionText); tg.Add("IsRequired", IsRequired); return(tg); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("UserGuid", UserGuid); tgs.Add("EulaGuid", EulaGuid); tgs.Add("AgreementDateTime", AgreementDateTime); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tg = base.GetTGSerializedObject(); tg.Add("MinimumValue", MinimumValue); tg.Add("MaximumValue", MaximumValue); tg.Add("DefaultValue", DefaultValue); return(tg); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("AuthorizationToken", AuthorizationToken); tgs.Add("AuthorizationDateTime", AuthorizationDateTime); tgs.Add("ExpirationDateTime", ExpirationDateTime); tgs.Add("DeviceType", DeviceType); return(tgs); }
public TGSerializedObject GetTGSerializedObject() { TGSerializedObject tg = new TGSerializedObject { TGObjectType = TGObjectType }; tg.Add("X", X); tg.Add("Y", Y); return(tg); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tg = base.GetTGSerializedObject(); tg.Add("Value", Value); return(tg); }
public TGSerializedObject GetTGSerializedObject() { TGSerializedObject obj = new TGSerializedObject { TGObjectType = ReflectionHelper.GetTypeName(GetType()) }; obj.Add("TopLeft", TopLeft); obj.Add("TopRight", TopRight); obj.Add("BottomRight", BottomRight); obj.Add("BottomLeft", BottomLeft); CalculatePoints(); return(obj); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject obj = base.GetTGSerializedObject(); obj.Add("UserGuid", UserGuid); obj.Add("DeviceDateTime", DeviceDateTime); obj.Add("TagPosition", Position); obj.Add("TagType", TagType); obj.Add("ImageGuid", ImageGuid); obj.Add("ExternalIdentifier", ExternalIdentifier); obj.Add("ExternalSource", ExternalSource); obj.Add("Properties", Properties.ToString()); obj.Add("HydrantGuid", HydrantGuid); obj.Add("Status", Status); return(obj); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tso = base.GetTGSerializedObject(); tso.Add("Usernames", Usernames); return(tso); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("Text", Text); return(tgs); }
public TGSerializedObject GetTGSerializedObject() { TGSerializedObject tg = new TGSerializedObject { TGObjectType = TGObjectType }; tg.Add("GeoPoints", GetOpenGISText()); return(tg); }
public void UTCDateTimeTest() { TGSerializedObject tg = new TGSerializedObject(); DateTime now = DateTime.UtcNow; tg.Add("UtcDateValue", now); DateTime retrievedValue = tg.GetDateTime("UtcDateValue"); Assert.AreEqual(now, retrievedValue); }
public static void AddMetadata(this TGSerializedObject _tgs, string _name, NameValueCollection _metadata) { if (_metadata != null) { foreach (string key in _metadata.AllKeys) { string value = _metadata.Get(key); _tgs.Add(_name + key, value); } } }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("IsRequired", IsRequired); tgs.Add("QuestionType", QuestionType); tgs.Add("Text", Text); tgs.Add("Description", Description); tgs.Add("Format", Format); tgs.Add("Answer", Answer); tgs.Add("NextQuestion", NextQuestion); tgs.Add("PreviousQuestion", PreviousQuestion); return(tgs); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject obj = base.GetTGSerializedObject(); obj.Add("Position", Position); obj.Add("PrimaryImageGuid", PrimaryImageGuid); obj.Add("OriginalTagUserGuid", OriginalTagUserGuid); obj.Add("OriginalTagDateTime", OriginalTagDateTime); obj.Add("CreationDateTime", CreationDateTime); obj.Add("OriginalReviewerUserGuid", OriginalReviewerUserGuid); obj.Add("LastReviewerUserGuid", LastReviewerUserGuid); obj.Add("Properties", Properties.ToString()); return(obj); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject obj = base.GetTGSerializedObject(); obj.Add("Username", Username); obj.Add("EmailAddress", EmailAddress); obj.Add("FamilyName", FamilyName); obj.Add("GivenName", GivenName); obj.Add("IsVerified", IsVerified); obj.Add("DisplayName", DisplayName); obj.Add("EulaAccepted", EulaAccepted); return(obj); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("UserGuid", UserGuid); tgs.Add("RejectedTagCount", RejectedTagCount); tgs.Add("ApprovedTagCount", ApprovedTagCount); tgs.Add("PendingTagCount", PendingTagCount); tgs.Add("UserRanking", UserRanking); tgs.Add("NewHydrantsTagged", NewHydrantsTagged); tgs.Add("DisplayName", DisplayName); return(tgs); }
/// <summary> /// /// </summary> /// <returns></returns> public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject tgs = base.GetTGSerializedObject(); tgs.Add("WebLogType", (Int32)WebLogType); tgs.Add("Message", Message); tgs.Add("UserGuid", UserGuid); tgs.Add("MessageDateTime", MessageDateTime); tgs.Add("SourceApplication", SourceApplication); tgs.Add("MessageTicks", MessageDateTime.Ticks); return(tgs); }
public override TGSerializedObject GetTGSerializedObject() { TGSerializedObject obj = base.GetTGSerializedObject(); obj.Add("Address1", Address1); obj.Add("Address2", Address2); obj.Add("City", City); obj.Add("State", State); obj.Add("PostalCode", PostalCode); obj.Add("Country", Country); return(obj); }