Version 3.0.0.2

ValueResolver<TResult> class

Namespace: Sirenix.OdinInspector.Editor.ValueResolvers
Assembly: Sirenix.OdinInspector.Editor
public sealed class ValueResolver<TResult> : ValueResolver
Inheritance

Type Parameters

TResult

Constructors

ValueResolver()
public ValueResolver()

Fields

Func
public ValueResolverFunc<TResult> Func

Properties

ValueType
public override Type ValueType { get; }

Methods

GetValue(Int32)
public TResult GetValue(int selectionIndex = 0)
Parameters
System.Int32 selectionIndex

Returns
TResult

GetWeakValue(Int32)
public override object GetWeakValue(int selectionIndex = 0)
Parameters
System.Int32 selectionIndex

Returns
System.Object