|
| 1 | +using System; |
| 2 | +using System.Collections.Generic; |
| 3 | +using System.Collections.ObjectModel; |
| 4 | +using System.Linq; |
| 5 | +using System.Text; |
| 6 | +using System.Threading.Tasks; |
| 7 | + |
| 8 | +namespace MauiProject |
| 9 | +{ |
| 10 | + public class BookViewModel |
| 11 | + { |
| 12 | + public ObservableCollection<string> Books { get; set; } |
| 13 | + |
| 14 | + public ObservableCollection<BookInfo> BookDetails { get; set; } |
| 15 | + |
| 16 | + public BookViewModel() { |
| 17 | + |
| 18 | + BookDetails = new ObservableCollection<BookInfo>() |
| 19 | + { |
| 20 | + new BookInfo { BookName = "Object-Oriented Programming in C#", BookDescription = "Object-oriented programming uses objects to design programs" }, |
| 21 | + new BookInfo { BookName = "C# Code Contracts", BookDescription = "Code Contracts provide a way to convey code assumptions" }, |
| 22 | + new BookInfo { BookName = "Machine Learning Using C#", BookDescription = "Learn several different approaches to applying machine learning" }, |
| 23 | + new BookInfo { BookName = "Neural Networks Using C#", BookDescription = "Neural networks are an exciting field of software development" }, |
| 24 | + new BookInfo { BookName = "Visual Studio Code", BookDescription = "It is a powerful tool for editing code and serves for end-to-end programming" }, |
| 25 | + new BookInfo { BookName = "Android Programming", BookDescription = "It provides a useful overview of the Android application life cycle" }, |
| 26 | + new BookInfo { BookName = "iOS Succinctly", BookDescription = "It is for developers looking to step into frightening world of iPhone" }, |
| 27 | + new BookInfo { BookName = "Visual Studio 2015", BookDescription = "The new version of the widely-used integrated development environment" }, |
| 28 | + }; |
| 29 | + |
| 30 | + Books = new ObservableCollection<string> |
| 31 | + { |
| 32 | + ".NET MAUI Guidelines", |
| 33 | + "Introduction to .NET MAUI", |
| 34 | + "Learn .NET MAUI", |
| 35 | + ".NET MAUI First look", |
| 36 | + "What is .NET MAUI", |
| 37 | + "Learn .NET Community Toolkit", |
| 38 | + "A Journey to .NET MAUI", |
| 39 | + ".NET MAUI community stand up", |
| 40 | + ".NET MAUI samples demo", |
| 41 | + ".NET MAUI community samples", |
| 42 | + "Sample browser", |
| 43 | + "com.syncfusion.samplebrowser.maui.Signed", |
| 44 | + "com.android.chrome", |
| 45 | + "com.android.vending", |
| 46 | + "com.android.mediacenter", |
| 47 | + "Syncfusion Gallery", |
| 48 | + "Syncfusion Orientation Program" |
| 49 | + }; |
| 50 | + } |
| 51 | + } |
| 52 | +} |
0 commit comments