Show / Hide Table of Contents

Class CustomActionGetDelegate

Allows you to modify the actions associated with a block before it's displayed to user.

Inheritance
System.Object
CustomActionGetDelegate
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public sealed class CustomActionGetDelegate : MulticastDelegate

Constructors

CustomActionGetDelegate(Object, IntPtr)

Declaration
public CustomActionGetDelegate(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(IMyTerminalBlock, List<IMyTerminalAction>, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(IMyTerminalBlock block, List<IMyTerminalAction> actions, AsyncCallback callback, object object)
Parameters
Type Name Description
IMyTerminalBlock block
System.Collections.Generic.List<IMyTerminalAction> actions
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result

Invoke(IMyTerminalBlock, List<IMyTerminalAction>)

Declaration
public virtual void Invoke(IMyTerminalBlock block, List<IMyTerminalAction> actions)
Parameters
Type Name Description
IMyTerminalBlock block
System.Collections.Generic.List<IMyTerminalAction> actions
☀
☾
In This Article
  • Constructors
    • CustomActionGetDelegate(Object, IntPtr)
  • Methods
    • BeginInvoke(IMyTerminalBlock, List<IMyTerminalAction>, AsyncCallback, Object)
    • EndInvoke(IAsyncResult)
    • Invoke(IMyTerminalBlock, List<IMyTerminalAction>)
Back to top
Generated by DocFX
☀
☾