VersionsList

VersionsList class

Class that defines serializable list of the document version information.

public class VersionsList

Constructors

Name Description
VersionsList() Default constructor.

Properties

Name Description
Version { get; set; } Current version
VersionsDictionary { get; set; } Annotations of every document version, keyed by version key.

Methods

Name Description
AddVersion(List<AnnotationBase>) Add list of the annotations.
AddVersion(object, List<AnnotationBase>) Add list of annotations per version ley
GetLastVersionKey() Returns the key of the last version.
GetPenultimateVersionKey() Returns the key of the version before the last one.
GetVersion() Returns a copy of the annotations of the last version.
GetVersion(object) Returns a copy of the annotations of the specified version.
GetVersionKeyByValue(List<AnnotationBase>) Returns the key of the version that holds the specified list of annotations.
ReplaceLastVersion(List<AnnotationBase>) Replaces the annotations of the current version.

See Also