Show / Hide Table of Contents

Interface IImportCommand

Provides properties and methods that allow an Addin to import information from an arbitrary data source.

Inherited Members
IStandAloneCommand.CanExecute()
IStandAloneCommand.Execute()
IStandAloneCommand.Result
IGenericCommand.Name
IGenericCommand.Category
IGenericCommand.SubCategory
IGenericCommand.Image
IGenericCommand.Weight
Namespace: Algenta.Colectica.ViewModel.Import
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IImportCommand : IStandAloneCommand, IGenericCommand

Properties

CanUseMultipleFiles

Gets a value indicating whether multiple files can be imported at once.

Declaration
bool CanUseMultipleFiles { get; set; }
Property Value
Type Description
System.Boolean

DefaultFileExtension

Gets the default file extension used in the OpenFileDialog, when UseDefaultFileSelection is true.

Declaration
string DefaultFileExtension { get; set; }
Property Value
Type Description
System.String

FileFilter

Gets the file filter used in the OpenFileDialog, when UseDefaultFileSelection is true.

Declaration
string FileFilter { get; set; }
Property Value
Type Description
System.String

FileNames

Gets a list of file names to be imported.

Declaration
ObservableCollection<string> FileNames { get; }
Property Value
Type Description
ObservableCollection<System.String>

ImportedData

Gets a FragmentInstance holding all the items that were imported.

Declaration
FragmentInstance ImportedData { get; set; }
Property Value
Type Description
FragmentInstance

Messages

Gets a list of messages containing information about the import.

Declaration
List<ResultMessage> Messages { get; }
Property Value
Type Description
List<ResultMessage>

ProgressMonitor

Gets a monitor that can be used to report on the progress of the import.

Declaration
ProgressMonitor ProgressMonitor { get; }
Property Value
Type Description
ProgressMonitor

Steps

Gets a list of steps that perform the import.

Declaration
List<ImportStep> Steps { get; }
Property Value
Type Description
List<ImportStep>

UseDefaultFileSelection

Gets a value indicating whether the import wizard should display the built-in file selection page.

Declaration
bool UseDefaultFileSelection { get; }
Property Value
Type Description
System.Boolean

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica