Version 2.1.0.0

StrongListPropertyResolver<TList, TElement> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[ResolverPriority(-1)]
public class StrongListPropertyResolver<TList, TElement> : BaseOrderedCollectionResolver<TList>, IOrderedCollectionResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver, IMaySupportPrefabModifications where TList : IList<TElement>
Inheritance

Type Parameters

TList

TElement

Constructors

StrongListPropertyResolver()
public StrongListPropertyResolver()

Properties

ElementType
public override Type ElementType { get; }
MaySupportPrefabModifications
public bool MaySupportPrefabModifications { get; }

Methods

Add(TList, Object)
protected override void Add(TList collection, object value)
Parameters
TList 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(TList)
protected override void Clear(TList collection)
Parameters
TList collection

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

Returns
System.Boolean

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

Returns
System.Int32

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

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

System.Int32 index

System.Object value

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

System.Object value

RemoveAt(TList, Int32)
protected override void RemoveAt(TList collection, int index)
Parameters
TList 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.