s&box docs

public sealed struct Sandbox.WrappedPropertyGet<T>

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

Methods

Showing 1 methods

public U GetAttribute()

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

Properties

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?

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

The identity of the original property. Used by TypeLibrary as a unique identifier for the property.

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.

public string Sandbox.WrappedPropertyGet<T>.PropertyName { get; set; }

The name of the original property. If static, will return the full name including the type.

public string Sandbox.WrappedPropertyGet<T>.TypeName { get; set; }

The name of the type that the property belongs to.

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

The value from the original getter.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.WrappedPropertyGet`1

On this page