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
readerDynamoDbReaderThe 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
static AttributeType SetType { get; }
Returns
WriteElement(DynamoDbWriter, Guid)
Writes one element, with the writer's Write...SetElement method for SetType.
static void WriteElement(DynamoDbWriter writer, Guid value)
Parameters
writerDynamoDbWriterThe writer, inside a set that SetType started.
valueGuidThe element.