public static void RegisterWidgetLibrary(WidgetLibrary library) { NotifyChanging(); try { if (coreLib != null && library.Name == coreLib.Name) { libraries.Remove(coreLib); InternalUpdate(); coreLib = library; } libraries.Add(library); library.Load(); classes.AddRange(library.AllClasses); UpdateGladeTransform(); } catch (Exception ex) { Console.WriteLine(ex); throw; } finally { NotifyChanged(); } }
public static void RegisterWidgetLibrary(WidgetLibrary library) { NotifyChanging(); try { libraries.Add(library); library.Load(); classes.AddRange(library.AllClasses); UpdateGladeTransform(); } catch (Exception ex) { Console.WriteLine(ex); throw; } finally { NotifyChanged(); } }
public static void RegisterWidgetLibrary (WidgetLibrary library) { NotifyChanging (); try { if (coreLib != null && library.Name == coreLib.Name) { libraries.Remove (coreLib); InternalUpdate (); coreLib = library; } libraries.Add (library); library.Load (); classes.AddRange (library.AllClasses); UpdateGladeTransform (); } catch (Exception ex) { Console.WriteLine (ex); throw; } finally { NotifyChanged (); } }
public static void RegisterWidgetLibrary(WidgetLibrary library) { NotifyChanging (); try { libraries.Add (library); library.Load (); classes.AddRange (library.AllClasses); UpdateGladeTransform (); } catch (Exception ex) { Console.WriteLine (ex); throw; } finally { NotifyChanged (); } }