Click or drag to resize

SettingsAccess class

Access to the AppSettings managed via the .Net framework
Implements IGetStringValue.
Inheritance hierarchy
SystemObject
  NetEti.ApplicationEnvironmentSettingsAccess

Namespace: NetEti.ApplicationEnvironment
Assembly: NetEti.SettingsAccess (in NetEti.SettingsAccess.dll) Version: 1.0.0+74327f8a513c1d4c053691f6420f2266134edbbe
Syntax
public class SettingsAccess : IGetStringValue

The SettingsAccess Type exposes the following members.

Constructors
 NameDescription of the
Public MethodSettingsAccess Constructor - sets the internal reader
Back to the top
Properties
 NameDescription of the
Public PropertyDescription Returns a descriptive name of this StringValueGetter, e.g. name plus source path if applicable.
Public PropertySettings Contains all (application) settings read in from the xml file.
Back to the top
Methods
 NameDescription of the
Public MethodGetStringValue Returns exactly one value for a key. If there is no value for the key, defaultValue is returned.
Public MethodGetStringValues Returns a string array for a key. If there is no value for the key, defaultValue is returned. Returns only a single value packed as an array, may have to be be extended.
Back to the top
Remarks
File: SettingsAccess.cs
Author: Erik Nagel, NetEti

13/03/2012 Erik Nagel: created
See also