コード例 #1
0
 /// <summary>
 /// Constructs an instance of the <see cref="MessageProcessor"/> class with a name and its type.
 /// </summary>
 /// <param name="name">The name of the message processor.</param>
 /// <param name="messageProcessorType">The type of the message processor.</param>
 protected MessageProcessor(string name, MessageProcessorType messageProcessorType)
     : base(name, IntermediaryType.MessageProcessor)
 {
     MessageProcessorType = messageProcessorType;
 }
コード例 #2
0
 /// <summary>
 /// Constructs an instance of the <see cref="MessageProcessor"/> class with its type.
 /// </summary>
 /// <param name="messageProcessorType">The type of the message processor.</param>
 protected MessageProcessor(MessageProcessorType messageProcessorType)
     : base(IntermediaryType.MessageProcessor)
 {
     MessageProcessorType = messageProcessorType;
 }