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

Inheritance: IConventionPack
Afficher le fichier Open project: egametang/Egametang Class Usage Examples

Private Properties

Свойство Type Description
GetNewConventions IEnumerable
SetSerializeDefaultValueConvention ConventionProfile

Méthodes publiques

Méthode Description
GetDefault ( ) : ConventionProfile

Gets the default convention profile.

Merge ( ConventionProfile other ) : void

Merges another convention profile into this one (only missing conventions are merged).

SetDefaultValueConvention ( IDefaultValueConvention convention ) : ConventionProfile

Sets the default value convention.

SetElementNameConvention ( IElementNameConvention convention ) : ConventionProfile

Sets the element name convention.

SetExtraElementsMemberConvention ( IExtraElementsMemberConvention convention ) : ConventionProfile

Sets the extra elements member convention.

SetIdGeneratorConvention ( IIdGeneratorConvention convention ) : ConventionProfile

Sets the Id generator convention.

SetIdMemberConvention ( IIdMemberConvention convention ) : ConventionProfile

Sets the Id member convention.

SetIgnoreExtraElementsConvention ( IIgnoreExtraElementsConvention convention ) : ConventionProfile

Sets the ignore extra elements convention.

SetIgnoreIfDefaultConvention ( IIgnoreIfDefaultConvention convention ) : ConventionProfile

Sets the ignore if default convention.

SetIgnoreIfNullConvention ( IIgnoreIfNullConvention convention ) : ConventionProfile

Sets the ignore if null convention.

SetMemberFinderConvention ( IMemberFinderConvention convention ) : ConventionProfile

Sets the member finder convention.

SetSerializationOptionsConvention ( ISerializationOptionsConvention convention ) : ConventionProfile

Sets the serialization options convention.

Private Methods

Méthode Description
GetNewConventions ( ) : IEnumerable

Creates a convention pack from the ConventionProfile.

SetSerializeDefaultValueConvention ( ISerializeDefaultValueConvention convention ) : ConventionProfile

Method Details

GetDefault() public static méthode

Gets the default convention profile.
public static GetDefault ( ) : ConventionProfile
Résultat ConventionProfile

Merge() public méthode

Merges another convention profile into this one (only missing conventions are merged).
public Merge ( ConventionProfile other ) : void
other ConventionProfile The other convention profile.
Résultat void

SetDefaultValueConvention() public méthode

Sets the default value convention.
public SetDefaultValueConvention ( IDefaultValueConvention convention ) : ConventionProfile
convention IDefaultValueConvention A default value convention.
Résultat ConventionProfile

SetElementNameConvention() public méthode

Sets the element name convention.
public SetElementNameConvention ( IElementNameConvention convention ) : ConventionProfile
convention IElementNameConvention An element name convention.
Résultat ConventionProfile

SetExtraElementsMemberConvention() public méthode

Sets the extra elements member convention.
public SetExtraElementsMemberConvention ( IExtraElementsMemberConvention convention ) : ConventionProfile
convention IExtraElementsMemberConvention An extra elements member convention.
Résultat ConventionProfile

SetIdGeneratorConvention() public méthode

Sets the Id generator convention.
public SetIdGeneratorConvention ( IIdGeneratorConvention convention ) : ConventionProfile
convention IIdGeneratorConvention An Id generator convention.
Résultat ConventionProfile

SetIdMemberConvention() public méthode

Sets the Id member convention.
public SetIdMemberConvention ( IIdMemberConvention convention ) : ConventionProfile
convention IIdMemberConvention An Id member convention.
Résultat ConventionProfile

SetIgnoreExtraElementsConvention() public méthode

Sets the ignore extra elements convention.
public SetIgnoreExtraElementsConvention ( IIgnoreExtraElementsConvention convention ) : ConventionProfile
convention IIgnoreExtraElementsConvention An ignore extra elements convention.
Résultat ConventionProfile

SetIgnoreIfDefaultConvention() public méthode

Sets the ignore if default convention.
public SetIgnoreIfDefaultConvention ( IIgnoreIfDefaultConvention convention ) : ConventionProfile
convention IIgnoreIfDefaultConvention An ignore if default convention.
Résultat ConventionProfile

SetIgnoreIfNullConvention() public méthode

Sets the ignore if null convention.
public SetIgnoreIfNullConvention ( IIgnoreIfNullConvention convention ) : ConventionProfile
convention IIgnoreIfNullConvention An ignore if null convention.
Résultat ConventionProfile

SetMemberFinderConvention() public méthode

Sets the member finder convention.
public SetMemberFinderConvention ( IMemberFinderConvention convention ) : ConventionProfile
convention IMemberFinderConvention A member finder convention.
Résultat ConventionProfile

SetSerializationOptionsConvention() public méthode

Sets the serialization options convention.
public SetSerializationOptionsConvention ( ISerializationOptionsConvention convention ) : ConventionProfile
convention ISerializationOptionsConvention A serialization options convention.
Résultat ConventionProfile