Table of Contents

Struct GuidSetElement

Namespace
DynaSharp.Serialization
Assembly
DynaSharp.dll

The elements of a string set (SS) that holds Guid values, each in the form GuidConverter uses.

public readonly struct GuidSetElement : IDynamoDbSetElementConverter<Guid>
Implements
Inherited Members

Explicit Interface Implementations

ReadElement(ref DynamoDbReader)

Reads the element the reader is positioned on, with the reader's getter for SetType. Reads nothing beyond the element.

static Guid ReadElement(ref DynamoDbReader reader)

Parameters

reader DynamoDbReader

The reader, positioned on an element after TryReadSetElement() returned true.

Returns

Guid

The element.

Exceptions

FormatException

The text is not a Guid in the 36-character form. The message does not quote the text.

SetType

Gets the kind of set the elements belong to: StringSet, NumberSet or BinarySet.

static AttributeType SetType { get; }

Returns

AttributeType

WriteElement(DynamoDbWriter, Guid)

Writes one element, with the writer's Write...SetElement method for SetType.

static void WriteElement(DynamoDbWriter writer, Guid value)

Parameters

writer DynamoDbWriter

The writer, inside a set that SetType started.

value Guid

The element.