Example #1
0
        protected override void DoConfigure(Environment.IConfigSectionNode node)
        {
            base.DoConfigure(node);

            m_Sink         = FactoryUtils.MakeAndConfigure <MessageSink>(node[CONFIG_SINK_SECTION], typeof(SMTPMessageSink), args: new object[] { this });
            m_FallbackSink = FactoryUtils.MakeAndConfigure <MessageSink>(node[CONFIG_FALLBACK_SINK_SECTION], typeof(NOPMessageSink), args: new object[] { this });
        }