mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-07-15 23:13:33 +08:00
22 lines
394 B
C#
22 lines
394 B
C#
![]() |
namespace CPF.Mac.CoreFoundation
|
||
|
{
|
||
|
public struct DispatchTime
|
||
|
{
|
||
|
public static readonly DispatchTime Now = default(DispatchTime);
|
||
|
|
||
|
public static readonly DispatchTime Forever = new DispatchTime(ulong.MaxValue);
|
||
|
|
||
|
public ulong Nanoseconds
|
||
|
{
|
||
|
get;
|
||
|
private set;
|
||
|
}
|
||
|
|
||
|
public DispatchTime(ulong nanoseconds)
|
||
|
{
|
||
|
this = default(DispatchTime);
|
||
|
Nanoseconds = nanoseconds;
|
||
|
}
|
||
|
}
|
||
|
}
|