C# Class Microsoft.VisualStudio.R.Package.DataInspect.DataImport.ImportDataWindow

Interaction logic for ImportDataWindow.xaml
Inheritance: PlatformDialogWindow
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
ImportDataWindow ( ) : System
ImportDataWindow ( string filePath, string name ) : System

Private Methods

Method Description
BuildCommandLine ( bool preview ) : string
CancelButton_Click ( object sender, RoutedEventArgs e ) : void
CancelButton_PreviewKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
ComboBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
ConvertToUtf8 ( string file, int codePage, bool reportProgress, int nRows = Int32.MaxValue ) : System.Threading.Tasks.Task
ConvertToUtf8Worker ( string file, int codePage, bool reportProgress, int nRows = Int32.MaxValue ) : System.Threading.Tasks.Task
DeleteTempFile ( ) : void
DoDefaultAction ( ) : System.Threading.Tasks.Task
Execute ( string expression ) : bool
FileOpenButton_Click ( object sender, RoutedEventArgs e ) : void
GetSelectedNullableIntValueAsString ( ComboBox comboBox ) : string
GetSelectedString ( ComboBox comboBox ) : string
GetSelectedValue ( ComboBox comboBox ) : string
GetSelectedValueAsInt ( ComboBox comboBox ) : int
HeaderCheckBox_Changed ( object sender, RoutedEventArgs e ) : void
OnError ( string errorText ) : void
PopulateDataFramePreview ( IGridData gridData ) : void
PopulateEncodingList ( ) : void
PreviewContentAsync ( ) : System.Threading.Tasks.Task
PreviewFileContent ( string file, int codePage ) : void
ReadFilePreview ( string filePath, Encoding enc ) : string
ReportProgress ( double value ) : System.Threading.Tasks.Task
RunButton_Click ( object sender, RoutedEventArgs e ) : void
RunButton_PreviewKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
SetFilePath ( string filePath, string name = null ) : void
StartReportProgress ( string message ) : System.Threading.Tasks.Task

Method Details

ImportDataWindow() public method

public ImportDataWindow ( ) : System
return System

ImportDataWindow() public method

public ImportDataWindow ( string filePath, string name ) : System
filePath string
name string
return System