ReflectedMemberProperty<TContainer, TValue>
A ReflectedMemberProperty<TContainer, TValue> provides strongly typed access to an underlying FieldInfo or PropertyInfo object.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Class
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
- Inherits from: Property<T, T>
- Implements: IProperty<T>, IProperty, IPropertyAccept<T>
public class ReflectedMemberProperty<TContainer, TValue> : Property<TContainer, TValue>, IProperty<TContainer>, IProperty, IPropertyAccept<TContainer>
Remarks
The implementation uses slow reflection calls internally. This is intended to be used as an intermediate solution for quick editor iteration.
Constructors
Constructor | Description |
|---|---|
| ReflectedMemberProperty`2(System.Reflection.FieldInfo,System.String) | Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified FieldInfo. |
| ReflectedMemberProperty`2(System.Reflection.PropertyInfo,System.String) | Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified PropertyInfo. |