Timer
种类:class
用于创建计时器。
方法
创建
static ITimer Create(IReactPropertyBag properties)
创建一个 UI 计时器。必须在 UI 线程上调用。当应用程序使用 ReactCoreInjection.SetTimerFactory 提供了自定义计时器实现时,使用此方法而不是 System/Windows.DispatcherQueue.CreateTimer 将会生效。
种类:class
用于创建计时器。
static ITimer Create(IReactPropertyBag properties)
创建一个 UI 计时器。必须在 UI 线程上调用。当应用程序使用 ReactCoreInjection.SetTimerFactory 提供了自定义计时器实现时,使用此方法而不是 System/Windows.DispatcherQueue.CreateTimer 将会生效。