downloaddata.cs
来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 114 行
CS
114 行
namespace Org.InteliIM.Applications.Messenger.FileSharing
{
/// <summary>
/// Encapsulates a data for a download.
/// </summary>
public class DownloadData
{
private Asset asset;
/// <summary>
/// Gets or sets the asset.
/// </summary>
/// <value></value>
public Asset Asset
{
get
{
if (this.asset == null)
this.asset = new Asset();
return this.asset;
}
set
{
this.asset = value;
}
}
private int no = -1;
/// <summary>
/// Gets or sets the no..
/// </summary>
public int No
{
get
{
return this.no;
}
set
{
this.no = value;
}
}
private bool cancel = false;
/// <summary>
/// Gets or sets a value indicating whether cancel or not.
/// </summary>
public bool Cancel
{
get
{
return this.cancel;
}
set
{
this.cancel = value;
}
}
private bool begin = false;
/// <summary>
/// Gets or sets a value indicating whether this is a beginning or not.
/// </summary>
public bool Begin
{
get
{
return this.begin;
}
set
{
this.begin = value;
}
}
private bool end = false;
/// <summary>
/// Gets or sets a value indicating whether this is a end or not.
/// </summary>
public bool End
{
get
{
return this.end;
}
set
{
this.end = value;
}
}
private byte[] buffer;
/// <summary>
/// Gets or sets the buffer.
/// </summary>
public byte[] Buffer
{
get
{
return this.buffer;
}
set
{
this.buffer = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?