Load() public static méthode

public static Load ( string path ) : Server.Commands.CategoryLine[]
path string
Résultat Server.Commands.CategoryLine[]
Exemple #1
0
        private static CategoryEntry Load(List <Type> types, string config)
        {
            CategoryLine[] lines = CategoryLine.Load(config);

            if (lines.Length > 0)
            {
                int           index = 0;
                CategoryEntry root  = new CategoryEntry(null, lines, ref index);

                Fill(root, types);

                return(root);
            }

            return(new CategoryEntry());
        }