Boolean IFieldsValues.Equals(IFieldsValues other) { if (other == null) { return(false); } if (other.Values == null) { return(false); } if (__ValuesDlg == null) { return(false); } IEnumerator <Object> otherValuesEnum = other.Values.GetEnumerator(); IEnumerator <Object> thisValuesEnum = _Values.GetEnumerator(); if (otherValuesEnum == null) { return(false); } if (thisValuesEnum == null) { return(false); } try { while (true) { if (!otherValuesEnum.MoveNext()) { return(!thisValuesEnum.MoveNext()); } else if (!thisValuesEnum.MoveNext()) { return(false); } else if (thisValuesEnum.Current is IFieldsValues) { continue; } else if (!_AreEquals(thisValuesEnum.Current, otherValuesEnum.Current)) { return(false); } //else if ( !Object.Equals ( otherValuesEnum.Current, // thisValuesEnum.Current ) ) } } finally { otherValuesEnum.Dispose(); thisValuesEnum.Dispose(); } } // End of IFieldsValues.Equals (...)
private void _Reset() { __fields = null; __fieldsViewType = null; } // End of _Reset ()
} // End of ImplDispose (...) private void _Reset() { __mainId = null; } // End of _Reset ()