Exemple #1
0
 public AddFromUri(AddNewModel parent)
 {
     this.Add    = new AddSelected(this, parent);
     this.Header = "Новая...";
 }
Exemple #2
0
 public AddBookmarksModel(ILogin login, string name, AddFromUri addFromUriModel, AddNewModel mainModel)
 {
     this.bookmarks = new ObservableCollection <SelectedItem <IManga> >();
     this.Header    = name;
     this.Add       = new AddSelected(addFromUriModel, mainModel);
     this.Login     = new LoginModel(login);
     if (login != null)
     {
         login.LoginStateChanged += LoginOnLoginStateChanged;
     }
 }