Api Sandbox WrappedPropertyGet<T>
struct

WrappedPropertyGet<T>

public sealed struct WrappedPropertyGet<T>

Provides data about a wrapped property getter in a CodeGeneratorAttribute callback.

Type Parameters

T The expected type of the wrapped property.

Properties

Name Type Description
Value T The value from the original getter.
Object Object The object whose property is being wrapped. This will be null if we're wrapping a static property.
IsStatic Boolean Is this a static property?
TypeName String The name of the type that the property belongs to.
PropertyName String The name of the original property. If static, will return the full name including the type.
MemberIdent Int32 The identity of the original property. Used by TypeLibrary as a unique identifier for the property.
Attributes Attribute[] An array of all attributes on the original property.

Methods

U GetAttribute()

Get the attributes of the specified type, or null if it doesn't exist.

Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.WrappedPropertyGet<T>