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