.NET Framework Functions
Silk Performer
provides the following functions for interaction with .NET objects:
DotNetLoadObject Function
Loads a .NET Assembly and creates an instance of a .NET type.
DotNetFreeObject Function
Releases the object handle, so that the garbage collector will free the object.
DotNetSetObject Function
Sets an object as parameter for the next
DotNetCallMethod
or
DotNetLoadObject
call in an internal parameter array.
DotNetGetObject Function
Gets the handle to the object returned by the last
DotNetCallMethod
call.
DotNetSetBool Function
Sets a boolean parameter for the next
DotNetCallMethod
or
DotNetLoadObject
call in an internal parameter array.
DotNetGetBool Function
Gets the boolean return value of the last
DotNetCallMethod
call in
bReturn
.
DotNetSetInt Function
Sets an integer parameter for the next
DotNetCallMethod
or
DotNetLoadObject
call in an internal parameter array.
DotNetGetInt Function
Gets the integer return value of the last
DotNetCallMethod
call in
nReturn
.
DotNetSetFloat Function
Sets a float parameter for the next
DotNetCallMethod
or
DotNetLoadObject
call in an internal parameter array.
DotNetGetFloat Function
Gets the float return value of the last
DotNetCallMethod
call in
fReturn
.
DotNetSetString Function
Sets a string parameter for the next
DotNetCallMethod
or
DotNetLoadObject
call in an internal parameter array.
DotNetGetString Function
Gets the string return value of the last
DotNetCallMethod
call in
sReturn
.
DotNetUnitTestCallMethod Function
Calls a test method on a valid unit test object.
DotNetUnitTestFreeObject Function
Releases the object handle, so that the garbage collector will free the object.
DotNetUnitTestLoadObject Function
Loads a .NET Assembly and creates an instance of a .NET type.
DotNetCallMethod Function
Calls a public method on the .NET object or a static method of a .NET type.
親トピック:
Benchmark Description Language (BDL) Reference