Search Results for

    Show / Hide Table of Contents

    Class PathExtensions

    Contains the extensions to get a path.

    Inheritance
    System.Object
    PathExtensions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Loader
    Assembly: Exiled.Loader.dll
    Syntax
    public static class PathExtensions

    Methods

    | Improve this Doc View Source

    GetPath(IPlugin<IConfig>)

    Gets a path of a plugin.

    Declaration
    public static string GetPath(this IPlugin<IConfig> plugin)
    Parameters
    Type Name Description
    IPlugin<IConfig> plugin

    The IPlugin<TConfig>.

    Returns
    Type Description
    System.String

    The path of the plugin or null.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The provided plugin is null.

    | Improve this Doc View Source

    GetPath(Assembly)

    Gets a path of an assembly.

    Declaration
    public static string GetPath(this Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    The System.Reflection.Assembly.

    Returns
    Type Description
    System.String

    The path of the assembly or null.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The provided assembly is null.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX