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