📄 downloaddata.cs
字号:
namespace Org.InteliIM.Activities.FileSharing
{
/// <summary>
/// 下载数据
/// </summary>
public class DownloadData
{
private Asset asset;
public Asset Asset
{
get
{
return this.asset;
}
set
{
this.asset = value;
}
}
private int no;
/// <summary>
/// 顺序号
/// </summary>
public int No
{
get
{
return this.no;
}
set
{
this.no = value;
}
}
private bool cancel = false;
/// <summary>
/// 是否取消
/// </summary>
public bool Cancel
{
get
{
return this.cancel;
}
set
{
this.cancel = value;
}
}
private bool begin;
/// <summary>
/// 是否为文件开头
/// </summary>
public bool Begin
{
get
{
return this.begin;
}
set
{
this.begin = value;
}
}
private bool end;
/// <summary>
/// 是否为文件结尾
/// </summary>
public bool End
{
get
{
return this.end;
}
set
{
this.end = value;
}
}
private byte[] buffer;
/// <summary>
/// 包含File Transfer信息的缓冲数据
/// </summary>
public byte[] Buffer
{
get
{
return this.buffer;
}
set
{
this.buffer = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -