Beispiel #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 });
        }
Beispiel #2
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     if (node == null)
     {
         return;
     }
     m_IncomingState.configure(node[CONFIG_INCOMING_SECTION]);
     m_OutgoingState.configure(node[CONFIG_OUTGOING_SECTION]);
 }
Beispiel #3
0
        protected override void DoConfigure(Environment.IConfigSectionNode node)
        {
            NFX.Environment.ConfigAttribute.Apply(this, node);

            // get specific pay system information
            var validPayPalAccound = MockActualAccountDatas.First(a => a.AccountData.AccountNumber == "paypal-001");

            validPayPalAccound.PrimaryEMail = node.AttrByName("paypal-valid-account").Value;
        }
Beispiel #4
0
        protected override void DoConfigure(Environment.IConfigSectionNode node)
        {
            base.DoConfigure(node);

            foreach (var dnode in node.Children.Where(n => n.Name.EqualsIgnoreCase(LogServiceBase.CONFIG_DESTINATION_SECTION)))
            {
                var dest = FactoryUtils.MakeAndConfigure(dnode) as Destination;
                this.RegisterDestination(dest);
            }
        }
 public void Configure(Environment.IConfigSectionNode node)
 {
 }
Beispiel #6
0
 public void Configure(Environment.IConfigSectionNode node)
 {
     ConfigAttribute.Apply(this, node);
 }
Beispiel #7
0
 protected override TaxConnectionParameters MakeDefaultSessionConnectParams(Environment.IConfigSectionNode paramsSection)
 {
     return(TaxConnectionParameters.Make <TaxJarConnectionParameters>(paramsSection));
 }
Beispiel #8
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     base.DoConfigure(node);
     m_Client.Configure(node);
 }
Beispiel #9
0
 protected override PayConnectionParameters MakeDefaultSessionConnectParams(Environment.IConfigSectionNode paramsSection)
 {
     return(PayConnectionParameters.Make <StripeConnectionParameters>(paramsSection));
 }
Beispiel #10
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     base.DoConfigure(node);
     ConfigAttribute.Apply(m_DataStore, node);
 }
Beispiel #11
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     ConfigAttribute.Apply(this, node);
 }