コード例 #1
0
ファイル: ChatService.asmx.cs プロジェクト: radtek/eSoda
        public void SetMessage(string message, string from, string to, string fromGuid, string toGuid)
        {
            List <MessageCls> m   = (List <MessageCls>)HttpContext.Current.Cache["MSG"];
            MessageCls        msg = new MessageCls(from, to, message, DateTime.Now.ToString(), fromGuid, toGuid);

            m.Add(msg);
        }