Show / Hide Table of Contents

Class Message<T>

Сообщение в очереди.

Inheritance
System.Object
Message<T>
Namespace:InfinniPlatform.MessageQueue
Assembly:InfinniPlatform.MessageQueue.Abstractions.dll
Syntax
public class Message<T> : object, IMessage<T>, IMessage
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

Message(T, String, IDictionary<String, Object>)

Конструктор.

Declaration
public Message(T body, string appId = null, IDictionary<string, object> headers = null)
Parameters
Type Name Description
T body

Тело сообщения.

System.String appId

Идентификатор отправителя сообщения.

IDictionary<System.String, System.Object> headers

Заголовки сообщения.

Properties

| Improve this Doc View Source

AppId

Идентификатор приложения-отправителя сообщения.

Declaration
public string AppId { get; }
Property Value
Type Description
System.String
Implements
IMessage.AppId
| Improve this Doc View Source

Body

Тело сообщения.

Declaration
public T Body { get; }
Property Value
Type Description
T
Implements
IMessage<T>.Body
| Improve this Doc View Source

Headers

Заголовки сообщения.

Declaration
public IDictionary<string, object> Headers { get; }
Property Value
Type Description
IDictionary<System.String, System.Object>
Implements
IMessage.Headers

Methods

| Improve this Doc View Source

GetBody()

Возвращает тело сообщения.

Declaration
public object GetBody()
Returns
Type Description
System.Object
Implements
IMessage.GetBody()
| Improve this Doc View Source

GetBodyType()

Возвращает тип тела сообщения.

Declaration
public Type GetBodyType()
Returns
Type Description
Type
Implements
IMessage.GetBodyType()

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.