Click or drag to resize

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>()

Type Parameters

T
The type of handler to get a shared instance for

Return Value

Type: T
The 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