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