C# 클래스 DotNetWorkQueue.Metrics.Decorator.ExpressionSerializerDecorator

Captures metrics for expression serialization
상속: IExpressionSerializer
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
ConvertBytesToFunction ( byte bytes ) : Expression,IWorkerNotification,object>>

Converts the bytes back to the function.

ConvertBytesToMethod ( byte bytes ) : IWorkerNotification>>.Expression

Converts the bytes to an action method.

ConvertFunctionToBytes ( Expression method ) : byte[]

Converts the function to bytes.

ConvertMethodToBytes ( Expression method ) : byte[]

Converts the action method to bytes.

ExpressionSerializerDecorator ( IMetrics metrics, IExpressionSerializer handler, IConnectionInformation connectionInformation ) : System

Initializes a new instance of the ExpressionSerializerDecorator class.

메소드 상세

ConvertBytesToFunction() 공개 메소드

Converts the bytes back to the function.
public ConvertBytesToFunction ( byte bytes ) : Expression,IWorkerNotification,object>>
bytes byte The bytes.
리턴 Expression,IWorkerNotification,object>>

ConvertBytesToMethod() 공개 메소드

Converts the bytes to an action method.
public ConvertBytesToMethod ( byte bytes ) : IWorkerNotification>>.Expression
bytes byte The bytes.
리턴 IWorkerNotification>>.Expression

ConvertFunctionToBytes() 공개 메소드

Converts the function to bytes.
public ConvertFunctionToBytes ( Expression method ) : byte[]
method Expression The method.
리턴 byte[]

ConvertMethodToBytes() 공개 메소드

Converts the action method to bytes.
public ConvertMethodToBytes ( Expression method ) : byte[]
method Expression The method.
리턴 byte[]

ExpressionSerializerDecorator() 공개 메소드

Initializes a new instance of the ExpressionSerializerDecorator class.
public ExpressionSerializerDecorator ( IMetrics metrics, IExpressionSerializer handler, IConnectionInformation connectionInformation ) : System
metrics IMetrics The metrics factory.
handler IExpressionSerializer The handler.
connectionInformation IConnectionInformation The connection information.
리턴 System