Click or drag to resize

Platform Methods

The Platform type exposes the following members.

Methods
  NameDescription
Public methodAdd(Type, FuncObject)
Add the specified type and instantiator.
Public methodAddT(FuncT)
Add the instantiator for the specified handler type of T
Public methodCacheTKey, TValue
Gets a shared cache dictionary
Public methodCreate(Type)
Creates a new instance of the handler of the specified type
Public methodCreateT
Creates a new instance of the handler of the specified type of T
Public methodCreateShared(Type)
Creates a shared singleton instance of the specified type of type
Public methodCreateSharedT
Creates a shared singleton instance of the specified type of T
Public methodFind(Type)
Find the delegate to create instances of the specified type
Public methodFindT
Finds the delegate to create instances of the specified type
Public methodStatic memberGet
Gets the generator of the specified type
Public methodStatic memberInitialize(String)
Initialize the generator with the specified platformType as the current generator
Public methodStatic memberInitialize(Platform)
Initializes the specified platform as the current generator, for the current thread
Public methodInvoke(Action)
Invoke the specified action within the context of this platform
Public methodCode exampleInvokeT(FuncT)
Invoke the specified function within the context of this platform, returning its value.
Public methodLoadAssembly(Assembly)
Loads the extensions specified by the assembly attribute PlatformExtensionAttribute.
Public methodLoadAssembly(String)
Loads the extensions specified by the assembly attribute PlatformExtensionAttribute.
Protected methodOnHandlerCreated
Handles the WidgetCreated event
Protected methodOnWidgetCreated
Handles the WidgetCreated event
Public methodSupports(Type)
Gets a value indicating that the specified type is supported by this platform
Public methodSupportsT
Gets a value indicating that the specified type is supported by this platform
Public methodThreadStart
Used at the start of your custom threads
Top
See Also