Table of Contents

Constructor NamedIdMemberConvention

Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll

NamedIdMemberConvention(params string[])

Initializes a new instance of the NamedIdMemberConvention class.

public NamedIdMemberConvention(params string[] names)

Parameters

names string[]

The names.

NamedIdMemberConvention(IEnumerable<string>)

Initializes a new instance of the NamedIdMemberConvention class.

public NamedIdMemberConvention(IEnumerable<string> names)

Parameters

names IEnumerable<string>

The names.

NamedIdMemberConvention(IEnumerable<string>, MemberTypes)

Initializes a new instance of the NamedIdMemberConvention class.

public NamedIdMemberConvention(IEnumerable<string> names, MemberTypes memberTypes)

Parameters

names IEnumerable<string>

The names.

memberTypes MemberTypes

The member types.

NamedIdMemberConvention(IEnumerable<string>, BindingFlags)

Initializes a new instance of the NamedIdMemberConvention class.

public NamedIdMemberConvention(IEnumerable<string> names, BindingFlags bindingFlags)

Parameters

names IEnumerable<string>

The names.

bindingFlags BindingFlags

The binding flags.

NamedIdMemberConvention(IEnumerable<string>, MemberTypes, BindingFlags)

Initializes a new instance of the NamedIdMemberConvention class.

public NamedIdMemberConvention(IEnumerable<string> names, MemberTypes memberTypes, BindingFlags bindingFlags)

Parameters

names IEnumerable<string>

The names.

memberTypes MemberTypes

The member types.

bindingFlags BindingFlags

The binding flags.

Exceptions

ArgumentNullException