/// <summary>
 /// Creates a new instance with specified user connection.
 /// </summary>
 /// <param name="userConnection">User connection.</param>
 /// <param name="channelManager">Channel manager.</param>
 public NotificationMessageChannel(UserConnection userConnection, IMsgChannelManager channelManager)
 {
     userConnection.CheckArgumentNull("userConnection");
     channelManager.CheckArgumentNull("channelManager");
     _userConnection = userConnection;
     _channelManager = channelManager;
 }
 internal void SetMsgChannelManager(IMsgChannelManager channelManager)
 {
     _channelManager = channelManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailMiningJob"/> class.
 /// </summary>
 /// <param name="msgChannelManager">The channel manager.</param>
 public EmailMiningJob(IMsgChannelManager msgChannelManager)
 {
     _channelManager = msgChannelManager;
 }