s&box docs

public sealed struct Sandbox.WrappedPropertySet<T>

Provides data about a wrapped property setter 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 9 properties

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

An array of all attributes on the original property.

public System.Func`1<T> Sandbox.WrappedPropertySet<T>.Getter { get; set; }

Get the current value

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

Is this a static property?

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

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

public object Sandbox.WrappedPropertySet<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.WrappedPropertySet<T>.PropertyName { get; set; }

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

public System.Action`1<T> Sandbox.WrappedPropertySet<T>.Setter { get; set; }

Invoke the original setter with the provided value.

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

The name of the type that the property belongs to.

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

The value the property wants to be set to.

Metadata

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

On this page