Browser.GetPathIndexesAt C# (CSharp) Méthode

GetPathIndexesAt() private méthode

private GetPathIndexesAt ( string Parent ) : int[]
Parent string
Résultat int[]
    int[] GetPathIndexesAt(string Parent)
    {
        int[] Temp = new int[PathTree.Length];
        int n = 0; // Number of paths found at Parent.
        for(int i=0; i<PathTree.Length; ++i)
        {
            if(System.IO.Path.GetFullPath(PathTree[i].Parent) == System.IO.Path.GetFullPath(Parent))
            {
                Temp[n] = i;
                n++;
            }
        }
        int[] OUT = new int[n];
        for(int i=0; i<OUT.Length; ++i)
        {
            OUT[i] = Temp[i];
        }
        return OUT;
    }