コード例 #1
0
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            HydrantGuid = _tgs.GetGuid("HydrantGuid");
            ImageGuid   = _tgs.GetGuid("ImageGuid");
        }
コード例 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="_tgs"></param>
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            UserGuid          = _tgs.GetGuid("UserGuid");
            EulaGuid          = _tgs.GetGuid("EulaGuid");
            AgreementDateTime = _tgs.GetDateTime("AgreementDateTime");
        }
コード例 #3
0
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            CannedEmailGuid = _tgs.GetGuid("CannedEmailGuid");
            SentDateTime    = _tgs.GetDateTime("SentDateTime");
        }
コード例 #4
0
ファイル: Relationship.cs プロジェクト: OpenFormGraph/Server
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            RelatedObjectGuid = _tgs.GetGuid("RelatedObjectGuid");
            RelationshipType  = _tgs.GetString("RelationshipType");
            Metadata          = _tgs.GetMetadata("meta_");
        }
コード例 #5
0
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            UserGuid       = _tgs.GetGuid("UserGuid");
            HashedPassword = _tgs.GetString("HashedPassword");
            Salt           = _tgs.GetString("Salt");
        }
コード例 #6
0
        public override void LoadFromTGSerializedObject(TGSerializedObject _tg)
        {
            base.LoadFromTGSerializedObject(_tg);

            MockObjectGuid = _tg.GetGuid("MockObjectGuid");
            Name           = _tg.GetString("Name");
            Description    = _tg.GetString("Description");
        }
コード例 #7
0
        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"));
        }
コード例 #8
0
        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");
        }
コード例 #9
0
ファイル: UserStats.cs プロジェクト: hydrantwiki/hwMobileAPI
        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");
        }
コード例 #10
0
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            OriginalTagUserGuid      = _tgs.GetGuid("OriginalTagUserGuid");
            OriginalTagDateTime      = _tgs.GetDateTime("OriginalTagDateTime");
            Position                 = _tgs.GetGeoPoint("Position");
            CreationDateTime         = _tgs.GetDateTime("CreationDateTime");
            PrimaryImageGuid         = _tgs.GetNullableGuid("PrimaryImageGuid");
            OriginalReviewerUserGuid = _tgs.GetNullableGuid("OriginalReviewerUserGuid");
            LastReviewerUserGuid     = _tgs.GetNullableGuid("LastReviewerUserGuid");

            string temp = _tgs.GetString("Properties");

            if (temp != null)
            {
                Properties = TGSerializedObject.GetTGSerializable <Properties>(temp);
            }
        }
コード例 #11
0
ファイル: Tag.cs プロジェクト: hydrantwiki/hwMobileAPI
        public override void LoadFromTGSerializedObject(TGSerializedObject _tgs)
        {
            base.LoadFromTGSerializedObject(_tgs);

            UserGuid           = _tgs.GetGuid("UserGuid");
            DeviceDateTime     = _tgs.GetDateTime("DeviceDateTime");
            Position           = _tgs.GetGeoPoint("TagPosition");
            TagType            = _tgs.GetString("TagType");
            ImageGuid          = _tgs.GetNullableGuid("ImageGuid");
            ExternalIdentifier = _tgs.GetString("ExternalIdentifier");
            ExternalSource     = _tgs.GetString("ExternalSource");
            HydrantGuid        = _tgs.GetNullableGuid("HydrantGuid");

            string temp = _tgs.GetString("Properties");

            if (temp != null)
            {
                Properties = TGSerializedObject.GetTGSerializable <Properties>(temp);
            }

            Status = _tgs.GetString("Status");
        }