AliasGetterSetter<TOwner, TValue, TPropertyOwner, TPropertyValue>

A polymorphic alias for getting and setting the values of an InspectorValuePropertyInfo<TOwner, TValue>.

namespace Sirenix.OdinInspector.Editor
{
public class AliasGetterSetter<TOwner, TValue, TPropertyOwner, TPropertyValue> : IValueGetterSetter<TOwner, TValue>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Constructors

Definition Description
AliasGetterSetter(InspectorValuePropertyInfo<TPropertyOwner, TPropertyValue>) Initializes a new instance of the AliasGetterSetter<TOwner, TValue, TPropertyOwner, TPropertyValue> class.

Methods

Return Type Definition Description
Object GetValue(Object) Gets the value from a given weakly typed owner.
TValue GetValue(ref TOwner) Gets the value from a given owner.
void SetValue(Object, Object) Sets the weakly typed value on a given weakly typed owner.
void SetValue(ref TOwner, TValue) Sets the value on a given owner.