mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Activities System.Activities.DurableInstancing System.Activities.Presentation System.Runtime.DurableInstancing System.Workflow.Activities System.Workflow.ComponentModel System.Workflow.Runtime System.WorkflowServices System.Xaml.Hosting XamlBuildTask
29 lines
808 B
C#
29 lines
808 B
C#
//-----------------------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
namespace System.Activities.Statements
|
|
{
|
|
using System;
|
|
|
|
public abstract class TimerExtension
|
|
{
|
|
protected TimerExtension()
|
|
{
|
|
}
|
|
|
|
public void RegisterTimer(TimeSpan timeout, Bookmark bookmark)
|
|
{
|
|
this.OnRegisterTimer(timeout, bookmark);
|
|
}
|
|
|
|
public void CancelTimer(Bookmark bookmark)
|
|
{
|
|
this.OnCancelTimer(bookmark);
|
|
}
|
|
|
|
protected abstract void OnRegisterTimer(TimeSpan timeout, Bookmark bookmark);
|
|
protected abstract void OnCancelTimer(Bookmark bookmark);
|
|
}
|
|
}
|