diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-01-20 16:27:38 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-01-20 16:27:38 +0100 |
| commit | bf810209745cc2f90bb5f60164efaa1b6259a31f (patch) | |
| tree | a934dea13ceb29f563d55a7f26f017cbcee0b675 /src/IML/Node.cs | |
| parent | 3491fb025162f176d10216e2f960cbad42b3bba2 (diff) | |
code clean and comments
Diffstat (limited to 'src/IML/Node.cs')
| -rw-r--r-- | src/IML/Node.cs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/IML/Node.cs b/src/IML/Node.cs index 4ba61c03..29f204f5 100644 --- a/src/IML/Node.cs +++ b/src/IML/Node.cs @@ -30,16 +30,18 @@ namespace Crow.IML /// </summary> public struct Node { - /// <summary> Current node type</summary> - public Type CrowType; - /// <summary> Index in parent, -1 for template</summary> - public int Index; - + #region CTOR public Node (Type crowType, int _index = 0) { CrowType = crowType; Index = _index; } + #endregion + + /// <summary> Current node type</summary> + public Type CrowType; + /// <summary> Index in parent, -1 for template</summary> + public int Index; public MethodInfo GetAddMethod(int childIdx){ if (typeof (Group).IsAssignableFrom (CrowType)) |