IPluginFactoryGetPluginByNameT 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 T GetPluginByName<T>(
string pluginName,
IAtomiaBillingApi atomiaBillingApi
)
where T : class, IPlugin
Function GetPluginByName(Of T As {Class, IPlugin}) (
pluginName As String,
atomiaBillingApi As IAtomiaBillingApi
) As T
generic<typename T>
where T : ref class, IPlugin
T GetPluginByName(
String^ pluginName,
IAtomiaBillingApi^ atomiaBillingApi
)
abstract 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