IDomainLoader.Execute(TResult) Method (String, String, Object[])

Tungsten Suite

IDomainLoaderExecuteTResult Method (String, String, Object)

Instantiates a class and calls a method exposed by it.

Namespace:  W.Domains
Assembly:  Tungsten.Domains (in Tungsten.Domains.dll) Version: 2.0.0
Syntax
C#
TResult Execute<TResult>(
	string typeName,
	string methodName,
	params Object[] args
)

Parameters

typeName
Type: SystemString
The name of the type which exposes the static method
methodName
Type: SystemString
The name of the static method
args
Type: SystemObject
Any arguments to be passed to the static method

Type Parameters

TResult
The result of the function call is cast to TResult

Return Value

Type: TResult
The return value from the function, casted to TResult
See Also