Skip to content

Class PluginExtensions

Namespace: Void.Proxy.Api.Plugins.Extensions
Assembly: Void.Proxy.Api.dll

public static class PluginExtensions

Inheritance

objectPluginExtensions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

GetPluginFromType<T>(IPluginService)

public static IPlugin GetPluginFromType<T>(this IPluginService plugins)

Parameters

plugins IPluginService

Returns

IPlugin

Type Parameters

T

GetPluginFromType(IPluginService, Type)

public static IPlugin GetPluginFromType(this IPluginService plugins, Type type)

Parameters

plugins IPluginService

type Type

Returns

IPlugin

TryGetPluginFromType(IPluginService, Type, out IPlugin)

public static bool TryGetPluginFromType(this IPluginService plugins, Type type, out IPlugin plugin)

Parameters

plugins IPluginService

type Type

plugin IPlugin

Returns

bool