📄 messageassets.cs
字号:
using System.Text;
using System.Collections.Generic;
using Org.InteliIM.Communications;
namespace Org.InteliIM.Applications.Messenger.FileSharing
{
/// <summary>
/// The message for downloading assets.
/// </summary>
public sealed class MessageAssets: InstantMessage
{
/// <summary>
/// Initializes a new instance of the MessageAssets class.
/// </summary>
public MessageAssets()
{
}
private Collection<Asset> assets;
/// <summary>
/// Gets or sets the assets collection.
/// </summary>
/// <value></value>
public Collection<Asset> Assets
{
get
{
if (this.assets == null)
this.assets = new Collection<Asset>();
return this.assets;
}
set
{
this.assets = value;
}
}
/// <summary>
/// Overridden.
/// Creates and returns a string representation of the current object.
/// </summary>
/// <returns></returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("download assets " + this.From + "]");
return sb.ToString();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -