Click or drag to resize

PlatformAddT Method (FuncT)

Add the instantiator for the specified handler type of T

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Add<T>(
	Func<T> instantiator
)
where T : class

Parameters

instantiator
Type: SystemFuncT
Instantiator to create an instance of the handler

Type Parameters

T
The handler type to add the instantiator for (usually an interface derived from WidgetIHandler)
See Also