Settings |
The SettingsProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| SettingsProvider | Initializes a new instance of the SettingsProvider class with the default profile provider Profile. | |
| SettingsProvider(IProfile) | Initializes a new instance of the SettingsProvider class with the supplied Profile Provider. This is useful for injecting a mock profile object during unit testing. |
| Name | Description | |
|---|---|---|
| ApplicationName |
Gets the name of the driver or application for which settings are being managed.
This value is set during provider initialization and cannot be changed thereafter.
(Overrides SettingsProviderApplicationName) | |
| Description |
Gets the provider's friendly description.
(Overrides ProviderBaseDescription) | |
| Name |
Returns the provider's friendly name used during configuration.
(Overrides ProviderBaseName) |
| Name | Description | |
|---|---|---|
| GetPropertyValues |
Retrieves a collection of settings values from the underlying ASCOM Profile store.
(Overrides SettingsProviderGetPropertyValues(SettingsContext, SettingsPropertyCollection)) | |
| Initialize |
Initializes the ASCOM Settings Provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection)) | |
| SetPropertyValues |
Persists a collection of settings values to the underlying ASCOM Profile store.
(Overrides SettingsProviderSetPropertyValues(SettingsContext, SettingsPropertyValueCollection)) |