Table of Contents

Method SetMethodsAndActions

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetMethodsAndActions(Type, object?, bool)

Sets methods and actions for the specified type and instance.

public virtual void SetMethodsAndActions(Type type, object? instance, bool addMethods = true)

Parameters

type Type

The type for which methods and actions are added.

instance object

The instance of the specified type which is used when invoking methods.

addMethods bool

Whether to add methods of the specified type as actions.