Show / Hide Table of Contents

Class INIFile

Inheritance
System.Object
INIFile
Namespace: GCore.Data
Assembly: GCore.dll
Syntax
public class INIFile : object

Constructors

| Improve this Doc View Source

INIFile(String)

Declaration
public INIFile(string FileName)
Parameters
Type Name Description
System.String FileName
| Improve this Doc View Source

INIFile(String, Boolean)

Declaration
public INIFile(string FileName, bool Lazy)
Parameters
Type Name Description
System.String FileName
System.Boolean Lazy

Properties

| Improve this Doc View Source

Cache

Declaration
public ReadOnlyDictionary<string, ReadOnlyDictionary<string, string>> Cache { get; }
Property Value
Type Description
ReadOnlyDictionary<System.String, ReadOnlyDictionary<System.String, System.String>>

Methods

| Improve this Doc View Source

ContainsValue(String, String)

Declaration
public bool ContainsValue(string SectionName, string Key)
Parameters
Type Name Description
System.String SectionName
System.String Key
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Flush()

Declaration
public void Flush()
| Improve this Doc View Source

GetValue(String, String, Boolean)

Declaration
public bool GetValue(string SectionName, string Key, bool DefaultValue)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Boolean DefaultValue
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetValue(String, String, Byte[])

Declaration
public byte[] GetValue(string SectionName, string Key, byte[] DefaultValue)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Byte[] DefaultValue
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetValue(String, String, Double)

Declaration
public double GetValue(string SectionName, string Key, double DefaultValue)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Double DefaultValue
Returns
Type Description
System.Double
| Improve this Doc View Source

GetValue(String, String, Int32)

Declaration
public int GetValue(string SectionName, string Key, int DefaultValue)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Int32 DefaultValue
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetValue(String, String, String)

Declaration
public string GetValue(string SectionName, string Key, string DefaultValue)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.String DefaultValue
Returns
Type Description
System.String
| Improve this Doc View Source

Refresh()

Declaration
public void Refresh()
| Improve this Doc View Source

SetValue(String, String, Boolean)

Declaration
public void SetValue(string SectionName, string Key, bool Value)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Boolean Value
| Improve this Doc View Source

SetValue(String, String, Byte[])

Declaration
public void SetValue(string SectionName, string Key, byte[] Value)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Byte[] Value
| Improve this Doc View Source

SetValue(String, String, Double)

Declaration
public void SetValue(string SectionName, string Key, double Value)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Double Value
| Improve this Doc View Source

SetValue(String, String, Int32)

Declaration
public void SetValue(string SectionName, string Key, int Value)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.Int32 Value
| Improve this Doc View Source

SetValue(String, String, String)

Declaration
public void SetValue(string SectionName, string Key, string Value)
Parameters
Type Name Description
System.String SectionName
System.String Key
System.String Value

Extension Methods

ClassExtensions.ThrowIfArgumentIsNull<T>(T, String)
EnumExtensions.Flag<T>(T, T)
ObjectExtensions.IsNumber(Object)
SerializingExtensions.Serialize<T>(T, SerializingExtensions.Serializer)
SerializingExtensions.SerializeBinary<T>(T)
SerializingExtensions.SerializeSoap<T>(T)
SerializingExtensions.SerializeXML<T>(T, Boolean)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX