Version 2.1.0.0

StackResolver<TCollection, TElement> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class StackResolver<TCollection, TElement> : BaseOrderedCollectionResolver<TCollection>, IOrderedCollectionResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver where TCollection : Stack<TElement>
Inheritance

Type Parameters

TCollection

TElement

Constructors

StackResolver()
public StackResolver()

Properties

ElementType
public override Type ElementType { get; }

Methods

Add(TCollection, Object)
protected override void Add(TCollection collection, object value)
Parameters
TCollection collection

System.Object value

ChildNameToIndex(String)
public override int ChildNameToIndex(string name)
Parameters
System.String name

Returns
System.Int32

ChildPropertyRequiresRefresh(Int32, InspectorPropertyInfo)
public override bool ChildPropertyRequiresRefresh(int index, InspectorPropertyInfo info)
Parameters
System.Int32 index

InspectorPropertyInfo info

Returns
System.Boolean

Clear(TCollection)
protected override void Clear(TCollection collection)
Parameters
TCollection collection

CollectionIsReadOnly(TCollection)
protected override bool CollectionIsReadOnly(TCollection collection)
Parameters
TCollection collection

Returns
System.Boolean

GetChildCount(TCollection)
protected override int GetChildCount(TCollection value)
Parameters
TCollection value

Returns
System.Int32

GetChildInfo(Int32)
public override InspectorPropertyInfo GetChildInfo(int childIndex)
Parameters
System.Int32 childIndex

Initialize()
protected override void Initialize()
InsertAt(TCollection, Int32, Object)
protected override void InsertAt(TCollection collection, int index, object value)
Parameters
TCollection collection

System.Int32 index

System.Object value

Remove(TCollection, Object)
protected override void Remove(TCollection collection, object value)
Parameters
TCollection collection

System.Object value

RemoveAt(TCollection, Int32)
protected override void RemoveAt(TCollection collection, int index)
Parameters
TCollection collection

System.Int32 index

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.