Table of Contents

Class BeforeMethodInvokeEventArgs

Namespace
LMKit.FunctionCalling.Events
Assembly
LM-Kit.NET.dll

Represents the event arguments for the event that occurs before a method is invoked by the LM-Kit function calling system. This class provides information about the method being invoked, the target object, and the parameters passed to the method. It also allows the method invocation to be cancelled.

public sealed class BeforeMethodInvokeEventArgs : EventArgs
Inheritance
BeforeMethodInvokeEventArgs
Inherited Members

Fields

Cancel

Gets or sets a value indicating whether the method invocation should be cancelled. If set to true, the method invocation will not proceed.

MethodInfo

Gets the MethodInfo representing the method that is about to be invoked.

Parameters

Gets the parameters that are passed to the method during the invocation.

Target

Gets the target object on which the method is about to be invoked.