Api Sandbox WrappedMethod
struct

WrappedMethod

public sealed struct WrappedMethod

Provides data about a wrapped method in a CodeGeneratorAttribute callback.

Properties

Name Type Description
Resume Action Invoke the original method.
Object Object The object whose method is being wrapped. This will be null if we're wrapping a static method.
IsStatic Boolean Is this a static method?
TypeName String The name of the type that the method belongs to.
MethodName String The name of the original method.
MethodIdentity Int32 The Identity of the original method. This is an integer that each MethodDescription has to distinguish itself from other methods of the same class.
GenericArguments Type[] The generic argument types of the method or null if the method is not generic.
Attributes Attribute[] An array of all attributes decorated with CodeGeneratorAttribute on the original method.

Methods

U GetAttribute()

Get the attribute of type, or null if it doesn't exist

Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.WrappedMethod