• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class RevisionGroup

Represents one contiguous group of revisions made by the same author.

Inheritance
object
RevisionGroup
Implements
IReadOnlyList<Revision>
IReadOnlyCollection<Revision>
IEnumerable<Revision>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class RevisionGroup : IReadOnlyList<Revision>, IReadOnlyCollection<Revision>, IEnumerable<Revision>, IEnumerable

Constructors

RevisionGroup(string, IEnumerable<Revision>)

Creates a revision group from an ordered revision sequence.

Declaration
public RevisionGroup(string author, IEnumerable<Revision> revisions)
Parameters
Type Name Description
string author

The author shared by the revisions.

IEnumerable<Revision> revisions

The revisions in document order.

Properties

Author

The author who made the revisions in this group.

Declaration
public string Author { get; }
Property Value
Type Description
string

Count

Gets the number of revisions in this group.

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets a revision by its zero-based position in the group.

Declaration
public Revision this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based revision index.

Property Value
Type Description
Revision

Revisions

Gets the revisions in document order.

Declaration
public IReadOnlyList<Revision> Revisions { get; }
Property Value
Type Description
IReadOnlyList<Revision>

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<Revision> GetEnumerator()
Returns
Type Description
IEnumerator<Revision>

An enumerator that can be used to iterate through the collection.

Implements

IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX