C# 클래스 MongoDB.Bson.Serialization.Conventions.DelegateMemberMapConvention

A member map convention that wraps a delegate.
상속: ConventionBase, IMemberMapConvention
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

DelegateMemberMapConvention ( string name, Action action ) : System

Initializes a new instance of the DelegateMemberMapConvention class.

메소드 상세

Apply() 공개 메소드

Applies a modification to the member map.
public Apply ( BsonMemberMap memberMap ) : void
memberMap BsonMemberMap The member map.
리턴 void

DelegateMemberMapConvention() 공개 메소드

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