API ReferenceSandbox
WrappedPropertyGet<T>class
Provides data about a wrapped property getter in a `Sandbox.CodeGeneratorAttribute` callback.
object→WrappedPropertyGet<T>
Methods1
Showing 1 methods
public U GetAttribute()
Get the attributes of the specified type, or null if it doesn't exist.
Returns:
U—No results match this filter.
Properties7
Showing 7 properties
public System.Attribute[] Sandbox.WrappedPropertyGet<T>.Attributes { get; set; }
An array of all attributes on the original property.
public bool Sandbox.WrappedPropertyGet<T>.IsStatic { get; set; }
Is this a static property?
Returns:
bool—public int Sandbox.WrappedPropertyGet<T>.MemberIdent { get; set; }
The identity of the original property. Used by TypeLibrary as a unique identifier for the property.
Returns:
int—public object Sandbox.WrappedPropertyGet<T>.Object { get; set; }
The object whose property is being wrapped. This will be null if we're wrapping a static property.
Returns:
object—public string Sandbox.WrappedPropertyGet<T>.PropertyName { get; set; }
The name of the original property. If static, will return the full name including the type.
Returns:
string—public string Sandbox.WrappedPropertyGet<T>.TypeName { get; set; }
The name of the type that the property belongs to.
Returns:
string—public T Sandbox.WrappedPropertyGet<T>.Value { get; set; }
The value from the original getter.
Returns:
T—No results match this filter.