Persistate API documentation
Invoke Method (method, parameters)
NamespacesPersistateUserInterfaceInvoke(Delegate, array<Object>[]()[][])

[This is preliminary documentation and is subject to change.]

Calls a particular method with a set of parameters, returning an object.
Declaration Syntax
C#
public abstract Object Invoke(
	Delegate method,
	params Object[] parameters
)
Parameters
method (Delegate)
A delegate containing the method to call.
parameters (array<Object>[]()[][])
The parameters to pass to the called
Return Value
The object returned from the method call, if any.
Remarks
In cases where the user interface requires calls to be on a particular thread, this ensures that the call to the method is performed on that thread. For example, when using a Persistate.UI.Desktop.DesktopUserInterface, the method will be called on the thread owning the main form's window handle. In user interfaces with no such constraints, the method is called on the current thread.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)