CSharpUtils.VirtualFileSystem.NodeFileSystem.Node.Access C# (CSharp) Метод

Access() публичный Метод

public Access ( String Path, bool CreateNode = false ) : Node
Path String
CreateNode bool
Результат Node
			public Node Access(String Path, bool CreateNode = false)
			{
				int Index;
				// Has components
				if ((Index = Path.IndexOf('/')) >= 0)
				{
					if (Index == 0)
					{
						//Console.WriteLine("[1]");
					}
					if (Index == Path.Length - 1)
					{
						//Console.WriteLine("[2]");
					}
					return AccessChild(Path.Substring(0, Index), CreateNode).Access(Path.Substring(Index + 1), CreateNode);
				}
				// No more components
				else
				{
					return AccessChild(Path, CreateNode);
				}
			}
		}