DomainLoader.ExecuteStaticMethod(TResult) Method (String, String, Object[])

Tungsten Suite

DomainLoaderExecuteStaticMethodTResult Method (String, String, Object)

Executes a static method on the specified type across the AppDomain

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

Parameters

typeName
Type: SystemString
The name of the type which exposes the static method
staticMethodName
Type: SystemString
The name of the static method
args
Type: SystemObject
Any parameters to be passedd 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.

Implements

IDomainLoaderExecuteStaticMethodTResult(String, String, Object)
See Also