GetNodeType() public static method

Get the NodeType for a System.Type.
public static GetNodeType ( Type type ) : NodeType
type System.Type
return NodeType
コード例 #1
0
ファイル: Node.cs プロジェクト: layshua/Alexandria
 /// <summary>Find a property of the type. If not found, this throws an exception.</summary>
 /// <param name="type"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 protected static NodeTypeProperty GetProperty(Type type, string name)
 {
     return(NodeType.GetNodeType(type).GetProperty(name));
 }