C# Class Microsoft.VisualStudio.R.Package.ProjectProperties

Inheritance: StronglyTypedPropertyAccess, IRProjectProperties
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
GetCommandLineArgsAsync ( ) : Task

Gets command line arguments of the application.

GetFileFilterAsync ( ) : Task

Gets the filter string that selects files to be sent to remote host.

Default filter string is ".r;.rmd;". This selects all R script files, R markdown files.

GetProjectName ( ) : string

Gets the current project name.

GetRFilePaths ( ) : IEnumerable

Gets all the R script files in the current project.

GetRemoteProjectPathAsync ( ) : Task

Gets the destination path for a project on the remote host.

Default destination is ~/

GetResetReplOnRunAsync ( ) : Task

Defines if REPL is to be reset before starting the application.

GetSettingsFileAsync ( ) : Task

Sets R path to the settings file.

Settings file contains project settings as R code. The file is to be sourced before running the application. Null means no settings are defined. In order to read the actual settings, use ConfigurationSettingCollection

GetStartupFileAsync ( ) : Task

Defines which file contains the application entry point.

GetTransferProjectOnRunAsync ( ) : Task

Defines if project has to be transfered to remote host during run.

SetCommandLineArgsAsync ( string val ) : System.Threading.Tasks.Task

Sets command line arguments of the application.

SetFileFilterAsync ( string fileTransferFilter ) : System.Threading.Tasks.Task

Gets the filter string that selects files to be sent to remote host.

Default filter string is ".r;.rmd;". This selects all R script files, R markdown files.

SetRemoteProjectPathAsync ( string remoteProjectPath ) : System.Threading.Tasks.Task

Gets the destination path for a project on the remote host.

Default destination is ~/RTVSProjects/.

SetResetReplOnRunAsync ( bool val ) : System.Threading.Tasks.Task

Defines if REPL is to be reset before starting the application.

SetSettingsFileAsync ( string rFilePath ) : System.Threading.Tasks.Task

Gets R path to the settings file.

Settings file contains project settings as R code. The file is to be sourced before running the application. Null means no settings are defined. In order to read the actual settings, use ConfigurationSettingCollection

SetStartupFileAsync ( string val ) : System.Threading.Tasks.Task

Defines which file contains the application entry point.

SetTransferProjectOnRunAsync ( bool val ) : System.Threading.Tasks.Task

Defines if project has to be transfered to remote host during run.

Private Methods

Méthode Description
ParseBooleanProperty ( string propertyText, bool defaultVal ) : bool
ProjectProperties ( ConfiguredProject configuredProject ) : System.ComponentModel.Composition

Method Details

GetCommandLineArgsAsync() public méthode

Gets command line arguments of the application.
public GetCommandLineArgsAsync ( ) : Task
Résultat Task

GetFileFilterAsync() public méthode

Gets the filter string that selects files to be sent to remote host.
Default filter string is ".r;.rmd;". This selects all R script files, R markdown files.
public GetFileFilterAsync ( ) : Task
Résultat Task

GetProjectName() public méthode

Gets the current project name.
public GetProjectName ( ) : string
Résultat string

GetRFilePaths() public méthode

Gets all the R script files in the current project.
public GetRFilePaths ( ) : IEnumerable
Résultat IEnumerable

GetRemoteProjectPathAsync() public méthode

Gets the destination path for a project on the remote host.
Default destination is ~/
public GetRemoteProjectPathAsync ( ) : Task
Résultat Task

GetResetReplOnRunAsync() public méthode

Defines if REPL is to be reset before starting the application.
public GetResetReplOnRunAsync ( ) : Task
Résultat Task

GetSettingsFileAsync() public méthode

Sets R path to the settings file.
Settings file contains project settings as R code. The file is to be sourced before running the application. Null means no settings are defined. In order to read the actual settings, use ConfigurationSettingCollection
public GetSettingsFileAsync ( ) : Task
Résultat Task

GetStartupFileAsync() public méthode

Defines which file contains the application entry point.
public GetStartupFileAsync ( ) : Task
Résultat Task

GetTransferProjectOnRunAsync() public méthode

Defines if project has to be transfered to remote host during run.
public GetTransferProjectOnRunAsync ( ) : Task
Résultat Task

SetCommandLineArgsAsync() public méthode

Sets command line arguments of the application.
public SetCommandLineArgsAsync ( string val ) : System.Threading.Tasks.Task
val string
Résultat System.Threading.Tasks.Task

SetFileFilterAsync() public méthode

Gets the filter string that selects files to be sent to remote host.
Default filter string is ".r;.rmd;". This selects all R script files, R markdown files.
public SetFileFilterAsync ( string fileTransferFilter ) : System.Threading.Tasks.Task
fileTransferFilter string
Résultat System.Threading.Tasks.Task

SetRemoteProjectPathAsync() public méthode

Gets the destination path for a project on the remote host.
Default destination is ~/RTVSProjects/.
public SetRemoteProjectPathAsync ( string remoteProjectPath ) : System.Threading.Tasks.Task
remoteProjectPath string
Résultat System.Threading.Tasks.Task

SetResetReplOnRunAsync() public méthode

Defines if REPL is to be reset before starting the application.
public SetResetReplOnRunAsync ( bool val ) : System.Threading.Tasks.Task
val bool
Résultat System.Threading.Tasks.Task

SetSettingsFileAsync() public méthode

Gets R path to the settings file.
Settings file contains project settings as R code. The file is to be sourced before running the application. Null means no settings are defined. In order to read the actual settings, use ConfigurationSettingCollection
public SetSettingsFileAsync ( string rFilePath ) : System.Threading.Tasks.Task
rFilePath string
Résultat System.Threading.Tasks.Task

SetStartupFileAsync() public méthode

Defines which file contains the application entry point.
public SetStartupFileAsync ( string val ) : System.Threading.Tasks.Task
val string
Résultat System.Threading.Tasks.Task

SetTransferProjectOnRunAsync() public méthode

Defines if project has to be transfered to remote host during run.
public SetTransferProjectOnRunAsync ( bool val ) : System.Threading.Tasks.Task
val bool
Résultat System.Threading.Tasks.Task