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
Bookmarks
Gets changed bookmarks.
public ImmutableDictionary<RichAnnotationId, RichRevisionValue<RichBookmark>> Bookmarks { get; }
Property Value
Comments
Gets changed comments.
public ImmutableDictionary<RichAnnotationId, RichRevisionValue<RichComment>> Comments { get; }
Property Value
DefaultCharacter
Gets changed authored character defaults, or null when unchanged.
public RichRevisionValue<RichCharacterStyle>? DefaultCharacter { get; }
Property Value
DefaultParagraph
Gets changed authored paragraph defaults, or null when unchanged.
public RichRevisionValue<RichParagraphStyle>? DefaultParagraph { get; }
Property Value
Dependencies
Gets earlier pending transactions required by this change.
public ImmutableHashSet<long> Dependencies { get; }
Property Value
Id
Gets the document-local transaction identity.
public long Id { get; }
Property Value
Info
Gets authorship and change-group metadata.
public RichRevisionInfo Info { get; }
Property Value
Nodes
Gets changed nodes, including deleted text and structural content.
public ImmutableDictionary<RichNodeId, RichRevisionValue<RichNode>> Nodes { get; }
Property Value
Styles
Gets changed reusable styles.
public ImmutableDictionary<RichStyleId, RichRevisionValue<RichStyleDefinition>> Styles { get; }