Skip to content

ITargetHolder Methods

Represents an object which holds an invocation target as well as target extensions.

GetComponent(Type)

abstract
public abstract object? GetComponent(Type componentType)
Gets the component with the specified type.

Parameters

componentTypeType
The component type.

Returns

The component with the specified type.

GetTarget

abstract
public abstract object? GetTarget()
Gets the target instance.

Returns

The target.