/// <summary> /// Returns the flag whether the value exists as the value element of a pre-declared property. Not /// sure who would use this, but its there, with a default implementation. /// </summary> /// <param name="value">property value</param> /// <returns>flag</returns> public virtual bool NativeContainsValue(object value) { using var enumerator = NativeEnumerable.GetEnumerator(); while (enumerator.MoveNext()) { if (Equals(value, enumerator.Current.Value)) { return(true); } } return(false); }
IEnumerator <Cell> IEnumerable <Cell> .GetEnumerator() => Cells.GetEnumerator();