Ejemplo n.º 1
0
 /// <summary>
 /// Gets the instance.
 /// </summary>
 /// <returns></returns>
 public static GuiMapParser GetInstance()
 {
     if (guiMapParser == null)
     {
         Logger.Debug("Creating new instance of GuiMapParser");
         guiMapParser = new GuiMapParser();
         return(guiMapParser);
     }
     return(guiMapParser);
 }
Ejemplo n.º 2
0
 private static void AddNewGuiMap(string filename, string filepath)
 {
     LogCheckForCollection(filename);
     GlobalPageCollection.Add(filename, GuiMapParser.GetInstance().LoadGuiMap(filepath));
     Logger.Debug(string.Concat("Successfully Created ", filename, " Object Collection!"));
 }