C# Класс MongoDB.Bson.Serialization.Conventions.ReadWriteMemberFinderConvention

A convention that finds readable and writeable members and adds them to the class map.
Наследование: ConventionBase, IClassMapConvention
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
MapField ( BsonClassMap classMap, FieldInfo fieldInfo ) : void
MapProperty ( BsonClassMap classMap, PropertyInfo propertyInfo ) : void

Описание методов

Apply() публичный Метод

Applies a modification to the class map.
public Apply ( BsonClassMap classMap ) : void
classMap BsonClassMap The class map.
Результат void

ReadWriteMemberFinderConvention() публичный Метод

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( ) : System.Reflection
Результат System.Reflection

ReadWriteMemberFinderConvention() публичный Метод

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( BindingFlags bindingFlags ) : System.Reflection
bindingFlags BindingFlags The binding flags.
Результат System.Reflection

ReadWriteMemberFinderConvention() публичный Метод

Initializes a new instance of the ReadWriteMemberFinderConvention class.
public ReadWriteMemberFinderConvention ( MemberTypes memberTypes ) : System.Reflection
memberTypes MemberTypes The member types.
Результат System.Reflection

ReadWriteMemberFinderConvention() публичный Метод

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.
Результат System.Reflection