C# Class Microsoft.VisualStudio.R.Package.ProjectSystem.PropertyPages.Settings.SettingsPageViewModel

Mostra file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
AddSetting ( string name, string value, ConfigurationSettingValueType valueType ) : void
CreateNewSettingsFile ( ) : void
RemoveSetting ( IConfigurationSetting s ) : void
SaveAsync ( ) : Task
SaveSelectedSettingsFileNameAsync ( ) : System.Threading.Tasks.Task
SetProjectPathAsync ( string projectPath, IRProjectProperties properties ) : System.Threading.Tasks.Task
SettingsPageViewModel ( IConfigurationSettingCollection settings, ICoreShell coreShell, IFileSystem fileSystem ) : System

Private Methods

Method Description
EnumerateSettingFiles ( string directory ) : void
GetFullPath ( string rPath ) : string

Method Details

AddSetting() public method

public AddSetting ( string name, string value, ConfigurationSettingValueType valueType ) : void
name string
value string
valueType ConfigurationSettingValueType
return void

CreateNewSettingsFile() public method

public CreateNewSettingsFile ( ) : void
return void

RemoveSetting() public method

public RemoveSetting ( IConfigurationSetting s ) : void
s IConfigurationSetting
return void

SaveAsync() public method

public SaveAsync ( ) : Task
return Task

SaveSelectedSettingsFileNameAsync() public method

public SaveSelectedSettingsFileNameAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SetProjectPathAsync() public method

public SetProjectPathAsync ( string projectPath, IRProjectProperties properties ) : System.Threading.Tasks.Task
projectPath string
properties IRProjectProperties
return System.Threading.Tasks.Task

SettingsPageViewModel() public method

public SettingsPageViewModel ( IConfigurationSettingCollection settings, ICoreShell coreShell, IFileSystem fileSystem ) : System
settings IConfigurationSettingCollection
coreShell ICoreShell
fileSystem IFileSystem
return System