C# Класс DotNetWorkQueue.Metrics.Decorator.ExpressionSerializerDecorator

Captures metrics for expression serialization
Наследование: IExpressionSerializer
Показать файл Открыть проект

Открытые методы

Метод Описание
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