parentchild.cs

来自「英语句子自然语言处理统计分析例子 Statistical parsing of」· CS 代码 · 共 32 行

CS
32
字号
using System;

namespace Netron.Lithium
{
	/// <summary>
	/// Utility class to speed up the deserialization of connections
	/// </summary>
	public struct ParentChild
	{
		/// <summary>
		/// Default ctor
		/// </summary>
		/// <param name="child"></param>
		/// <param name="parent"></param>
		public ParentChild( ShapeBase child, string parent)
		{
			this.Parent = parent;
			this.ChildShape = child;
			//this.ParentShape = null;
			//this.ChildShape = null;
		}
		/// <summary>
		/// Gets or sets the parent in this relation
		/// </summary>
		public string Parent;		
		/// <summary>
		/// Gets or sets the child in this relation
		/// </summary>
		public ShapeBase ChildShape;
	}
}

⌨️ 快捷键说明

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