API ReferenceSandbox
public sealed class Sandbox.PropertyDescription : Sandbox.MemberDescription
Describes a property. We use this class to wrap and return PropertyInfo's that are safe to interact with. Returned by `Sandbox.Internal.TypeLibrary` and `Sandbox.TypeDescription`.
Methods
Showing 3 methods
public bool CheckValidationAttributes(object obj, string[] errors, string name = null)
Parameters
name: Default: null
public object GetValue(object obj)
Get the value of this property on given object.
public void SetValue(object obj, object value)
Set the value of this property on given object.
No results match this filter.
Properties
Showing 7 properties
public bool Sandbox.PropertyDescription.CanRead { get; set; }
Whether this property can be read.
public bool Sandbox.PropertyDescription.CanWrite { get; set; }
Whether this property can be written to.
public bool Sandbox.PropertyDescription.IsGetMethodPublic { get; set; }
Whether the getter of this property is public.
public bool Sandbox.PropertyDescription.IsIndexer { get; set; }
True if this property has index parameters
public virtual bool Sandbox.PropertyDescription.IsProperty { get; set; }
public bool Sandbox.PropertyDescription.IsSetMethodPublic { get; set; }
Whether the setter of this property is public.
public System.Type Sandbox.PropertyDescription.PropertyType { get; set; }
Property type.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Reflection |
| Doc ID | T:Sandbox.PropertyDescription |