예제 #1
0
 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;
 }
예제 #3
0
 public RemovePersonCommand(MovieExplorerContext context) : base(context)
 {
 }
 public AddOrUpdateUserTagCommand(MovieExplorerContext context)
     : base(context)
 {
 }
 public AddOrUpdateMovieGroupCommand(MovieExplorerContext context)
     : base(context)
 {
 }
예제 #6
0
 public EditMovieFileCommand(MovieExplorerContext context)
 {
     Context = context;
 }
 protected RemoveEntityCommandBase(MovieExplorerContext context)
 {
     Context    = context;
     CurrentSet = Context.Set <T>();
 }
예제 #8
0
 public RemoveGenreCommand(MovieExplorerContext context)
     : base(context)
 {
 }
예제 #9
0
 public MoviesViewModel(MovieExplorerContext movieExplorerContext)
 {
     movieExplorerContext.MovieEntities.Load();
     Movies = movieExplorerContext.MovieEntities.Local.ToObservableCollection();
 }
 public AddOrUpdateMovieCommand(MovieExplorerContext context)
 {
     Context = context;
 }
예제 #11
0
 public RemoveUserTagCommand(MovieExplorerContext context) : base(context)
 {
 }
 public AddOrUpdateGenreCommand(MovieExplorerContext context)
     : base(context)
 {
 }
예제 #13
0
 public AnalyzeMovieFilesCommand(MovieExplorerContext context)
 {
     Context = context;
 }
예제 #14
0
 public RemoveMovieGroupCommand(MovieExplorerContext context) : base(context)
 {
 }
예제 #15
0
 public AddOrUpdatePersonCommand(MovieExplorerContext context)
     : base(context)
 {
 }
 protected AddOrUpdateNamedEntityCommandBase(MovieExplorerContext context)
 {
     Context = context;
 }