当前位置: 首页>>代码示例>>C#>>正文


C# IGatewayProviderService类代码示例

本文整理汇总了C#中IGatewayProviderService的典型用法代码示例。如果您正苦于以下问题:C# IGatewayProviderService类的具体用法?C# IGatewayProviderService怎么用?C# IGatewayProviderService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IGatewayProviderService类属于命名空间,在下文中一共展示了IGatewayProviderService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


注:本文中的IGatewayProviderService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。