Platform Methods |
The Platform type exposes the following members.
Name | Description | |
---|---|---|
Add(Type, FuncObject) |
Add the specified type and instantiator.
| |
AddT(FuncT) |
Add the instantiator for the specified handler type of T | |
CacheTKey, TValue |
Gets a shared cache dictionary
| |
Create(Type) |
Creates a new instance of the handler of the specified type
| |
CreateT |
Creates a new instance of the handler of the specified type of T | |
CreateShared(Type) |
Creates a shared singleton instance of the specified type of type | |
CreateSharedT |
Creates a shared singleton instance of the specified type of T | |
Find(Type) |
Find the delegate to create instances of the specified type | |
FindT |
Finds the delegate to create instances of the specified type
| |
Get |
Gets the generator of the specified type
| |
Initialize(String) |
Initialize the generator with the specified platformType as the current generator
| |
Initialize(Platform) |
Initializes the specified platform as the current generator, for the current thread
| |
Invoke(Action) |
Invoke the specified action within the context of this platform
| |
InvokeT(FuncT) |
Invoke the specified function within the context of this platform, returning its value.
| |
LoadAssembly(Assembly) |
Loads the extensions specified by the assembly attribute PlatformExtensionAttribute.
| |
LoadAssembly(String) |
Loads the extensions specified by the assembly attribute PlatformExtensionAttribute.
| |
OnHandlerCreated |
Handles the WidgetCreated event
| |
OnWidgetCreated |
Handles the WidgetCreated event
| |
Supports(Type) |
Gets a value indicating that the specified type is supported by this platform
| |
SupportsT |
Gets a value indicating that the specified type is supported by this platform
| |
ThreadStart |
Used at the start of your custom threads
|