assetsreceivedeventargs.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 35 行

CS
35
字号
using System;

namespace Org.InteliIM.Activities.FileSharing
{
	public class AssetsReceivedEventArgs : EventArgs
	{
		public AssetsReceivedEventArgs(string userId, AssetCollection assets)
		{
			this.UserId = userId;
			this.Assets = assets;
		}

		private string userId;

		public string UserId
		{
			get { return this.userId; }
			set { this.userId = value; }
		}

		private AssetCollection assets;

		public AssetCollection Assets
		{
			get
			{
				if (this.assets == null)
					this.assets = new AssetCollection();

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

⌨️ 快捷键说明

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