PluginFactoryGetInstanceT Method (String, Object) |
Gets the instance.
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 GetInstance<T>(
string fullClassName,
params Object[] args
)
where T : class, IPlugin
Public Shared Function GetInstance(Of T As {Class, IPlugin}) (
fullClassName As String,
ParamArray args As Object()
) As T
public:
generic<typename T>
where T : ref class, IPlugin
static T GetInstance(
String^ fullClassName,
... array<Object^>^ args
)
static member GetInstance :
fullClassName : string *
args : Object[] -> 'T when 'T : not struct and IPlugin
Parameters
- fullClassName
- Type: SystemString
Full name of the class. - args
- Type: SystemObject
The arguments of type constructor.
Type Parameters
- T
- Type which plugin we need to instantiate.
Return Value
Type:
TType instance
See Also