C# Class MongoDB.Bson.Serialization.Conventions.NamedParameterCreatorMapConvention

A convention that uses the names of the creator parameters to find the matching members.
Inheritance: ConventionBase, ICreatorMapConvention
Show file Open project: egametang/Egametang Class Usage Examples

Public Methods

Method Description
Apply ( BsonCreatorMap creatorMap ) : void

Applies a modification to the creator map.

Private Methods

Method Description
FindMatchingArgument ( Type classType, ParameterInfo parameter ) : MemberInfo
GetMemberType ( MemberInfo memberInfo ) : Type
GetParameters ( MemberInfo memberInfo ) : IEnumerable
Match ( Type classType, MemberTypes memberType, BindingFlags visibility, ParameterInfo parameter ) : MemberInfo

Method Details

Apply() public method

Applies a modification to the creator map.
public Apply ( BsonCreatorMap creatorMap ) : void
creatorMap BsonCreatorMap The creator map.
return void