WrappedPropertyGet<T>class

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

objectWrappedPropertyGet<T>
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public sealed struct Sandbox.WrappedPropertyGet<T>

Methods1

Showing 1 methods

public U GetAttribute()PUBLIC

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

Returns:U

Properties7

Showing 7 properties

public System.Attribute[] Sandbox.WrappedPropertyGet<T>.Attributes { get; set; }PUBLICGETSET

An array of all attributes on the original property.

Returns:Attribute[]

public bool Sandbox.WrappedPropertyGet<T>.IsStatic { get; set; }PUBLICGETSET

Is this a static property?

Returns:bool

public int Sandbox.WrappedPropertyGet<T>.MemberIdent { get; set; }PUBLICGETSET

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; }PUBLICGETSET

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; }PUBLICGETSET

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; }PUBLICGETSET

The name of the type that the property belongs to.

Returns:string

public T Sandbox.WrappedPropertyGet<T>.Value { get; set; }PUBLICGETSET

The value from the original getter.

Returns:T

On this page