AliasGetterSetter<TOwner, TValue, TPropertyOwner, TPropertyValue>

A polymorphic alias for getting and setting the values of an IValueGetterSetter<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: 2.0.0.0

Constructors

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

Properties

Return Type Definition Description
bool IsReadonly Whether the value is readonly.
Type OwnerType Gets the type of the owner.
Type ValueType Gets the type of the value.

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.