/// <summary> /// Handles the LibraryChanged event of the libraryManager control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ChildrenChangedEventArgs" /> instance containing the event data.</param> void libraryManager_LibraryChanged(object sender, ChildrenChangedEventArgs e) { _serverManager.SendWebSocketMessage("LibraryChanged", () => DtoBuilder.GetLibraryUpdateInfo(e)); }