本文整理汇总了C#中IGatewayProviderService类的典型用法代码示例。如果您正苦于以下问题:C# IGatewayProviderService类的具体用法?C# IGatewayProviderService怎么用?C# IGatewayProviderService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IGatewayProviderService类属于命名空间,在下文中一共展示了IGatewayProviderService类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: FedExShippingGatewayProvider
public FedExShippingGatewayProvider(IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProvider, IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProvider, runtimeCacheProvider)
{
_settings = new FedExProcessorSettings();
_runtimeCache = runtimeCacheProvider;
}
开发者ID:arknu,项目名称:Merchello,代码行数:7,代码来源:FedExShippingGatewayProvider.cs
示例2: FixedRateTaxationGatewayProvider
/// <summary>
/// Initializes a new instance of the <see cref="FixedRateTaxationGatewayProvider"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="gatewayProviderSettings">
/// The gateway provider settings.
/// </param>
/// <param name="runtimeCacheProvider">
/// The runtime cache provider.
/// </param>
public FixedRateTaxationGatewayProvider(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
开发者ID:drpeck,项目名称:Merchello,代码行数:19,代码来源:FixedRateTaxationGatewayProvider.cs
示例3: SmtpNotificationGatewayMethod
public SmtpNotificationGatewayMethod(IGatewayProviderService gatewayProviderService, INotificationMethod notificationMethod, ExtendedDataCollection extendedData)
: base(gatewayProviderService, notificationMethod)
{
Mandate.ParameterNotNull(extendedData, "extendedData");
_settings = extendedData.GetSmtpProviderSettings();
}
开发者ID:keba74,项目名称:Merchello,代码行数:7,代码来源:SmtpNotificationGatewayMethod.cs
示例4: TaxationGatewayProviderBase
/// <summary>
/// Initializes a new instance of the <see cref="TaxationGatewayProviderBase"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="gatewayProviderSettings">
/// The gateway provider settings.
/// </param>
/// <param name="runtimeCacheProvider">
/// The runtime cache provider.
/// </param>
protected TaxationGatewayProviderBase(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
开发者ID:arknu,项目名称:Merchello,代码行数:19,代码来源:TaxationGatewayProviderBase.cs
示例5: BraintreePaymentGatewayMethodBase
/// <summary>
/// Initializes a new instance of the <see cref="BraintreePaymentGatewayMethodBase"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="paymentMethod">
/// The payment method.
/// </param>
/// <param name="braintreeApiService">
/// The braintree api service.
/// </param>
protected BraintreePaymentGatewayMethodBase(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, IBraintreeApiService braintreeApiService)
: base(gatewayProviderService, paymentMethod)
{
Mandate.ParameterNotNull(braintreeApiService, "braintreeApiService");
_braintreeApiService = braintreeApiService;
}
开发者ID:cmgrey83,项目名称:Merchello.Plugin.Payment.Braintree,代码行数:19,代码来源:BraintreePaymentGatewayMethodBase.cs
示例6: CashPaymentGatewayProvider
/// <summary>
/// Initializes a new instance of the <see cref="CashPaymentGatewayProvider"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="gatewayProviderSettings">
/// The gateway provider settings.
/// </param>
/// <param name="runtimeCacheProvider">
/// The runtime cache provider.
/// </param>
public CashPaymentGatewayProvider(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
开发者ID:jlarc,项目名称:Merchello,代码行数:19,代码来源:CashPaymentGatewayProvider.cs
示例7: BraintreeSubscriptionRecordPaymentMethod
/// <summary>
/// Initializes a new instance of the <see cref="BraintreeSubscriptionRecordPaymentMethod"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="paymentMethod">
/// The payment method.
/// </param>
/// <param name="braintreeApiService">The <see cref="IBraintreeApiService"/></param>
public BraintreeSubscriptionRecordPaymentMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, IBraintreeApiService braintreeApiService)
: base(gatewayProviderService, paymentMethod)
{
Mandate.ParameterNotNull(braintreeApiService, "braintreeApiService");
_braintreeApiService = braintreeApiService;
}
开发者ID:cmgrey83,项目名称:Merchello.Plugin.Payment.Braintree,代码行数:17,代码来源:BraintreeSubscriptionRecordPaymentMethod.cs
示例8: GatewayProviderServiceOnSaved
private void GatewayProviderServiceOnSaved(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("5F2E88D1-6D07-4809-B9AB-D4D6036473E9");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveSmtpProviderSettings(new SmtpNotificationGatewayProviderSettings());
}
开发者ID:drpeck,项目名称:Merchello,代码行数:8,代码来源:SmtpProviderEvents.cs
示例9: NotificationGatewayMethodBase
protected NotificationGatewayMethodBase(IGatewayProviderService gatewayProviderService, INotificationMethod notificationMethod)
{
Mandate.ParameterNotNull(gatewayProviderService, "gatewayProviderService");
Mandate.ParameterNotNull(notificationMethod, "notificationMethod");
_notificationMethod = notificationMethod;
_gatewayProviderService = gatewayProviderService;
}
开发者ID:ProNotion,项目名称:Merchello,代码行数:8,代码来源:NotificationGatewayMethodBase.cs
示例10: GatewayProviderServiceOnSaved
private void GatewayProviderServiceOnSaved(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid(Constants.GatewayProviderSettingsKey);
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
MappingExtensions.SaveProcessorSettings(provider.ExtendedData, new SagePayProcessorSettings());
}
开发者ID:chrisdaaaaay,项目名称:Merchello.Plugins.SagePay,代码行数:8,代码来源:SagePayProviderEvents.cs
示例11: PaymentGatewayMethodBase
protected PaymentGatewayMethodBase(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod)
{
Mandate.ParameterNotNull(gatewayProviderService, "gatewayProviderService");
Mandate.ParameterNotNull(paymentMethod, "paymentMethod");
_gatewayProviderService = gatewayProviderService;
_paymentMethod = paymentMethod;
}
开发者ID:naepalm,项目名称:Merchello,代码行数:8,代码来源:PaymentGatewayMethodBase.cs
示例12: SmtpNotificationGatewayProvider
public SmtpNotificationGatewayProvider(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
开发者ID:drpeck,项目名称:Merchello,代码行数:8,代码来源:SmtpNotificationGatewayProvider.cs
示例13: GatewayProviderServiceOnSaved
private static void GatewayProviderServiceOnSaved(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("C6BF6743-3565-401F-911A-33B68CACB11B");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProcessorSettings(new AuthorizeNetProcessorSettings());
}
开发者ID:BatJan,项目名称:Merchello,代码行数:8,代码来源:AuthorizeNetApplicationEventListener.cs
示例14: GatewayProviderServiceOnSaving
private static void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("15C87B6F-7987-49D9-8444-A2B4406941A8");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProcessorSettings(new StripeProcessorSettings());
}
开发者ID:drpeck,项目名称:Merchello,代码行数:8,代码来源:StripeApplicationEventListener.cs
示例15: GatewayProviderServiceOnSaving
/// <summary>
/// The gateway provider service on saving.
/// </summary>
/// <param name="sender">
/// The sender.
/// </param>
/// <param name="saveEventArgs">
/// The save event args.
/// </param>
private void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> saveEventArgs)
{
var key = new Guid("D143E0F6-98BB-4E0A-8B8C-CE9AD91B0969");
var provider = saveEventArgs.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProviderSettings(new BraintreeProviderSettings());
}
开发者ID:GaryLProthero,项目名称:Merchello,代码行数:18,代码来源:UmbracoApplicationEvents.cs
示例16: GatewayProviderServiceOnSaving
/// <summary>
/// The gateway provider service on saving.
/// </summary>
/// <param name="sender">
/// The sender.
/// </param>
/// <param name="saveEventArgs">
/// The save event args.
/// </param>
private void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> saveEventArgs)
{
var key = new Guid("ddb4b1e5-75ec-4c3f-9a05-a51dbad34b4a");
var provider = saveEventArgs.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProviderSettings(new TaxJarProviderSettings());
}
开发者ID:drpeck,项目名称:Merchello,代码行数:18,代码来源:UmbracoApplicationEvents.cs
示例17: GatewayProviderServiceOnSaving
/// <summary>
/// The gateway provider service on saved.
/// </summary>
/// <param name="sender">
/// The sender.
/// </param>
/// <param name="args">
/// The args.
/// </param>
private static void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("A5C2BFE1-CC2E-4809-9334-2C215E9E20E0");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProcessorSettings(new PurchaseOrderProcessorSettings());
}
开发者ID:drpeck,项目名称:Merchello,代码行数:18,代码来源:PurchaseOrderEvents.cs
示例18: GatewayProviderServiceOnSaving
/// <summary>
/// The gateway provider service on saved.
/// </summary>
/// <param name="sender">
/// The sender.
/// </param>
/// <param name="args">
/// The args.
/// </param>
private static void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("D584F356-454B-4D14-BE44-13D9D25D6A74");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProcessorSettings(new ChaseProcessorSettings());
}
开发者ID:drpeck,项目名称:Merchello,代码行数:18,代码来源:ChaseEvents.cs
示例19: GatewayProviderServiceOnSaving
/// <summary>
/// The gateway provider service on saving.
/// </summary>
/// <param name="sender">
/// The sender.
/// </param>
/// <param name="saveEventArgs">
/// The save event args.
/// </param>
private void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> saveEventArgs)
{
var key = new Guid("DBC48C38-0617-44EA-989A-18AAD8D5DE52");
var provider = saveEventArgs.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProviderSettings(new AvaTaxProviderSettings());
}
开发者ID:Teknyc,项目名称:Merchello,代码行数:18,代码来源:UmbracoApplicationEvents.cs
示例20: GatewayProviderServiceOnSaving
private void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> saveEventArgs)
{
var key = new Guid(Constants.ProviderId);
var provider = saveEventArgs.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProviderSettings(new QuickPayProviderSettings());
}
开发者ID:joelbhansen,项目名称:MerchelloQuickPayProvider,代码行数:9,代码来源:UmbracoApplicationEvents.cs
注:本文中的IGatewayProviderService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论