Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public class HashSetResolver<TCollection, TElement> : BaseCollectionResolver<TCollection>, ICollectionResolver, IApplyableResolver, IRefreshableResolver where TCollection : HashSet<TElement>
public HashSetResolver()
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 Remove(TCollection collection, object value)
TCollection | collection | |
System.Object | value |