PlatformAdd Method (Type, FuncObject) |
Add the specified type and instantiator.
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void Add(
Type type,
Func<Object> instantiator
)
Public Sub Add (
type As Type,
instantiator As Func(Of Object)
)
member Add :
type : Type *
instantiator : Func<Object> -> unit
Parameters
- type
- Type: SystemType
Type of the handler (usually an interface derived from WidgetIHandler) - instantiator
- Type: SystemFuncObject
Instantiator to create an instance of the handler
See Also