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; }
public RemovePersonCommand(MovieExplorerContext context) : base(context) { }
public AddOrUpdateUserTagCommand(MovieExplorerContext context) : base(context) { }
public AddOrUpdateMovieGroupCommand(MovieExplorerContext context) : base(context) { }
public EditMovieFileCommand(MovieExplorerContext context) { Context = context; }
protected RemoveEntityCommandBase(MovieExplorerContext context) { Context = context; CurrentSet = Context.Set <T>(); }
public RemoveGenreCommand(MovieExplorerContext context) : base(context) { }
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) { }
public AnalyzeMovieFilesCommand(MovieExplorerContext context) { Context = context; }
public RemoveMovieGroupCommand(MovieExplorerContext context) : base(context) { }
public AddOrUpdatePersonCommand(MovieExplorerContext context) : base(context) { }
protected AddOrUpdateNamedEntityCommandBase(MovieExplorerContext context) { Context = context; }