Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
[ResolverPriority(-1)]
public class StrongDictionaryPropertyResolver<TDictionary, TKey, TValue> : BaseKeyValueMapResolver<TDictionary>, IKeyValueMapResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver, IHasSpecialPropertyPaths, IPathRedirector, IMaySupportPrefabModifications where TDictionary : IDictionary<TKey, TValue>
public StrongDictionaryPropertyResolver()
public bool ValueApplyIsTemporary
public override Type ElementType { get; }
public bool MaySupportPrefabModifications { get; }
protected override void Add(TDictionary collection, object value)
TDictionary | 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 |
protected override void Clear(TDictionary collection)
TDictionary | collection |
protected override bool CollectionIsReadOnly(TDictionary collection)
TDictionary | collection |
System.Boolean |
protected override int GetChildCount(TDictionary value)
TDictionary | value |
System.Int32 |
public override InspectorPropertyInfo GetChildInfo(int childIndex)
System.Int32 | childIndex |
InspectorPropertyInfo |
public override object GetKey(int selectionIndex, int childIndex)
System.Int32 | selectionIndex | |
System.Int32 | childIndex |
System.Object |
public string GetSpecialChildPath(int childIndex)
System.Int32 | childIndex |
System.String |
protected override void Initialize()
protected override void OnCollectionChangesApplied()
protected override void Remove(TDictionary collection, object value)
TDictionary | collection | |
System.Object | value |
protected override void RemoveKey(TDictionary map, object key)
TDictionary | map | |
System.Object | key |
protected override void Set(TDictionary map, object key, object value)
TDictionary | map | |
System.Object | key | |
System.Object | value |
public bool TryGetRedirectedProperty(string childName, out InspectorProperty property)
System.String | childName | |
InspectorProperty | property |
System.Boolean |