Constructor NamedExtraElementsMemberConvention
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
NamedExtraElementsMemberConvention(string)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
public NamedExtraElementsMemberConvention(string name)
Parameters
name
stringThe name of the extra elements member.
NamedExtraElementsMemberConvention(IEnumerable<string>)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
public NamedExtraElementsMemberConvention(IEnumerable<string> names)
Parameters
names
IEnumerable<string>The names.
NamedExtraElementsMemberConvention(IEnumerable<string>, MemberTypes)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
public NamedExtraElementsMemberConvention(IEnumerable<string> names, MemberTypes memberTypes)
Parameters
names
IEnumerable<string>The names.
memberTypes
MemberTypesThe member types.
NamedExtraElementsMemberConvention(IEnumerable<string>, BindingFlags)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
public NamedExtraElementsMemberConvention(IEnumerable<string> names, BindingFlags bindingFlags)
Parameters
names
IEnumerable<string>The names.
bindingFlags
BindingFlagsThe binding flags.
NamedExtraElementsMemberConvention(IEnumerable<string>, MemberTypes, BindingFlags)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
public NamedExtraElementsMemberConvention(IEnumerable<string> names, MemberTypes memberTypes, BindingFlags bindingFlags)
Parameters
names
IEnumerable<string>The names.
memberTypes
MemberTypesThe member types.
bindingFlags
BindingFlagsThe binding flags.