Show / Hide Table of Contents

Interface IMessageSerializer

Namespace:InfinniPlatform.MessageQueue
Assembly:InfinniPlatform.MessageQueue.RabbitMQ.dll
Syntax
public interface IMessageSerializer

Methods

| Improve this Doc View Source

BytesToMessage(BasicDeliverEventArgs, Type)

Преобразует массив байтов из шины сообщения в строготипизированный объект.

Declaration
IMessage BytesToMessage(BasicDeliverEventArgs args, Type type)
Parameters
Type Name Description
BasicDeliverEventArgs args

Сообщения из шины.

Type type

Тип тела сообщения.

Returns
Type Description
IMessage
| Improve this Doc View Source

BytesToMessage<T>(BasicDeliverEventArgs)

Преобразует массив байтов из шины сообщения в строготипизированный объект.

Declaration
IMessage BytesToMessage<T>(BasicDeliverEventArgs args)
Parameters
Type Name Description
BasicDeliverEventArgs args

Сообщения из шины.

Returns
Type Description
IMessage
Type Parameters
Name Description
T

Тип тела сообщения.

| Improve this Doc View Source

BytesToMessage<T>(BasicGetResult)

Преобразует массив байтов из шины сообщения в строготипизированный объект.

Declaration
IMessage BytesToMessage<T>(BasicGetResult args)
Parameters
Type Name Description
BasicGetResult args

Сообщения из шины.

Returns
Type Description
IMessage
Type Parameters
Name Description
T

Тип тела сообщения.

| Improve this Doc View Source

MessageToBytes(Object)

Преобразует сообщение в массив байтов для передачи в шину сообщений.

Declaration
byte[] MessageToBytes(object message)
Parameters
Type Name Description
System.Object message

Сообщение.

Returns
Type Description
System.Byte[]

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.