RevisionHandler

RevisionHandler class

Represents the main class that controls revision handling.

public sealed class RevisionHandler : IDisposable

Constructors

Name Description
RevisionHandler(Stream) Initializes new instance of RevisionHandler class with a file stream with revisions.
RevisionHandler(string) Initializes new instance of RevisionHandler class with the path to the file with revisions.
RevisionHandler(Stream, bool) Initializes new instance of RevisionHandler class with a file stream with revisions and explicit stream-ownership control.

Methods

Name Description
ApplyRevisionChanges(ApplyRevisionOptions) Processes changes in revisions and applies them to the same file from which the revisions were taken.
ApplyRevisionChanges(Stream, ApplyRevisionOptions) Processes changes in revisions and the result is written to the document stream.
ApplyRevisionChanges(string, ApplyRevisionOptions) Processes changes in revisions, and the result is written to the specified file by path.
Dispose() Releases resources.
GetRevisions() Gets list of all revisions.

See Also