Search Results for

    Show / Hide Table of Contents

    Class ConfigurationExtensions

    NOTE: This is an extension class All its methods are extensions for the Configuraiton class. These methods can be called with unusual syntax! i.e. can call thus:- writer.WriteConfigPath(string basePath, string key, string value) where var writer is type TextWriter.

    Inheritance
    Object
    ConfigurationExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: TowseyLibrary
    Assembly: TowseyLibrary.dll
    Syntax
    public static class ConfigurationExtensions

    Methods

    | Improve this Doc View Source

    RelativePathTo(String, String)

    Declaration
    public static string RelativePathTo(string fromDirectory, string toPath)
    Parameters
    Type Name Description
    String fromDirectory
    String toPath
    Returns
    Type Description
    String
    | Improve this Doc View Source

    WriteConfigValue(TextWriter, String, Object)

    Declaration
    public static void WriteConfigValue(this TextWriter writer, string key, object value)
    Parameters
    Type Name Description
    TextWriter writer
    String key
    Object value
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top