Nini Library API Reference -

ConfigBase Members

ConfigBase overview

Public Instance Constructors

ConfigBase Constructor Constructor.

Public Instance Properties

Alias Gets the AliasText for this instance.
ConfigSourceReturns the parent IConfigSource.
Name Gets or sets the IConfig name. If set then it renames this config with the parent source.

Public Instance Methods

AddAdds a new IConfig.
Contains Returns true if the configuration key is present.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetOverloaded. Returns a string key value.
GetBooleanOverloaded. Returns a boolean key value.
GetDoubleOverloaded. Returns a double key value.
GetExpanded Returns the expanded string value. This method does not replace the other key values in the IConfigSource.
GetFloatOverloaded. Returns a float key value.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetIntOverloaded. Returns an integer key value.
GetKeysReturns an Array of the key strings.
GetLongOverloaded. Returns an long key value.
GetStringOverloaded. Returns a string key value.
GetType (inherited from Object)Gets the Type of the current instance.
GetValuesReturns an Array of all key values.
Remove Removes a configuration key.
Set Sets a key value.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

KeyRemoved Occurs when a key is removed.
KeySet Occurs when a key is set.

Protected Instance Fields


Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnKeyRemoved Raises the KeyRemoved event.
OnKeySet Raises the KeySet event.

See Also

ConfigBase Class | Nini.Config Namespace