PlatformCreateSharedT Method |
Creates a shared singleton instance of the specified type of T
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public T CreateShared<T>()
Public Function CreateShared(Of T) As T
member CreateShared : unit -> 'T
Type Parameters
- T
- The type of handler to get a shared instance for
Return Value
Type:
TThe shared instance of a handler of the given type, or a new instance if not already created
Remarks
This extension should be used when creating shared instances of a fixed type.
See Also