/// <summary> /// Initializes a new instance of the <see cref="DkimSigningRoutingAgent"/> class. /// </summary> /// <param name="dkimSigner">The object that knows how to sign messages.</param> public DkimSigningRoutingAgent() { Logger.LogDebug("Initializing DkimSigner"); Settings config = new Settings(); config.InitHeadersToSign(); this.dkimSigner = new DkimSigner(); this.LoadSettings(); this.WatchSettings(); this.OnCategorizedMessage += this.WhenMessageCategorized; Logger.LogDebug("DkimSigner initiallized"); }
/// <summary> /// Initializes a new instance of the <see cref="DkimSigningRoutingAgentFactory"/> class. /// </summary> public DkimSigningRoutingAgentFactory() { Logger.LogDebug("Initializing DkimSigner Service"); /*Logger.LogDebug("Waiting for debugger"); while (!System.Diagnostics.Debugger.IsAttached) System.Threading.Thread.Sleep(100); Logger.LogDebug("Debugger connected");*/ Settings config = new Settings(); config.InitHeadersToSign(); dkimSigner = new DkimSigner(); LoadSettings(); WatchSettings(); }
/// <summary> /// Initializes a new instance of the <see cref="DkimSigningRoutingAgentFactory"/> class. /// </summary> public DkimSigningRoutingAgentFactory() { Logger.LogDebug("Initializing DkimSigner Service"); /*Logger.LogDebug("Waiting for debugger"); * while (!System.Diagnostics.Debugger.IsAttached) * System.Threading.Thread.Sleep(100); * Logger.LogDebug("Debugger connected");*/ Settings config = new Settings(); config.InitHeadersToSign(); dkimSigner = new DkimSigner(); LoadSettings(); WatchSettings(); }
/// <summary> /// Initializes a new instance of the <see cref="DkimSigningRoutingAgent"/> class. /// </summary> /// <param name="dkimSigner">The object that knows how to sign messages.</param> /// public DkimSigningRoutingAgent(DkimSigner dkimSigner) { this.dkimSigner = dkimSigner; OnCategorizedMessage += WhenMessageCategorized; }