Table of Contents

Struct StringSetElement

Namespace
DynaSharp.Serialization
Assembly
DynaSharp.dll

The elements of a string set (SS): string.

public readonly struct StringSetElement : IDynamoDbSetElementConverter<string>
Implements
Inherited Members

Remarks

DynamoDB accepts the empty string as an element; both emulators and the service do. Elements are compared ordinally.

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 string ReadElement(ref DynamoDbReader reader)

Parameters

reader DynamoDbReader

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

Returns

string

The element.

SetType

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

static AttributeType SetType { get; }

Returns

AttributeType

WriteElement(DynamoDbWriter, string)

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

static void WriteElement(DynamoDbWriter writer, string value)

Parameters

writer DynamoDbWriter

The writer, inside a set that SetType started.

value string

The element.

Exceptions

ArgumentNullException

value is null.