Class Optional

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents helper methods for use with the Optional struct.

public static class Optional

Inheritance

object

Optional

Inherited Members

object.Equals(object)

object.Equals(object, object)

object.GetHashCode()

object.GetType()

object.MemberwiseClone()

object.ReferenceEquals(object, object)

object.ToString()

Methods

Create(T)

Creates an instance of an optional parameter with a value.

Enumerable(IEnumerable)

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