Version 3.3.1.2

QueueResolver<TCollection, TElement> class

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

Type Parameters

TCollection

TElement

Constructors

QueueResolver()
public QueueResolver()

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(ref StringSlice)
public override int ChildNameToIndex(ref StringSlice name)
Parameters
StringSlice name

Returns
System.Int32

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