Click or drag to resize

IPluginFactoryGetPluginByNameT Method (String, IAtomiaBillingApi, Object)

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,
	params Object[] args
)
where T : class, IPlugin

Parameters

pluginName
Type: SystemString
Name of the plugin.
atomiaBillingApi
Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The Atomia Billing API instance.
args
Type: SystemObject
The arguments to be passed to plugin's constructor.

Type Parameters

T
Plugin type.

Return Value

Type: T
Requested plugin instance.
See Also