Skip to content

Interface IMethodDescriptor<T>

Definition

Namespace: StardewUI.Framework.Descriptors
Assembly: StardewUI.dll

Describes a single method on some type, and provides a wrapper method to invoke it.

public interface IMethodDescriptor<T> : 
    StardewUI.Framework.Descriptors.IMethodDescriptor, 
    StardewUI.Framework.Descriptors.IMemberDescriptor

Type Parameters

T
The return type of the described method.

Implements
IMethodDescriptor, IMemberDescriptor

Members

Methods

Name Description
Invoke(Object, Object) Invokes the underlying method.

Details

Methods

Invoke(Object, Object)

Invokes the underlying method.

T Invoke(System.Object target, System.Object arguments);
Parameters

target   Object
The object instance on which to invoke the method.

arguments   Object
The arguments to provide to the method.

Returns

T

The return value.