コード例 #1
0
        internal GroupMessage(BuddyClient client, InternalModels.DataContract_GroupMessage msg, MessageGroup group)
        {
            this.DateSent = Convert.ToDateTime(msg.SentDateTime, CultureInfo.InvariantCulture); 
            this.Group = group;

            this.Latitude = client.TryParseDouble(msg.Latitude);
            this.Longitude = client.TryParseDouble(msg.Longitude);

            this.FromUserID = Int32.Parse(msg.FromUserID);
            this.Text = msg.MessageText;
        }
コード例 #2
0
ファイル: GroupMessage.cs プロジェクト: sdesmond46/POPpic
        internal GroupMessage(BuddyClient client, InternalModels.DataContract_GroupMessage msg, MessageGroup group)
        {
            this.DateSent = Convert.ToDateTime(msg.SentDateTime, CultureInfo.InvariantCulture);
            this.Group    = group;

            this.Latitude  = client.TryParseDouble(msg.Latitude);
            this.Longitude = client.TryParseDouble(msg.Longitude);

            this.FromUserID = Int32.Parse(msg.FromUserID);
            this.Text       = msg.MessageText;
        }