C# Class Microsoft.R.Components.Application.Configuration.ConfigurationSettingsWriter

Storage of the R application settings. Settings are written into R file as assignment statements such as 'name <- value'. Value can be string or an expression. The difference is that string values are quoted when written into the file and expressions are written as is.
Inheritance: IConfigurationSettingsWriter
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
ConfigurationSettingsWriter ( StreamWriter writer ) : System
Dispose ( ) : void
SaveSettings ( IEnumerable settings ) : void

Persists settings into R file. Settings are written into R file as assignment statements such as 'settings$name <- value'. Value

Private Methods

Method Description
FormatValue ( IConfigurationSetting s ) : string
WriteAttributes ( IConfigurationSetting s ) : void
WriteHeader ( ) : void

Method Details

ConfigurationSettingsWriter() public method

public ConfigurationSettingsWriter ( StreamWriter writer ) : System
writer System.IO.StreamWriter
return System

Dispose() public method

public Dispose ( ) : void
return void

SaveSettings() public method

Persists settings into R file. Settings are written into R file as assignment statements such as 'settings$name <- value'. Value
public SaveSettings ( IEnumerable settings ) : void
settings IEnumerable
return void