GetInstance() 공개 정적인 메소드

Gets the instance.
public static GetInstance ( ) : GuiMapParser
리턴 GuiMapParser
예제 #1
0
        public T GetControl <T>(string guiMapPath, string logicalName) where T : WebControl
        {
            Logger.Debug(string.Format("Inside GetControl<T> Method", typeof(T).ToString()));
            Dictionary <string, Guimap> guiCollection = guiCollection = GetObjectCollection(guiMapPath);

            return(GetElementFromObjectLocator <T>(GuiMapParser.GetInstance().GetElementValue(guiCollection, logicalName)));
        }
예제 #2
0
 private static void AddNewGuiMap(string filename, string filepath)
 {
     LogCheckForCollection(filename);
     lock (globalPageCollection)
     {
         GlobalPageCollection.Add(filename, GuiMapParser.GetInstance().LoadGuiMap(filepath));
         Logger.Debug(string.Concat("Successfully Created ", filename, " Object Collection!"));
     }
 }