xpdlmodel.cs
来自「xpdl的c#解析器 完全依照xpdl标准」· CS 代码 · 共 24 行
CS
24 行
using System;
using Nucleus.Common.Util;
using com.use.wfp.xpdl.elements;
namespace com.use.wfp.xpdl
{
/// <summary>
/// XpdlModel 的摘要说明。
/// </summary>
public class XpdlModel
{
private XpdlModel(){
}
public static Package GetPackage(String fileName)
{
return new Package( NodeFactory.CreateNode(fileName) );
}
public static Package GetPackageFromText(String xpdlText) {
return new Package( NodeFactory.CreateNodeFromText(xpdlText) );
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?