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

Represents a registry of conventions.
Afficher le fichier Open project: egametang/Egametang

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ConventionRegistry ( ) : System

Method Details

Lookup() public static méthode

Looks up the effective set of conventions that apply to a type.
public static Lookup ( Type type ) : IConventionPack
type System.Type The type.
Résultat IConventionPack

Register() public static méthode

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.
Résultat void

Remove() public static méthode

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.
Résultat void