Click or drag to resize
Galactic API

ConfigurationItem Class

Manages files containing strings used as an alternative to placing configuration information in an application's web.config or application.config files. This approaches allows for easier management of these items as they don't require a restart of the application to manipulate and save the configuration information. The strings can be (optionally) encrypted.
Inheritance Hierarchy
SystemObject
  Galactic.ConfigurationConfigurationItem

Namespace:  Galactic.Configuration
Assembly:  Galactic.Configuration (in Galactic.Configuration.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public class ConfigurationItem

The ConfigurationItem type exposes the following members.

Constructors
  NameDescription
Public methodConfigurationItem
Loads a configuration item with the specified name from its file located in a folder at the supplied path.
Top
Properties
  NameDescription
Public propertyEncrypted
Whether the configuration item should be encrypted.
Public propertyFilePath
The full path to the file containing the configuration item.
Public propertyFolderPath
The path to the folder containing the configuration item.
Public propertyName
The name of the configuration item.
Public propertyValue
The value of the configuration item.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Creates a new configuration file that can then be loaded normally. Note: This will NOT overwrite an existing file.
Public methodDelete
Deletes the configuration item.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGet
Retrieves the value of a configuration item from its file.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSecureGet
Retrieves an AES 256 encrypted value from the configuration file.
Protected methodSecureWrite
Writes an AES 256 encrypted value to its configuration file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWrite
Writes a configuration item's value to a file.
Top
See Also