Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
 protected virtual bool InternalCompare(FWOpenableDocument cmpDoc)
 {
     Comparison.StreamComparator sc = new Comparison.StreamComparator();
     return(sc.CompareStreams(GetDataStream(), cmpDoc.GetDataStream()));
 }