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
MemberTypesThe 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
BindingFlagsThe 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
MemberTypesThe member types.
bindingFlags
BindingFlagsThe binding flags.