huffnodevisiteventargs.cs

来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 42 行

CS
42
字号
#region Using Directives

using System;

#endregion

namespace Org.InteliIM.Utilities.HuffCode
{
	/// <summary>
	/// Provides data for the HuffNodeVisit event.
	/// </summary>
	public class HuffNodeVisitEventArgs : EventArgs
	{
		/// <summary>
		/// Initializes a new instance of the HuffNodeVisitEventArgs class.
		/// </summary>
		public HuffNodeVisitEventArgs(HuffNode node)
		{
			this.Node = node;
		}

		private HuffNode node;

		/// <summary>
		/// Gets or sets the node.
		/// </summary>
		public HuffNode Node
		{
			get 
			{
				if (this.node == null)
					this.node = new HuffNode();

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

⌨️ 快捷键说明

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