Table of Contents

Class RichRevision

Namespace
RichEdit.Core
Assembly
RichEdit.Core.dll

A retained authored transaction, independent of undo history.

public sealed class RichRevision
Inheritance
RichRevision
Inherited Members

Remarks

Only changed nodes and resources are retained. A dependency identifies an earlier transaction touching the same nodes, resources, or document defaults.

Properties

Assets

Gets changed image resources.

public ImmutableDictionary<RichAssetId, RichRevisionValue<RichImageAsset>> Assets { get; }

Property Value

ImmutableDictionary<RichAssetId, RichRevisionValue<RichImageAsset>>

Bookmarks

Gets changed bookmarks.

public ImmutableDictionary<RichAnnotationId, RichRevisionValue<RichBookmark>> Bookmarks { get; }

Property Value

ImmutableDictionary<RichAnnotationId, RichRevisionValue<RichBookmark>>

Comments

Gets changed comments.

public ImmutableDictionary<RichAnnotationId, RichRevisionValue<RichComment>> Comments { get; }

Property Value

ImmutableDictionary<RichAnnotationId, RichRevisionValue<RichComment>>

DefaultCharacter

Gets changed authored character defaults, or null when unchanged.

public RichRevisionValue<RichCharacterStyle>? DefaultCharacter { get; }

Property Value

RichRevisionValue<RichCharacterStyle>

DefaultParagraph

Gets changed authored paragraph defaults, or null when unchanged.

public RichRevisionValue<RichParagraphStyle>? DefaultParagraph { get; }

Property Value

RichRevisionValue<RichParagraphStyle>

Dependencies

Gets earlier pending transactions required by this change.

public ImmutableHashSet<long> Dependencies { get; }

Property Value

ImmutableHashSet<long>

Id

Gets the document-local transaction identity.

public long Id { get; }

Property Value

long

Info

Gets authorship and change-group metadata.

public RichRevisionInfo Info { get; }

Property Value

RichRevisionInfo

Nodes

Gets changed nodes, including deleted text and structural content.

public ImmutableDictionary<RichNodeId, RichRevisionValue<RichNode>> Nodes { get; }

Property Value

ImmutableDictionary<RichNodeId, RichRevisionValue<RichNode>>

Styles

Gets changed reusable styles.

public ImmutableDictionary<RichStyleId, RichRevisionValue<RichStyleDefinition>> Styles { get; }

Property Value

ImmutableDictionary<RichStyleId, RichRevisionValue<RichStyleDefinition>>