blob: 46cecd74006f27b5030e8c48b26b8478112383ca (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 90 00 00 02 14 08 06 00 00 00 34 76 7a | .PNG........IHDR.............4vz |
| 0020 | 9f 00 00 00 01 73 52 47 42 00 ae ce 1c e9 00 00 00 04 67 41 4d 41 00 00 b1 8f 0b fc 61 05 00 00 | .....sRGB.........gAMA......a... |
| 0040 | 00 09 70 48 59 73 00 00 40 f3 00 00 40 f3 01 72 63 37 d4 00 00 00 58 74 45 58 74 43 6f 70 79 72 | ..pHYs..@...@..rc7.using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.MachineStudio.Common.Threading
{
/// <summary>
/// Represents a mechanism for invoking actions on the main application thread.
/// </summary>
public interface IDispatcherProvider
{
/// <summary>
/// Invokes the specified action asynchronously.
/// </summary>
/// <param name="action">The action.</param>
void Invoke(Action action);
/// <summary>
/// Invokes the specified action synchronously.
/// </summary>
/// <param name="action">The action.</param>
void InvokeSync(Action action);
}
}
|