C# Класс Microsoft.VisualStudio.R.Package.ProjectProperties

Наследование: StronglyTypedPropertyAccess, IRProjectProperties
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ParseBooleanProperty ( string propertyText, bool defaultVal ) : bool
ProjectProperties ( ConfiguredProject configuredProject ) : System.ComponentModel.Composition

Описание методов

GetCommandLineArgsAsync() публичный Метод

Gets command line arguments of the application.
public GetCommandLineArgsAsync ( ) : Task
Результат Task

GetFileFilterAsync() публичный Метод

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
Результат Task

GetProjectName() публичный Метод

Gets the current project name.
public GetProjectName ( ) : string
Результат string

GetRFilePaths() публичный Метод

Gets all the R script files in the current project.
public GetRFilePaths ( ) : IEnumerable
Результат IEnumerable

GetRemoteProjectPathAsync() публичный Метод

Gets the destination path for a project on the remote host.
Default destination is ~/
public GetRemoteProjectPathAsync ( ) : Task
Результат Task

GetResetReplOnRunAsync() публичный Метод

Defines if REPL is to be reset before starting the application.
public GetResetReplOnRunAsync ( ) : Task
Результат Task

GetSettingsFileAsync() публичный Метод

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
Результат Task

GetStartupFileAsync() публичный Метод

Defines which file contains the application entry point.
public GetStartupFileAsync ( ) : Task
Результат Task

GetTransferProjectOnRunAsync() публичный Метод

Defines if project has to be transfered to remote host during run.
public GetTransferProjectOnRunAsync ( ) : Task
Результат Task

SetCommandLineArgsAsync() публичный Метод

Sets command line arguments of the application.
public SetCommandLineArgsAsync ( string val ) : System.Threading.Tasks.Task
val string
Результат System.Threading.Tasks.Task

SetFileFilterAsync() публичный Метод

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
Результат System.Threading.Tasks.Task

SetRemoteProjectPathAsync() публичный Метод

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
Результат System.Threading.Tasks.Task

SetResetReplOnRunAsync() публичный Метод

Defines if REPL is to be reset before starting the application.
public SetResetReplOnRunAsync ( bool val ) : System.Threading.Tasks.Task
val bool
Результат System.Threading.Tasks.Task

SetSettingsFileAsync() публичный Метод

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
Результат System.Threading.Tasks.Task

SetStartupFileAsync() публичный Метод

Defines which file contains the application entry point.
public SetStartupFileAsync ( string val ) : System.Threading.Tasks.Task
val string
Результат System.Threading.Tasks.Task

SetTransferProjectOnRunAsync() публичный Метод

Defines if project has to be transfered to remote host during run.
public SetTransferProjectOnRunAsync ( bool val ) : System.Threading.Tasks.Task
val bool
Результат System.Threading.Tasks.Task