Table of Contents

Class PathExtensions

Namespace
Exiled.Loader
Assembly
Exiled.Loader.dll

Contains the extensions to get a path.

public static class PathExtensions
Inheritance
PathExtensions
Inherited Members

Methods

GetPath(IPlugin<IConfig>)

Gets a path of a plugin.

public static string GetPath(this IPlugin<IConfig> plugin)

Parameters

plugin IPlugin<IConfig>

The IPlugin<TConfig>.

Returns

string

The path of the plugin or null.

Exceptions

ArgumentNullException

The provided plugin is null.

GetPath(Assembly)

Gets a path of an assembly.

public static string GetPath(this Assembly assembly)

Parameters

assembly Assembly

The Assembly.

Returns

string

The path of the assembly or null.

Exceptions

ArgumentNullException

The provided assembly is null.