C# Class MongoDB.Bson.Serialization.Conventions.AttributeConventionPack.AttributeConvention

Inheritance: ConventionBase, IClassMapConvention, ICreatorMapConvention, IMemberMapConvention, IPostProcessingConvention
Show file Open project: egametang/Egametang

Public Methods

Method Description
Apply ( BsonClassMap classMap ) : void
Apply ( BsonCreatorMap creatorMap ) : void
Apply ( BsonMemberMap memberMap ) : void
PostProcess ( BsonClassMap classMap ) : void

Private Methods

Method Description
AllowsDuplicate ( Type type ) : bool
IgnoreMembersWithBsonIgnoreAttribute ( BsonClassMap classMap ) : void
OptInMembersWithBsonCreatorMapModifierAttribute ( BsonClassMap classMap ) : void
OptInMembersWithBsonMemberMapModifierAttribute ( BsonClassMap classMap ) : void
ThrowForDuplicateMemberMapAttributes ( BsonClassMap classMap ) : void

Method Details

Apply() public method

public Apply ( BsonClassMap classMap ) : void
classMap BsonClassMap
return void

Apply() public method

public Apply ( BsonCreatorMap creatorMap ) : void
creatorMap BsonCreatorMap
return void

Apply() public method

public Apply ( BsonMemberMap memberMap ) : void
memberMap BsonMemberMap
return void

PostProcess() public method

public PostProcess ( BsonClassMap classMap ) : void
classMap BsonClassMap
return void