using Model; using Model.Group; using System.Collections.ObjectModel; using System.Reflection.Metadata.Ecma335; using System.Xml.Linq; using ToolKit; namespace Wrapper { public class BookViewModel : BaseViewModel { ILibraryManager LibraryManager { get; set; } /* public ReadOnlyObservableCollection Books { get; set; } private ReadOnlyObservableCollection books { get => Books; set { if (value == null) { return; } setProperty(books, value); } }*/ public BookViewModel(ILibraryManager _libraryManager) { this.LibraryManager = _libraryManager; } public int Index { get { return index; } private set { setProperty(ref index, value); } } private int index; public int Count { get { return count; } private set { setProperty(ref count, value); } } private int count; public int NbBook { get { return nbBook; } private set { setProperty(ref nbBook, value); } } private int nbBook; } }