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
namesstring[]The names.
NamedIdMemberConvention(IEnumerable<string>)
Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention(IEnumerable<string> names)
Parameters
namesIEnumerable<string>The names.
NamedIdMemberConvention(IEnumerable<string>, MemberTypes)
Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention(IEnumerable<string> names, MemberTypes memberTypes)
Parameters
namesIEnumerable<string>The names.
memberTypesMemberTypesThe member types.
NamedIdMemberConvention(IEnumerable<string>, BindingFlags)
Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention(IEnumerable<string> names, BindingFlags bindingFlags)
Parameters
namesIEnumerable<string>The names.
bindingFlagsBindingFlagsThe 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
namesIEnumerable<string>The names.
memberTypesMemberTypesThe member types.
bindingFlagsBindingFlagsThe binding flags.