Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- using System;
-
- namespace SUISSEngine
- {
- public abstract class Timer
- {
- public Timer(Action action)
- {
- this._action = action;
- this._cancelled = false;
- }
-
- public Action Action
- {
- get
- {
- return this._action;
- }
- }
-
- public bool IsCancelled
- {
- get
- {
- return this._cancelled;
- }
- }
-
- public virtual void Cancel()
- {
- this._cancelled = true;
- this._action = null;
- }
-
- protected Action _action;
-
- protected bool _cancelled;
- }
- }
|