WrappedMethod<T>class
Provides data about a wrapped method in a `Sandbox.CodeGeneratorAttribute` callback.
Methods1
Showing 1 methods
public U GetAttribute()
Get the attribute of type, or null if it doesn't exist
U—No results match this filter.
Properties8
Showing 8 properties
public System.Attribute[] Sandbox.WrappedMethod<T>.Attributes { get; set; }
An array of all attributes decorated with `Sandbox.CodeGeneratorAttribute` on the original method.
public System.Type[] Sandbox.WrappedMethod<T>.GenericArguments { get; set; }
The generic argument types of the method or null if the method is not generic.
public bool Sandbox.WrappedMethod<T>.IsStatic { get; set; }
Is this a static method?
bool—public int Sandbox.WrappedMethod<T>.MethodIdentity { get; set; }
The Identity of the original method. This is an integer that each MethodDescription has to distinguish itself from other methods of the same class.
int—public string Sandbox.WrappedMethod<T>.MethodName { get; set; }
The name of the original method. If static, will return the full name including the type.
string—public object Sandbox.WrappedMethod<T>.Object { get; set; }
The object whose method is being wrapped. This will be null if we're wrapping a static method.
object—public System.Func`1<T> Sandbox.WrappedMethod<T>.Resume { get; set; }
Invoke the original method.
Func<T>—public string Sandbox.WrappedMethod<T>.TypeName { get; set; }
The name of the type that the method belongs to.
string—No results match this filter.