C# Class SimpleFramework.Xml.Core.Revision

The Revision object is used represent the revision of a class as read from a version attribute. It determines the type of deserialization that takes place.
Afficher le fichier Open project: ngallagher/simplexml Class Usage Examples

Méthodes publiques

Méthode Description
Compare ( Object expected, Object current ) : bool
IsEqual ( ) : bool

This returns the cached comparision of the revisions. This will be true if not comparison was performed. If however one was performed then this will represent the result.

Revision ( ) : System

Constructor of the Revision object. This is used to create a comparator object that will compare and cache the comparison of the expected and current version of the class.

Method Details

Compare() public méthode

public Compare ( Object expected, Object current ) : bool
expected Object /// this is the expected version of the class ///
current Object /// this is the current version of the class ///
Résultat bool

IsEqual() public méthode

This returns the cached comparision of the revisions. This will be true if not comparison was performed. If however one was performed then this will represent the result.
public IsEqual ( ) : bool
Résultat bool

Revision() public méthode

Constructor of the Revision object. This is used to create a comparator object that will compare and cache the comparison of the expected and current version of the class.
public Revision ( ) : System
Résultat System