DefaultRenderTimer.

StartCore(Action<TimeSpan>) Method

Summary

Provides the implementation of starting the timer.
Namespace
Avalonia.Rendering
Containing Type
DefaultRenderTimer

Syntax

protected virtual IDisposable StartCore(Action<TimeSpan> tick)

Remarks

This can be overridden by platform implementations to use a specialized timer implementation.

Parameters

Name Type Description
tick Action<TimeSpan> The method to call on each tick.

Return Value

Type Description
IDisposable