C# Class DotNetWorkQueue.Metrics.Decorator.ExpressionSerializerDecorator

Captures metrics for expression serialization
Inheritance: IExpressionSerializer
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
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.

Method Details

ConvertBytesToFunction() public method

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

ConvertBytesToMethod() public method

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

ConvertFunctionToBytes() public method

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

ConvertMethodToBytes() public method

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

ExpressionSerializerDecorator() public method

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.
return System