downloaddata.cs
来自「该源代码用 C# 写成」· CS 代码 · 共 108 行
CS
108 行
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 + =
减小字号Ctrl + -
显示快捷键?