C# Class DotNetWorkQueue.Metrics.Decorator.ExpressionSerializerDecorator

Captures metrics for expression serialization
Inheritance: IExpressionSerializer
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode 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 méthode

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

ConvertBytesToMethod() public méthode

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

ConvertFunctionToBytes() public méthode

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

ConvertMethodToBytes() public méthode

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

ExpressionSerializerDecorator() public méthode

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.
Résultat System