| PlatformInvokeT Method (FuncT) | 
 
            Invoke the specified function within the context of this platform, returning its value.
            
 
    Namespace: 
   Eto
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
 Syntax
Syntaxpublic T Invoke<T>(
	Func<T> action
)
Public Function Invoke(Of T) ( 
	action As Func(Of T)
) As T
member Invoke : 
        action : Func<'T> -> 'T 
Parameters
- action
- Type: SystemFuncT
 Action to execute.
Type Parameters
- T
- The type of value to return.
Return Value
Type: 
T[Missing <returns> documentation for "M:Eto.Platform.Invoke``1(System.Func{``0})"]
 Remarks
Remarks
            This is useful when you are using multiple platforms at the same time, and gives you an easy
            way to execute code within the context of this platform, and return its value.
            
 Examples
Examplesvar mycontrol = MyPlatform.Invoke(() => new MyControl());
 See Also
See Also