expandervisitor.cs
来自「英语句子自然语言处理统计分析例子 Statistical parsing of」· CS 代码 · 共 33 行
CS
33 行
using System;
namespace Netron.Lithium
{
/// <summary>
/// Expands each node on visit
/// </summary>
public class ExpanderVisitor : IVisitor
{
/// <summary>
/// Visits the shape
/// </summary>
/// <param name="sh"></param>
public void Visit(ShapeBase sh)
{
sh.Expand();
}
/// <summary>
/// Gets whether the visiting is done
/// </summary>
public bool IsDone
{
get
{
return false;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?