示例#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 });
        }
示例#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]);
 }
示例#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;
        }
示例#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)
 {
 }
示例#6
0
 public void Configure(Environment.IConfigSectionNode node)
 {
     ConfigAttribute.Apply(this, node);
 }
示例#7
0
 protected override TaxConnectionParameters MakeDefaultSessionConnectParams(Environment.IConfigSectionNode paramsSection)
 {
     return(TaxConnectionParameters.Make <TaxJarConnectionParameters>(paramsSection));
 }
示例#8
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     base.DoConfigure(node);
     m_Client.Configure(node);
 }
示例#9
0
 protected override PayConnectionParameters MakeDefaultSessionConnectParams(Environment.IConfigSectionNode paramsSection)
 {
     return(PayConnectionParameters.Make <StripeConnectionParameters>(paramsSection));
 }
示例#10
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     base.DoConfigure(node);
     ConfigAttribute.Apply(m_DataStore, node);
 }
示例#11
0
 protected override void DoConfigure(Environment.IConfigSectionNode node)
 {
     ConfigAttribute.Apply(this, node);
 }