Class MessagingContext
The messaging context.
Implements
System.Dynamic.IDynamicMetaObjectProvider
    
    
    System.IDisposable
  Inherited Members
      System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
    
    
      System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
    
    
      System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
    
    
      System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
    
    
      System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
    
    
      System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Kephas.Messaging
Assembly: Kephas.Messaging.dll
Syntax
public class MessagingContext : Context, IMessagingContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposableConstructors
| Improve this Doc View SourceMessagingContext(ICompositionContext, IMessageProcessor, IMessage)
Initializes a new instance of the MessagingContext class.
Declaration
public MessagingContext(ICompositionContext compositionContext, IMessageProcessor messageProcessor, IMessage message = null)Parameters
| Type | Name | Description | 
|---|---|---|
| ICompositionContext | compositionContext | Context for the composition. | 
| IMessageProcessor | messageProcessor | The message processor. | 
| IMessage | message | Optional. The Message. | 
MessagingContext(IContext, IMessageProcessor, IMessage)
Initializes a new instance of the MessagingContext class.
Declaration
public MessagingContext(IContext parentContext, IMessageProcessor messageProcessor, IMessage message = null)Parameters
| Type | Name | Description | 
|---|---|---|
| IContext | parentContext | The parent context. | 
| IMessageProcessor | messageProcessor | The message processor. | 
| IMessage | message | Optional. The message. | 
Properties
| Improve this Doc View SourceException
Gets or sets the exception.
Declaration
public Exception Exception { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Exception | The exception. | 
Handler
Gets or sets the handler.
Declaration
public IMessageHandler Handler { get; set; }Property Value
| Type | Description | 
|---|---|
| IMessageHandler | The handler. | 
Message
Gets or sets the message.
Declaration
public IMessage Message { get; set; }Property Value
| Type | Description | 
|---|---|
| IMessage | The message. | 
MessageProcessor
Gets the message processor.
Declaration
public IMessageProcessor MessageProcessor { get; }Property Value
| Type | Description | 
|---|---|
| IMessageProcessor | The message processor. | 
Response
Gets or sets the response.
Declaration
public IMessage Response { get; set; }Property Value
| Type | Description | 
|---|---|
| IMessage | The response. | 
Implements
      System.Dynamic.IDynamicMetaObjectProvider
  
  
  
  
      System.IDisposable