Aerospike LINDPad Driver

AValueHelper..::..Contains<(Of <(<'T>)>)> Method

Determines if matchValue matches based on matchOptions.

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

Syntax


public static bool Contains<T>(
	this IEnumerable<AValue> source,
	T matchValue,
	AValue..::..MatchOptions matchOptions
)

Type Parameters

T
The type of matchValue

Parameters

source
Type: IEnumerable<(Of <(<'AValue>)>)>
A collection of AValue that will be searched for matchValue
matchValue
Type: T
The value used to determined a match based on matchOptions. If matchOptions is Regex, this param should be a RegEx string or a Regex instance. If this param is a KeyValuePair, both the key and value must match.
matchOptions
Type: Aerospike.Database.LINQPadDriver.Extensions..::..AValue..::..MatchOptions
Matching options based on AValue..::..MatchOptions.

Return Value

True if a match occurred.

See Also


[AValue.Contains{T}(T, AValue.MatchOptions)]