parentchildcollection.cs
来自「英语句子自然语言处理统计分析例子 Statistical parsing of」· CS 代码 · 共 30 行
CS
30 行
using System;
using System.Collections;
namespace Netron.Lithium
{
/// <summary>
/// STC of ParentChild collection
/// </summary>
public class ParentChildCollection : CollectionBase
{
/// <summary>
/// integer indexer
/// </summary>
public ParentChild this[int index]
{
get{return (ParentChild) this.InnerList[index] ;}
}
/// <summary>
/// Adds an item to the collection
/// </summary>
/// <param name="pc">a ParentChild object</param>
/// <returns></returns>
public int Add(ParentChild pc)
{
return this.InnerList.Add(pc);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?