/// <summary> /// /// </summary> /// <param name="gl"></param> public void Add(GroupLibrary gl) { if (gl == null) return; if (gl.Groups != null) { Add(gl.Groups); } gl.PropertyChanged += GroupLibraryObserver; Verbose("Add Group Library: " + gl.Name); }
/// <summary> /// /// </summary> /// <param name="gl"></param> public void Remove(GroupLibrary gl) { if (gl == null) return; if (gl.Groups != null) { Remove(gl.Groups); } gl.PropertyChanged -= GroupLibraryObserver; Verbose("Remove Group Library: " + gl.Name); }