Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public abstract class PropertyValueCollection : IPropertyValueCollection, IList, ICollection, IEnumerable
protected PropertyValueCollection(InspectorProperty property)
InspectorProperty | property | The property to represent. |
System.ArgumentNullException | property is null |
protected readonly InspectorProperty Property
public abstract bool AreDirty { get; }
public abstract int Count { get; }
protected abstract bool IsSynchronized { get; }
public object this[int index] { get; set; }
System.Int32 | index | The index to set. |
protected abstract object SyncRoot { get; }
protected abstract IImmutableList WeakOriginal { get; }
protected abstract bool Contains(object value)
System.Object | value | The value. |
System.Boolean |
|
protected abstract void CopyTo(Array array, int index)
System.Array | array | The array to copy to. |
System.Int32 | index | The index to copy from. |
public abstract void ForceMarkDirty()
Force sets the value, ignoring whether it is editable or not.
Note that this will fail on list element value entries where
public abstract void ForceSetValue(int index, object value)
System.Int32 | index | The selection index of the value. |
System.Object | value | The value to be set. |
public abstract IEnumerator GetEnumerator()
System.Collections.IEnumerator |
protected abstract object GetWeakValue(int index)
System.Int32 | index | The index of the value to get. |
System.Object | The weakly typed value at the given index |
protected abstract int IndexOf(object value)
System.Object | value | The value to get the index of. |
System.Int32 | The index of the given value, or -1 if the value was not found. |
public abstract void MarkClean()
public abstract void RevertUnappliedValues()
protected abstract void SetWeakValue(int index, object value)
System.Int32 | index | The index to set the value of. |
System.Object | value | The value to set. |