C# Class Mapsui.Samples.Common.PeriodicTask

Show file Open project: pauldendulk/Mapsui

Public Methods

Method Description
Run ( System.Action action, System.TimeSpan period ) : Task
Run ( System.Action action, System.TimeSpan period, CancellationToken cancellationToken ) : Task

Method Details

Run() public static method

public static Run ( System.Action action, System.TimeSpan period ) : Task
action System.Action
period System.TimeSpan
return Task

Run() public static method

public static Run ( System.Action action, System.TimeSpan period, CancellationToken cancellationToken ) : Task
action System.Action
period System.TimeSpan
cancellationToken System.Threading.CancellationToken
return Task