⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 assetsreceivedeventargs.cs

📁 这个版本(InteliIM Open Kernel Release 2)是目前最新的(首次公开)
💻 CS
字号:
using System;
using System.Collections.Generic;

namespace Org.InteliIM.Applications.Messenger.FileSharing
{
	/// <summary>
	/// Provides data for the AssetsReceived event.
	/// </summary>
	public class AssetsReceivedEventArgs : EventArgs
	{
		/// <summary>
		/// Initializes a new instance of the AssetsReceivedEventArgs class.
		/// </summary>
		public AssetsReceivedEventArgs(string userId, Collection<Asset> assets)
		{
			this.UserId = userId;
			this.Assets = assets;
		}

		private string userId;

		/// <summary>
		/// Gets or sets the user id.
		/// </summary>
		public string UserId
		{
			get 
			{
				if (this.userId == null)
					this.userId = "";

				return this.userId; 
			}
			set 
			{ 
				this.userId = value; 
			}
		}

		private Collection<Asset> assets;

		/// <summary>
		/// Gets or sets the assets.
		/// </summary>
		public Collection<Asset> Assets
		{
			get
			{
				if (this.assets == null)
					this.assets = new Collection<Asset>();

				return this.assets;
			}
			set { this.assets = value; }
		}
	}
}

⌨️ 快捷键说明

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