Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
[ResolverPriority(-2)]
public class StrongCollectionResolver<TCollection, TElement> : BaseOrderedCollectionResolver<TCollection>, IOrderedCollectionResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver where TCollection : ICollection<TElement>
public StrongCollectionResolver()
public override Type ElementType { get; }
protected override void Add(TCollection collection, object value)
TCollection | collection | |
System.Object | value |
public override int ChildNameToIndex(ref StringSlice name)
StringSlice | name |
System.Int32 |
public override int ChildNameToIndex(string name)
System.String | name |
System.Int32 |
public override bool ChildPropertyRequiresRefresh(int index, InspectorPropertyInfo info)
System.Int32 | index | |
InspectorPropertyInfo | info |
System.Boolean |
protected override void Clear(TCollection collection)
TCollection | collection |
protected override bool CollectionIsReadOnly(TCollection collection)
TCollection | collection |
System.Boolean |
protected override int GetChildCount(TCollection value)
TCollection | value |
System.Int32 |
public override InspectorPropertyInfo GetChildInfo(int childIndex)
System.Int32 | childIndex |
InspectorPropertyInfo |
protected override void Initialize()
protected override void InsertAt(TCollection collection, int index, object value)
TCollection | collection | |
System.Int32 | index | |
System.Object | value |
protected override void Remove(TCollection collection, object value)
TCollection | collection | |
System.Object | value |
protected override void RemoveAt(TCollection collection, int index)
TCollection | collection | |
System.Int32 | index |