sharecontentmessage.cs

来自「破解的飞信源代码」· CS 代码 · 共 55 行

CS
55
字号
namespace Imps.Client.Core
{
    using System;

    public class ShareContentMessage : Message
    {
        private ShareContent _context;
        private bool _isDownloadComplete;
        private bool _isFailed;

        public ShareContentMessage(Dialog dialog, string content, string from, string fromUri, bool isReceive) : base(dialog, content, isReceive)
        {
            base.From = from;
            base.FromUri = fromUri;
        }

        public ShareContent Context
        {
            get
            {
                return this._context;
            }
            set
            {
                this._context = value;
            }
        }

        public bool IsDownloadComplete
        {
            get
            {
                return this._isDownloadComplete;
            }
            internal set
            {
                this._isDownloadComplete = value;
            }
        }

        public bool IsFailed
        {
            get
            {
                return this._isFailed;
            }
            internal set
            {
                this._isFailed = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?