Table of Contents

Class ReflectionExtensions

Namespace
Exiled.API.Extensions
Assembly
Exiled.API.dll

A set of extensions for Type.

public static class ReflectionExtensions
Inheritance
ReflectionExtensions
Inherited Members

Methods

CopyProperties(object, object)

Copy all properties from the source class to the target one.

public static void CopyProperties(this object target, object source)

Parameters

target object

The target object.

source object

The source object to copy properties from.

InvokeStaticEvent(Type, string, object[])

Invokes a static event.

public static void InvokeStaticEvent(this Type type, string eventName, object[] param)

Parameters

type Type

The event type.

eventName string

The event name.

param object[]

The event arguments.

InvokeStaticMethod(Type, string, object[])

Invokes a static method.

public static void InvokeStaticMethod(this Type type, string methodName, object[] param)

Parameters

type Type

The method type.

methodName string

The method name.

param object[]

The method parameters.