public override bool CompareTo(object Comparand) { BinaryDataDocument cmpDoc = Comparand as BinaryDataDocument; if (cmpDoc != null) { Comparison.StreamComparator sc = new Comparison.StreamComparator(); return(sc.CompareStreams(GetStream(), cmpDoc.GetStream())); } else { return(false); } }
protected virtual bool InternalCompare(FWOpenableDocument cmpDoc) { Comparison.StreamComparator sc = new Comparison.StreamComparator(); return(sc.CompareStreams(GetDataStream(), cmpDoc.GetDataStream())); }