public FileExplorerViewModel(MovieExplorerContext movieExplorerContext, IDialogService dialogService, AddTargetLocationCommand addTargetLocationCommand)
 {
     this.dialogService            = dialogService;
     this.addTargetLocationCommand = addTargetLocationCommand;
     movieExplorerContext.TargetLocationEntities.Load();
     TargetLocations = movieExplorerContext.TargetLocationEntities.Local.ToObservableCollection();
 }
 /// <summary>
 /// Конструктор.
 /// </summary>
 /// <param name="context">Контекст.</param>
 public AddTargetLocationCommand(MovieExplorerContext context)
 {
     Context = context;
 }
Example #3
0
 public RemovePersonCommand(MovieExplorerContext context) : base(context)
 {
 }
 public AddOrUpdateUserTagCommand(MovieExplorerContext context)
     : base(context)
 {
 }
 public AddOrUpdateMovieGroupCommand(MovieExplorerContext context)
     : base(context)
 {
 }
Example #6
0
 public EditMovieFileCommand(MovieExplorerContext context)
 {
     Context = context;
 }
 protected RemoveEntityCommandBase(MovieExplorerContext context)
 {
     Context    = context;
     CurrentSet = Context.Set <T>();
 }
 public RemoveGenreCommand(MovieExplorerContext context)
     : base(context)
 {
 }
Example #9
0
 public MoviesViewModel(MovieExplorerContext movieExplorerContext)
 {
     movieExplorerContext.MovieEntities.Load();
     Movies = movieExplorerContext.MovieEntities.Local.ToObservableCollection();
 }
 public AddOrUpdateMovieCommand(MovieExplorerContext context)
 {
     Context = context;
 }
 public RemoveUserTagCommand(MovieExplorerContext context) : base(context)
 {
 }
 public AddOrUpdateGenreCommand(MovieExplorerContext context)
     : base(context)
 {
 }
Example #13
0
 public AnalyzeMovieFilesCommand(MovieExplorerContext context)
 {
     Context = context;
 }
Example #14
0
 public RemoveMovieGroupCommand(MovieExplorerContext context) : base(context)
 {
 }
Example #15
0
 public AddOrUpdatePersonCommand(MovieExplorerContext context)
     : base(context)
 {
 }
 protected AddOrUpdateNamedEntityCommandBase(MovieExplorerContext context)
 {
     Context = context;
 }