Table of Contents

Class DynamoDBList

Namespace
Amazon.DynamoDBv2.DocumentModel
Assembly
AWSSDK.DynamoDBv2.dll

A DynamoDBEntry that represents a DynamoDB list (L) type.

public class DynamoDBList : DynamoDBEntry, ICloneable
Inheritance
DynamoDBList
Implements
Inherited Members

Constructors

DynamoDBList()

Constructs an empty DynamoDBList.

public DynamoDBList()

DynamoDBList(IEnumerable<DynamoDBEntry>)

Construct an instance DynamoDBList.

public DynamoDBList(IEnumerable<DynamoDBEntry> entries)

Parameters

entries IEnumerable<DynamoDBEntry>

Properties

Entries

Collection of DynamoDB entries

public List<DynamoDBEntry> Entries { get; }

Property Value

List<DynamoDBEntry>

this[int]

Gets or sets DynamoDB at a specific location in the list.

public DynamoDBEntry this[int i] { get; set; }

Parameters

i int

Index of the DynamoDB in question.

Property Value

DynamoDBEntry

DynamoDB in question.

Methods

Add(DynamoDBEntry)

Adds a DynamoDB to the end of the list.

public void Add(DynamoDBEntry value)

Parameters

value DynamoDBEntry

DynamoDB to add.

AsArrayOfDynamoDBEntry()

Explicitly convert DynamoDBList to DynamoDBEntry[]

public override DynamoDBEntry[] AsArrayOfDynamoDBEntry()

Returns

DynamoDBEntry[]

DynamoDBEntry[] value of this object

AsArrayOfString()

Explicitly convert DynamoDBEntry to String[]

public override string[] AsArrayOfString()

Returns

string[]

String[] value of this object

AsHashSetOfByteArray()

Explicitly convert DynamoDBList to HashSet<byte[]>

public override HashSet<byte[]> AsHashSetOfByteArray()

Returns

HashSet<byte[]>

HashSet<byte[]> value of this object

AsHashSetOfString()

Explicitly convert DynamoDBEntry to HashSet<String>

public override HashSet<string> AsHashSetOfString()

Returns

HashSet<string>

List<String> value of this object

AsListOfByteArray()

Explicitly convert DynamoDBList to byte[]

public override List<byte[]> AsListOfByteArray()

Returns

List<byte[]>

List<byte[]> value of this object

AsListOfDocument()

Explicitly convert DynamoDBList to List<Document>

public override List<Document> AsListOfDocument()

Returns

List<Document>

List<Document> value of this object

AsListOfDynamoDBEntry()

Explicitly convert DynamoDBList to List<DynamoDBEntry>

public override List<DynamoDBEntry> AsListOfDynamoDBEntry()

Returns

List<DynamoDBEntry>

List<DynamoDBEntry> value of this object

AsListOfMemoryStream()

Explicitly convert DynamoDBList to List<MemoryStream>

public override List<MemoryStream> AsListOfMemoryStream()

Returns

List<MemoryStream>

List<MemoryStream> value of this object

AsListOfString()

Explicitly convert DynamoDBList to List<String>

public override List<string> AsListOfString()

Returns

List<string>

List<String> value of this object

Clone()

Implement the Clone method.s

public override object Clone()

Returns

object

Create<T>(IEnumerable<T>)

Create a DynamODBList from an IEnumerable

public static DynamoDBList Create<T>(IEnumerable<T> items)

Parameters

items IEnumerable<T>

Returns

DynamoDBList

Type Parameters

T

Equals(object)

Implement the Equals method.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

ForceConversion(DynamoDBEntryConversion)

Returns a new instance of Document where all unconverted .NET types are converted to DynamoDBEntry types using a specific conversion.

public DynamoDBList ForceConversion(DynamoDBEntryConversion conversion)

Parameters

conversion DynamoDBEntryConversion

Returns

DynamoDBList

GetHashCode()

Implement the GetHashCode method.

public override int GetHashCode()

Returns

int

Operators

explicit operator DynamoDBEntry[](DynamoDBList)

Explicitly convert DynamoDBList to DynamoDBEntry[]

public static explicit operator DynamoDBEntry[](DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

DynamoDBEntry[]

DynamoDBEntry[] value of DynamoDBList

explicit operator HashSet<byte[]>(DynamoDBList)

Explicitly convert DynamoDBList to HashSet<byte[]>

public static explicit operator HashSet<byte[]>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

HashSet<byte[]>

HashSet<byte[]> value of DynamoDBList

explicit operator HashSet<string>(DynamoDBList)

Explicitly convert DynamoDBList to HashSet<String>

public static explicit operator HashSet<string>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

HashSet<string>

HashSet<String> value of DynamoDBList

explicit operator List<Document>(DynamoDBList)

Explicitly convert DynamoDBEntry to List<Document>

public static explicit operator List<Document>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBEntry to convert

Returns

List<Document>

List<Document> value of DynamoDBEntry

explicit operator List<DynamoDBEntry>(DynamoDBList)

Explicitly convert DynamoDBList to List<DynamoDBEntry>

public static explicit operator List<DynamoDBEntry>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

List<DynamoDBEntry>

List<DynamoDBEntry> value of DynamoDBList

explicit operator List<byte[]>(DynamoDBList)

Explicitly convert DynamoDBList to List<byte[]>

public static explicit operator List<byte[]>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

List<byte[]>

List<byte[]> value of DynamoDBList

explicit operator List<MemoryStream>(DynamoDBList)

Explicitly convert DynamoDBList to List<MemoryStream>

public static explicit operator List<MemoryStream>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

List<MemoryStream>

List<MemoryStream> value of DynamoDBList

explicit operator List<string>(DynamoDBList)

Explicitly convert DynamoDBList to List<String>

public static explicit operator List<string>(DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBList to convert

Returns

List<string>

List<String> value of DynamoDBList

explicit operator string[](DynamoDBList)

Explicitly convert DynamoDBEntry to String[]

public static explicit operator string[](DynamoDBList p)

Parameters

p DynamoDBList

DynamoDBEntry to convert

Returns

string[]

String[] value of DynamoDBEntry

implicit operator DynamoDBList(DynamoDBEntry[])

Implicitly convert DynamoDBEntry[] to DynamoDBList

public static implicit operator DynamoDBList(DynamoDBEntry[] data)

Parameters

data DynamoDBEntry[]

DynamoDBEntry[] data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(HashSet<byte[]>)

Implicitly convert HashSet<byte[]> to DynamoDBList

public static implicit operator DynamoDBList(HashSet<byte[]> data)

Parameters

data HashSet<byte[]>

HashSet<byte[]> data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(HashSet<string>)

Implicitly convert HashSet<String> to DynamoDBList

public static implicit operator DynamoDBList(HashSet<string> data)

Parameters

data HashSet<string>

HashSet<String> data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(List<Document>)

Implicitly convert List<Document> to DynamoDBEntry

public static implicit operator DynamoDBList(List<Document> data)

Parameters

data List<Document>

List<Document> data to convert

Returns

DynamoDBList

DynamoDBEntry representing the data

implicit operator DynamoDBList(List<DynamoDBEntry>)

Implicitly convert List<DynamoDBEntry> to DynamoDBList

public static implicit operator DynamoDBList(List<DynamoDBEntry> data)

Parameters

data List<DynamoDBEntry>

List<DynamoDBEntry> data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(List<byte[]>)

Implicitly convert List<byte[]> to DynamoDBList

public static implicit operator DynamoDBList(List<byte[]> data)

Parameters

data List<byte[]>

List<byte[]> data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(List<MemoryStream>)

Implicitly convert List<MemoryStream> to DynamoDBList

public static implicit operator DynamoDBList(List<MemoryStream> data)

Parameters

data List<MemoryStream>

List<MemoryStream> data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(List<string>)

Implicitly convert List<String> to DynamoDBList

public static implicit operator DynamoDBList(List<string> data)

Parameters

data List<string>

List<String> data to convert

Returns

DynamoDBList

DynamoDBList representing the data

implicit operator DynamoDBList(string[])

Implicitly convert String[] to DynamoDBEntry

public static implicit operator DynamoDBList(string[] data)

Parameters

data string[]

String[] data to convert

Returns

DynamoDBList

DynamoDBEntry representing the data