예제 #1
0
 public FilesPickerViewModel(IFileDialogConfiguration configuration)
 {
     addFiles           = new AddFilesCommand(configuration);
     addSingleFolder    = new AddSingleFolderCommand();
     addRecursiveFolder = new AddRecursiveFolderCommand();
     removeFiles        = new RemoveFilesCommand();
 }
예제 #2
0
 public FilesPickerViewModel(IFileDialogConfiguration configuration, ISelectedItemsProvider selectedItemsProvider)
 {
     addFiles           = new AddFilesCommand(configuration);
     addSingleFolder    = new AddSingleFolderCommand();
     addRecursiveFolder = new AddRecursiveFolderCommand();
     addUrl             = new AddUrlCommand();
     removeFiles        = new RemoveItemsCommand <string>(selectedItemsProvider);
 }
예제 #3
0
        public OpenFileCommand(IFileNameListener listener, IFileDialogConfiguration configuration)
        {
            Guard.NotNull("listener", listener);
            Guard.NotNull("configuration", configuration);

            this.listener      = listener;
            this.configuration = configuration;
        }
 public FilesPickerViewModel(IFileDialogConfiguration configuration, ISelectedItemsProvider selectedItemsProvider)
 {
     addFiles = new AddFilesCommand(configuration);
     addSingleFolder = new AddSingleFolderCommand();
     addRecursiveFolder = new AddRecursiveFolderCommand();
     addUrl = new AddUrlCommand();
     addBlob = new AddBlobCommand();
     removeFiles = new RemoveItemsCommand<string>(selectedItemsProvider);
 }
 public OpenFileViewModel(IFileDialogConfiguration configuration)
 {
     SelectFile = new OpenFileCommand(this, configuration);
 }
 public SaveFileViewModel(IFileDialogConfiguration configuration)
 {
     SelectFile = new SaveFileCommand(this, configuration);
 }
 public SaveFileCommand(IFileNameListener listener, IFileDialogConfiguration configuration)
 {
     this.listener = listener;
     this.configuration = configuration;
 }
 public SaveLocalFileViewModel(IFileDialogConfiguration configuration)
 {
     SelectFile = new SaveFileCommand(this, configuration);
 }
예제 #9
0
 public AddFilesCommand(IFileDialogConfiguration configuration)
 {
     this.configuration = configuration;
 }
예제 #10
0
        public AddFilesCommand(IFileDialogConfiguration configuration)
        {
            Guard.NotNull("configuration", configuration);

            this.configuration = configuration;
        }