CachedIniFile Class |
Namespace: Arsenal.ImageMounter.IO
The CachedIniFile type exposes the following members.
Name | Description | |
---|---|---|
CachedIniFile |
Creates a new empty CachedIniFile object
| |
CachedIniFile(Stream) |
Creates a new CachedIniFile object and fills it with the contents of the specified
INI file
| |
CachedIniFile(String) |
Creates a new CachedIniFile object and fills it with the contents of the specified
INI file
| |
CachedIniFile(Stream, Encoding) |
Creates a new CachedIniFile object and fills it with the contents of the specified
INI file
| |
CachedIniFile(String, Encoding) |
Creates a new CachedIniFile object and fills it with the contents of the specified
INI file
|
Name | Description | |
---|---|---|
Count | (Inherited from NullSafeDictionaryTKey, TValue.) | |
Encoding |
Text encoding of last INI file loaded into this object.
| |
Filename |
Name of last INI file loaded into this object.
| |
IsReadOnly | (Inherited from NullSafeDictionaryTKey, TValue.) | |
Item |
Gets or sets the item for a key in dictionary. If no item exists for key, the default
value for this SafeDictionary is returned
(Inherited from NullSafeDictionaryTKey, TValue.) | |
Keys | (Inherited from NullSafeDictionaryTKey, TValue.) | |
SyncRoot | (Inherited from NullSafeDictionaryTKey, TValue.) | |
Values | (Inherited from NullSafeDictionaryTKey, TValue.) |
Name | Description | |
---|---|---|
Add | (Inherited from NullSafeDictionaryTKey, TValue.) | |
Clear | (Inherited from NullSafeDictionaryTKey, TValue.) | |
ContainsKey | (Inherited from NullSafeDictionaryTKey, TValue.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush |
Flushes registry mapping for all INI files.
is thrown.
| |
GetDefaultValue | (Overrides NullSafeDictionaryTKey, TValueGetDefaultValue(TKey).) | |
GetEnumerator | (Inherited from NullSafeDictionaryTKey, TValue.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load(Stream) |
Loads settings from an INI file into this CachedIniFile object using Default text
encoding. Existing settings in object is replaced.
| |
Load(TextReader) |
Loads settings from an INI file into this CachedIniFile object. Existing settings
in object is replaced.
| |
Load(String) |
Loads settings from an INI file into this CachedIniFile object. Existing settings
in object is replaced.
| |
Load(Stream, Encoding) |
Loads settings from an INI file into this CachedIniFile object. Existing settings
in object is replaced.
| |
Load(String, Encoding) |
Loads settings from an INI file into this CachedIniFile object. Existing settings
in object is replaced.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reload |
Reloads settings from disk file. This is only supported if this object was created using
a constructor that takes a filename or if a Load() method that takes a filename has been
called earlier.
| |
Remove | (Inherited from NullSafeDictionaryTKey, TValue.) | |
Save |
Saves current contents of this object to INI file that this object last loaded values from, either through constructor
call with filename parameter or by calling Load method with filename parameter.
| |
Save(String) |
Saves current contents of this object to an INI file. If the file already exists, it is overwritten.
| |
Save(String, Encoding) |
Saves current contents of this object to an INI file. If the file already exists, it is overwritten.
| |
SaveValue(String, String) |
Saves a current value from this object to INI file that this object last loaded values from, either through constructor
call with filename parameter or by calling Load method with filename parameter.
Operation is carried out by calling Win32 API function WritePrivateProfileString.
If call fails and exception is thrown.
| |
SaveValue(String, String, String) |
Saves a current value from this object to an INI file by calling Win32 API function WritePrivateProfileString.
If call fails and exception is thrown.
| |
SaveValue(String, String, String, String) |
Saves a value to an INI file by calling Win32 API function WritePrivateProfileString. If call fails and exception
is thrown.
| |
ToString | (Overrides ObjectToString.) | |
TryGetValue | (Inherited from NullSafeDictionaryTKey, TValue.) | |
WriteSectionTo | ||
WriteTo(Stream) | ||
WriteTo(TextWriter) |
Name | Description | |
---|---|---|
ICollectionKeyValuePairTKey, TValueAdd | (Inherited from NullSafeDictionaryTKey, TValue.) | |
ICollectionKeyValuePairTKey, TValueContains | (Inherited from NullSafeDictionaryTKey, TValue.) | |
ICollectionKeyValuePairTKey, TValueCopyTo | (Inherited from NullSafeDictionaryTKey, TValue.) | |
IEnumerableKeyValuePairTKey, TValueGetEnumerator | (Inherited from NullSafeDictionaryTKey, TValue.) | |
ICollectionKeyValuePairTKey, TValueRemove | (Inherited from NullSafeDictionaryTKey, TValue.) |