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

A post processing convention that wraps a delegate.
Inheritance: ConventionBase, IPostProcessingConvention
ファイルを表示 Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Public Methods

Method Description
DelegatePostProcessingConvention ( string name, Action action ) : System

Initializes a new instance of the DelegatePostProcessingConvention class.

PostProcess ( BsonClassMap classMap ) : void

Applies a post processing modification to the class map.

Method Details

DelegatePostProcessingConvention() public method

Initializes a new instance of the DelegatePostProcessingConvention class.
public DelegatePostProcessingConvention ( string name, Action action ) : System
name string The name.
action Action The delegate.
return System

PostProcess() public method

Applies a post processing modification to the class map.
public PostProcess ( BsonClassMap classMap ) : void
classMap BsonClassMap The class map.
return void