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

Represents a registry of conventions.
Показать файл Открыть проект

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

Метод Описание
Lookup ( Type type ) : IConventionPack

Looks up the effective set of conventions that apply to a type.

Register ( string name, IConventionPack conventions, bool>.Func filter ) : void

Registers the conventions.

Remove ( string name ) : void

Removes the conventions specified by the given name.

Removing a convention allows the removal of the special __defaults__ conventions and the __attributes__ conventions for those who want to completely customize the experience.

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

Метод Описание
ConventionRegistry ( ) : System

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

Lookup() публичный статический Метод

Looks up the effective set of conventions that apply to a type.
public static Lookup ( Type type ) : IConventionPack
type System.Type The type.
Результат IConventionPack

Register() публичный статический Метод

Registers the conventions.
public static Register ( string name, IConventionPack conventions, bool>.Func filter ) : void
name string The name.
conventions IConventionPack The conventions.
filter bool>.Func The filter.
Результат void

Remove() публичный статический Метод

Removes the conventions specified by the given name.
Removing a convention allows the removal of the special __defaults__ conventions and the __attributes__ conventions for those who want to completely customize the experience.
public static Remove ( string name ) : void
name string The name.
Результат void