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
this[int]
Gets or sets DynamoDB at a specific location in the list.
public DynamoDBEntry this[int i] { get; set; }
Parameters
i
intIndex 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
DynamoDBEntryDynamoDB 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
AsHashSetOfString()
Explicitly convert DynamoDBEntry to HashSet<String>
public override HashSet<string> AsHashSetOfString()
Returns
AsListOfByteArray()
Explicitly convert DynamoDBList to byte[]
public override List<byte[]> AsListOfByteArray()
Returns
AsListOfDocument()
Explicitly convert DynamoDBList to List<Document>
public override List<Document> AsListOfDocument()
Returns
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
Clone()
Implement the Clone method.s
public override object Clone()
Returns
Create<T>(IEnumerable<T>)
Create a DynamODBList from an IEnumerable
public static DynamoDBList Create<T>(IEnumerable<T> items)
Parameters
items
IEnumerable<T>
Returns
Type Parameters
T
Equals(object)
Implement the Equals method.
public override bool Equals(object obj)
Parameters
obj
object
Returns
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
GetHashCode()
Implement the GetHashCode method.
public override int GetHashCode()
Returns
Operators
explicit operator DynamoDBEntry[](DynamoDBList)
Explicitly convert DynamoDBList to DynamoDBEntry[]
public static explicit operator DynamoDBEntry[](DynamoDBList p)
Parameters
p
DynamoDBListDynamoDBList 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
DynamoDBListDynamoDBList to convert
Returns
explicit operator HashSet<string>(DynamoDBList)
Explicitly convert DynamoDBList to HashSet<String>
public static explicit operator HashSet<string>(DynamoDBList p)
Parameters
p
DynamoDBListDynamoDBList to convert
Returns
explicit operator List<Document>(DynamoDBList)
Explicitly convert DynamoDBEntry to List<Document>
public static explicit operator List<Document>(DynamoDBList p)
Parameters
p
DynamoDBListDynamoDBEntry to convert
Returns
explicit operator List<DynamoDBEntry>(DynamoDBList)
Explicitly convert DynamoDBList to List<DynamoDBEntry>
public static explicit operator List<DynamoDBEntry>(DynamoDBList p)
Parameters
p
DynamoDBListDynamoDBList 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
DynamoDBListDynamoDBList to convert
Returns
explicit operator List<MemoryStream>(DynamoDBList)
Explicitly convert DynamoDBList to List<MemoryStream>
public static explicit operator List<MemoryStream>(DynamoDBList p)
Parameters
p
DynamoDBListDynamoDBList 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
DynamoDBListDynamoDBList to convert
Returns
explicit operator string[](DynamoDBList)
Explicitly convert DynamoDBEntry to String[]
public static explicit operator string[](DynamoDBList p)
Parameters
p
DynamoDBListDynamoDBEntry 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
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
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
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
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
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