コード例 #1
0
 /// <summary>
 /// For testing
 /// </summary>
 internal void DeactivateProvider(GatewayProviderBase provider)
 {
     if (!provider.Activated)
     {
         return;
     }
     _gatewayProviderService.Delete(provider.GatewayProviderSettings);
     GatewayProviderResolver.Current.RefreshCache();
 }
コード例 #2
0
 /// <summary>
 /// For testing
 /// </summary>
 internal void DeactivateProvider(GatewayProviderBase provider)
 {
     if (!provider.Activated) return;
     _gatewayProviderService.Delete(provider.GatewayProviderSettings);
     GatewayProviderResolver.Current.RefreshCache();
 }
コード例 #3
0
 /// <summary>
 /// Deactivates a <see cref="IGatewayProviderSettings"/>
 /// </summary>
 /// <param name="provider">The GatewayProvider to be deactivated</param>
 public void DeactivateProvider(GatewayProviderBase provider)
 {
     DeactivateProvider(provider.GatewayProviderSettings);
 }