This callback is used to ensure that resources protocol content is loaded on the main thread.
Public Member Functions | |
| ResourcesProtocolCallback (DataPackage package, FilePath path) | |
| ResourcesProtocolCallback (TextPackage package, FilePath path) | |
| ResourcesProtocolCallback (ImagePackage package, FilePath path) | |
| override void | OnRun () |
| Always called on the main thread. Runs this callback now. More... | |
Public Member Functions inherited from PowerUI.Callback | |
| void | Go () |
| Sends this callback to the main queue. OnRun will later be called. More... | |
Public Attributes | |
| FilePath | Path |
| The path of the file to load. More... | |
| TextPackage | Text |
| A text package for the actively loading text. More... | |
| DataPackage | Data |
| A data package for the actively loading raw data. More... | |
| ImagePackage | Images |
| An image package for the actively loading image. More... | |
| FileProtocol | Protocol |
| Fast reference to the resources:// protocol handler. Could alternatively use FileProtocols.Get. More... | |
Public Attributes inherited from PowerUI.Callback | |
| Callback | NextCallback |
| Stored as a linked list - this is the next callback. More... | |
Additional Inherited Members | |
Properties inherited from PowerUI.Callback | |
| static bool | WillRunImmediately [get] |
| True if callbacks will run immediately with no delay. More... | |
| static bool | WillDelay [get] |
| True if callbacks will be delayed until the next callback run. More... | |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Always called on the main thread. Runs this callback now.
Reimplemented from PowerUI.Callback.
| DataPackage PowerUI.ResourcesProtocolCallback.Data |
A data package for the actively loading raw data.
| ImagePackage PowerUI.ResourcesProtocolCallback.Images |
An image package for the actively loading image.
| FilePath PowerUI.ResourcesProtocolCallback.Path |
The path of the file to load.
| FileProtocol PowerUI.ResourcesProtocolCallback.Protocol |
Fast reference to the resources:// protocol handler. Could alternatively use FileProtocols.Get.
| TextPackage PowerUI.ResourcesProtocolCallback.Text |
A text package for the actively loading text.