Method Enumerable

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Enumerable(IEnumerable)

Creates an instance of an optional parameter with an enumerable value.

public static Optional<IEnumerable<TItem>> Enumerable<TItem>(IEnumerable<TItem> value)

Parameters

value IEnumerable

The value.

Returns

Optional<IEnumerable>

An instance of an optional parameter with an enumerable value.

Type Parameters

TItem

The type of the items of the optional paramater.