public override bool ValueEquals(WithPresentation other) { if (!base.ValueEquals(other)) { return(false); } FileDataProvider otherz = other as FileDataProvider; if (otherz == null) { return(false); } if (otherz.MimeType != MimeType) { //System.Diagnostics.Debug.Fail("! ValueEquals !"); return(false); } if (Presentation.DataProviderManager.CompareByteStreamsDuringValueEqual && other.Presentation.DataProviderManager.CompareByteStreamsDuringValueEqual) { if (!DataProviderManager.CompareDataProviderContent(this, otherz)) { //System.Diagnostics.Debug.Fail("! ValueEquals !"); return(false); } } return(true); }
public override bool ValueEquals(WithPresentation other) { if (!base.ValueEquals(other)) { return(false); } DataProviderManager otherManager = other as DataProviderManager; if (otherManager == null) { return(false); } //if (otherManager.DataFileDirectory != DataFileDirectory) return false; return(true); }