PluginFactoryGetPluginByNameT Method (String, IAtomiaBillingApi) |
Gets the plugin instance by plugin name.
Namespace:
Atomia.Billing.Core.Sdk.Plugins
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static T GetPluginByName<T>(
string pluginName,
IAtomiaBillingApi atomiaBillingApi
)
where T : class, IPlugin
Public Shared Function GetPluginByName(Of T As {Class, IPlugin}) (
pluginName As String,
atomiaBillingApi As IAtomiaBillingApi
) As T
public:
generic<typename T>
where T : ref class, IPlugin
static T GetPluginByName(
String^ pluginName,
IAtomiaBillingApi^ atomiaBillingApi
)
static member GetPluginByName :
pluginName : string *
atomiaBillingApi : IAtomiaBillingApi -> 'T when 'T : not struct and IPlugin
Parameters
- pluginName
- Type: SystemString
Name of the plugin. - atomiaBillingApi
- Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The Atomia Billing API instance.
Type Parameters
- T
- Plugin type.
Return Value
Type:
TRequested plugin instance.
See Also