Search Results for

    Class IniFile

    Inheritance
    object
    IniFile
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: RedLoader
    Assembly: RedLoader.dll
    Syntax
    public class IniFile

    Constructors

    IniFile(string)

    Declaration
    public IniFile(string INIPath)
    Parameters
    Type Name Description
    string INIPath

    Properties

    Path

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    string

    Methods

    GetBool(string, string, bool, bool)

    Declaration
    public bool GetBool(string section, string name, bool defaultValue = false, bool autoSave = false)
    Parameters
    Type Name Description
    string section
    string name
    bool defaultValue
    bool autoSave
    Returns
    Type Description
    bool

    GetFloat(string, string, float, bool)

    Declaration
    public float GetFloat(string section, string name, float defaultValue = 0, bool autoSave = false)
    Parameters
    Type Name Description
    string section
    string name
    float defaultValue
    bool autoSave
    Returns
    Type Description
    float

    GetInt(string, string, int, bool)

    Declaration
    public int GetInt(string section, string name, int defaultValue = 0, bool autoSave = false)
    Parameters
    Type Name Description
    string section
    string name
    int defaultValue
    bool autoSave
    Returns
    Type Description
    int

    GetString(string, string, string, bool)

    Declaration
    public string GetString(string section, string name, string defaultValue = "", bool autoSave = false)
    Parameters
    Type Name Description
    string section
    string name
    string defaultValue
    bool autoSave
    Returns
    Type Description
    string

    HasKey(string, string)

    Declaration
    public bool HasKey(string section, string name)
    Parameters
    Type Name Description
    string section
    string name
    Returns
    Type Description
    bool

    SetBool(string, string, bool)

    Declaration
    public void SetBool(string section, string name, bool value)
    Parameters
    Type Name Description
    string section
    string name
    bool value

    SetFloat(string, string, float)

    Declaration
    public void SetFloat(string section, string name, float value)
    Parameters
    Type Name Description
    string section
    string name
    float value

    SetInt(string, string, int)

    Declaration
    public void SetInt(string section, string name, int value)
    Parameters
    Type Name Description
    string section
    string name
    int value

    SetString(string, string, string)

    Declaration
    public void SetString(string section, string name, string value)
    Parameters
    Type Name Description
    string section
    string name
    string value