C# 클래스 NServiceBus.SerializationContextExtensions

Allows users to control serialization.
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
ShouldSkipSerialization ( this context ) : bool

The serializer should skip serializing the message.

SkipSerialization ( this context ) : void

Requests the serializer to skip serializing the message.

This can be used by an extension point needs to take control of the serialization. For example the Callbacks implementation that skips serialization and instead uses headers for passing the enum or int value.

메소드 상세

ShouldSkipSerialization() 공개 정적인 메소드

The serializer should skip serializing the message.
public static ShouldSkipSerialization ( this context ) : bool
context this
리턴 bool

SkipSerialization() 공개 정적인 메소드

Requests the serializer to skip serializing the message.
This can be used by an extension point needs to take control of the serialization. For example the Callbacks implementation that skips serialization and instead uses headers for passing the enum or int value.
public static SkipSerialization ( this context ) : void
context this
리턴 void