Table of Contents

Class GveSnapshotPart

Namespace
Cadmus.Gve.Parts
Assembly
Cadmus.Gve.Parts.dll

GVE snapshot part.

Tag: it.vedph.gve.snapshot.

[Tag("it.vedph.gve.snapshot")]
public sealed class GveSnapshotPart : PartBase, IPart, IHasVersion, IHasDataPins, IHasText
Inheritance
PartBase
GveSnapshotPart
Implements
IPart
IHasVersion
IHasDataPins
IHasText
Inherited Members
PartBase.FR_PREFIX
PartBase.BASE_TEXT_ROLE_ID
PartBase.Id
PartBase.ItemId
PartBase.TypeId
PartBase.RoleId
PartBase.ThesaurusScope
PartBase.TimeCreated
PartBase.CreatorId
PartBase.TimeModified
PartBase.UserId

Properties

Value

Gets or sets the snapshot value.

public Snapshot? Value { get; set; }

Property Value

Snapshot

Methods

GetDataPinDefinitions()

Gets the definitions of data pins used by the implementor.

public override IList<DataPinDefinition> GetDataPinDefinitions()

Returns

IList<DataPinDefinition>

Data pins definitions.

GetDataPins(IItem?)

Get all the key=value pairs (pins) exposed by the implementor.

public override IEnumerable<DataPin> GetDataPins(IItem? item = null)

Parameters

item IItem

The optional item. The item with its parts can optionally be passed to this method for those parts requiring to access further data.

Returns

IEnumerable<DataPin>

The pins: node-count=count of base text nodes, op-count=count of operations.

GetText()

Gets the base text of this snapshot.

public string GetText()

Returns

string

Text.

ToString()

Converts to string.

public override string ToString()

Returns

string

A string that represents this instance.