• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.Xwa.HooksConfig
      • XwaHooksConfig
      • XwaIniFile
      • XwaIniSection

    Class XwaIniFile

    Inheritance
    object
    XwaIniFile
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: JeremyAnsel.Xwa.HooksConfig
    Assembly: JeremyAnsel.Xwa.HooksConfig.dll
    Syntax
    public sealed class XwaIniFile

    Constructors

    | Edit this page View Source

    XwaIniFile(string?)

    Declaration
    public XwaIniFile(string? path)
    Parameters
    Type Name Description
    string path
    | Edit this page View Source

    XwaIniFile(string?, string?, string?)

    Declaration
    public XwaIniFile(string? path, string? extension, string? txtExtension)
    Parameters
    Type Name Description
    string path
    string extension
    string txtExtension

    Properties

    | Edit this page View Source

    BasePath

    Declaration
    public string BasePath { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Extension

    Declaration
    public string Extension { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    HasLines

    Declaration
    public bool HasLines { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasLinesOrSettings

    Declaration
    public bool HasLinesOrSettings { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasSettings

    Declaration
    public bool HasSettings { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasTxt

    Declaration
    public bool HasTxt { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Sections

    Declaration
    public IDictionary<string, XwaIniSection> Sections { get; }
    Property Value
    Type Description
    IDictionary<string, XwaIniSection>
    | Edit this page View Source

    TxtExtension

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

    Methods

    | Edit this page View Source

    ClearSectionLines(string?, bool)

    Declaration
    public void ClearSectionLines(string? iniKey, bool createSection = false)
    Parameters
    Type Name Description
    string iniKey
    bool createSection
    | Edit this page View Source

    CreateSectionIfNotExists(string)

    Declaration
    public bool CreateSectionIfNotExists(string section)
    Parameters
    Type Name Description
    string section
    Returns
    Type Description
    bool
    | Edit this page View Source

    ParseIni()

    Declaration
    public void ParseIni()
    | Edit this page View Source

    ParseSettings(string?)

    Declaration
    public void ParseSettings(string? iniKey = null)
    Parameters
    Type Name Description
    string iniKey
    | Edit this page View Source

    Read(string?, string?, bool)

    Declaration
    public void Read(string? iniKey, string? txtKey = null, bool parseSettings = false)
    Parameters
    Type Name Description
    string iniKey
    string txtKey
    bool parseSettings
    | Edit this page View Source

    RetrieveLinesList(string?)

    Declaration
    public ICollection<string> RetrieveLinesList(string? iniKey)
    Parameters
    Type Name Description
    string iniKey
    Returns
    Type Description
    ICollection<string>
    | Edit this page View Source

    Save(string?)

    Declaration
    public void Save(string? basePath = null)
    Parameters
    Type Name Description
    string basePath
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2023 Jérémy Ansel