C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Compare() публичный Метод

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 ///
Результат bool

IsEqual() публичный Метод

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
Результат bool

Revision() публичный Метод

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
Результат System