?? message.cs
字號:
?namespace Imps.Client.Pc
{
using Imps.Client.Core;
using System;
public class Message
{
private string _content;
private string _date;
private string _from;
private string _fromUri;
private string _messageId;
private Contact _ownerContact;
private string _time;
private string _to;
public string Content
{
get
{
return this._content;
}
set
{
this._content = value;
}
}
public string Date
{
get
{
return this._date;
}
set
{
this._date = value;
}
}
public string From
{
get
{
return this._from;
}
set
{
this._from = value;
}
}
public string FromUri
{
get
{
return this._fromUri;
}
set
{
this._fromUri = value;
}
}
public string MessageId
{
get
{
return this._messageId;
}
set
{
this._messageId = value;
}
}
public DateTime MsgDateTime
{
get
{
try
{
DateTime time;
if (DateTime.TryParse(this._date + " " + this._time, out time))
{
return time;
}
}
catch (Exception)
{
}
return DateTime.Now;
}
}
public Contact OwnerContact
{
get
{
return this._ownerContact;
}
set
{
this._ownerContact = value;
}
}
public string Time
{
get
{
return this._time;
}
set
{
this._time = value;
}
}
public string To
{
get
{
return this._to;
}
set
{
this._to = value;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -