Click or drag to resize

INIReader Class

Reader for data stored in the "Karamba.ini"-file. It is implemented as a Singleton
Inheritance Hierarchy
SystemObject
  Karamba.UtilitiesINIReader

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class INIReader

The INIReader type exposes the following members.

Properties
  NameDescription
Public propertyValues
read/write access to the key/value-pairs of the ini-reader
Top
Methods
  NameDescription
Public methodasBool(String)
return value associated to a key as a bool. Throws an exception if key could not be found.
Public methodasBool(String, Boolean)
return value associated to a key as a bool.
Public methodasColor(String)
return a color associated with a key
Public methodasColor(String, Color)
return a color associated with a key
Public methodasColorList(String)
return a list of colors associated with a key
Public methodasColorList(String, ListColor)
return a list of colors associated with a key
Public methodasDouble(String)
return value associated to a key as an double. Throws an exception if key could not be found.
Public methodasDouble(String, Double)
return value associated to a key as an double
Public methodasDoubleList
return values associated to a key as a list of doubles
Public methodasInt(String)
return value associated to a key as an int. Throws an exception if key could not be found.
Public methodasInt(String, Int32)
return value associated to a key as an int
Public methodasString(String)
return value associated to a key as a string. Throws an exception if key could not be found.
Public methodasString(String, String)
return value associated to a key as a string
Public methodStatic memberClearSingleton
remove the INIReader singleton so that it can be re-instantiated
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInstance
Get instance of the "ini"-reader singleton and load the "ini"-file from the standard GH-path where karamba resides.
Public methodStatic memberInstance(String)
Get instance of the "ini"-reader singleton and load the "ini"-file from the given path if not already done.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberdefault_limit_parallel
default limit value of the cosine of the angle between two lines to count as parallel
Public fieldwarning
if the file could not be opened the warning contains hints
Top
See Also