Prizm.Main.Forms.ExternalFile.ExternalFilesViewModel.ExternalFilesViewModel C# (CSharp) Method

ExternalFilesViewModel() private method

private ExternalFilesViewModel ( IExternalFilesRepositories repos, IUserNotify notify ) : Prizm.Data.DAL
repos IExternalFilesRepositories
notify IUserNotify
return Prizm.Data.DAL
        public ExternalFilesViewModel(IExternalFilesRepositories repos, IUserNotify notify)
        {
            this.repos = repos;
            this.notify = notify;
           
            addExternalFileCommand =
              ViewModelSource.Create(() => new AddExternalFileCommand(repos.FileRepo, this, notify));
            downloadFileCommand =
              ViewModelSource.Create(() => new DownloadFileCommand(repos.FileRepo, this, notify));
            viewFileCommand =
              ViewModelSource.Create(() => new ViewFileCommand(repos.FileRepo, this, notify));
            sizeLimit = repos.ProjectRepo.GetSingle().DocumentSizeLimit;
        }