Click or drag to resize

GSF.Configuration Namespace

Contains classes, base classes and attributes related to simplifying access to configuration files including creating a categorized settings section.
Classes
  Class Description
Public class AppSettingsBase Represents the base class for application settings that are synchronized with the "appSettings" section in a configuration file.
Public class CategorizedSettingsBase Represents the base class for application settings that are synchronized with a categorized section in a configuration file.
Public class CategorizedSettingsBaseTCategorizedSettings Represents the base class for application settings that are synchronized with a categorized section in a configuration file and will perform bi-directional synchronization of elements marked with TypeConvertedValueExpressionAttribute to an external source, e.g., user interface elements.
Public class CategorizedSettingsBaseTValueExpressionAttribute, TCategorizedSettings Represents the base class for application settings that are synchronized with a categorized section in a configuration file and will perform bi-directional synchronization of elements marked with TValueExpressionAttribute to an external source, e.g., user interface elements.
Public class CategorizedSettingsElement Represents a settings entry in the config file.
Public class CategorizedSettingsElementCollection Represents a collection of CategorizedSettingsElement objects.
Public class CategorizedSettingsSection Represents a section in the config file with one or more CategorizedSettingsElementCollection representing categories, each containing one or more CategorizedSettingsElement objects representing settings under a specific category.
Public class Code example ConfigurationFile Represents a configuration file of a Windows or Web application.
Public class ConnectionStringParser Parses connection strings based on a settings object whose properties are annotated with the SerializeSettingAttribute.
Protected class ConnectionStringParserConnectionStringProperty Stores reflected information from a PropertyInfo object used to parse connection strings.
Public class ConnectionStringParserTParameterAttribute Parses connection strings based on a settings object whose properties are annotated with TParameterAttribute.
Public class ConnectionStringParserTParameterAttribute, TNestedSettingsAttribute Parses connection strings based on a settings object whose properties are annotated with TParameterAttribute and TNestedSettingsAttribute.
Public class EncryptSettingAttribute Represents an attribute that determines if a property or field in a class derived from CategorizedSettingsBase or AppSettingsBase should be encrypted when it is serialized to the configuration file.
Public class IniSettingsBase Represents the base class for application settings that are synchronized to an INI file.
Public class RegistrySettingsBase Represents the base class for application settings that are synchronized to the registry.
Public class SerializeSettingAttribute Represents an attribute that determines if a property or field in a class derived from CategorizedSettingsBase or AppSettingsBase should be serialized to the configuration file.
Public class SettingNameAttribute Represents an attribute that defines the setting name of a property or field in a class derived from CategorizedSettingsBase or AppSettingsBase when serializing the value to the configuration file.
Public class SettingsBase Represents the base class for application settings that are synchronized with its configuration file.
Interfaces
  Interface Description
Public interface IPersistSettings Defines as interface that specifies that this object can persists settings to a config file.
Enumerations
  Enumeration Description
Public enumeration SettingScope Specifies the scope of a setting represented by CategorizedSettingsElement.