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
Public Sub Add(Of T As Class) (
instantiator As Func(Of T)
)
member Add :
instantiator : Func<'T> -> unit when 'T : not struct
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