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

Class RevisionGroupCollection

A snapshot of contiguous revision groups in document order. Adjacent revisions are grouped only when their authors match.

Inheritance
object
RevisionGroupCollection
Implements
IReadOnlyList<RevisionGroup>
IReadOnlyCollection<RevisionGroup>
IEnumerable<RevisionGroup>
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 RevisionGroupCollection : IReadOnlyList<RevisionGroup>, IReadOnlyCollection<RevisionGroup>, IEnumerable<RevisionGroup>, IEnumerable

Constructors

RevisionGroupCollection(IEnumerable<Revision>)

Creates groups from an ordered revision sequence.

Declaration
public RevisionGroupCollection(IEnumerable<Revision> revisions)
Parameters
Type Name Description
IEnumerable<Revision> revisions

The revisions to group.

Properties

Count

Gets the number of groups.

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

this[int]

Gets a group by its zero-based position.

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

The zero-based group index.

Property Value
Type Description
RevisionGroup

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

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

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