Aerospike LINDPad Driver

AValueHelper..::..ToDictionary Method

Converts a collection of AValues into a dictionary where the key is the AValue's Bin Name and the value is the AValue.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public static IDictionary<string, AValue> ToDictionary(
	this IEnumerable<AValue> values
)

Parameters

values
Type: IEnumerable<(Of <(<'AValue>)>)>
A collection of AValues

Return Value

A dictionary where the key is the AValue's Bin Name and the value is the AValue.

Exceptions


ExceptionCondition
NullReferenceException If values is null.