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

A convention that finds readable and writeable members and adds them to the class map.
Inheritance: ConventionBase, IClassMapConvention
Mostrar archivo Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Public Methods

Method Description
Apply ( BsonClassMap classMap ) : void

Applies a modification to the class map.

ReadWriteMemberFinderConvention ( ) : System.Reflection

Initializes a new instance of the ReadWriteMemberFinderConvention class.

ReadWriteMemberFinderConvention ( BindingFlags bindingFlags ) : System.Reflection

Initializes a new instance of the ReadWriteMemberFinderConvention class.

ReadWriteMemberFinderConvention ( MemberTypes memberTypes ) : System.Reflection

Initializes a new instance of the ReadWriteMemberFinderConvention class.

ReadWriteMemberFinderConvention ( MemberTypes memberTypes, BindingFlags bindingFlags ) : System.Reflection

Initializes a new instance of the ReadWriteMemberFinderConvention class.

Private Methods

Method Description
MapField ( BsonClassMap classMap, FieldInfo fieldInfo ) : void
MapProperty ( BsonClassMap classMap, PropertyInfo propertyInfo ) : void

Method Details

Apply() public method

Applies a modification to the class map.
public Apply ( BsonClassMap classMap ) : void
classMap BsonClassMap The class map.
return void

ReadWriteMemberFinderConvention() public method

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( ) : System.Reflection
return System.Reflection

ReadWriteMemberFinderConvention() public method

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( BindingFlags bindingFlags ) : System.Reflection
bindingFlags BindingFlags The binding flags.
return System.Reflection

ReadWriteMemberFinderConvention() public method

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( MemberTypes memberTypes ) : System.Reflection
memberTypes MemberTypes The member types.
return System.Reflection

ReadWriteMemberFinderConvention() public method

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( MemberTypes memberTypes, BindingFlags bindingFlags ) : System.Reflection
memberTypes MemberTypes The member types.
bindingFlags BindingFlags The binding flags.
return System.Reflection