added OnEnd()

This commit is contained in:
Mike Nolan 2021-12-12 04:04:41 -06:00
parent 1102aa66ac
commit 331280ff00
8 changed files with 6 additions and 1 deletions

View File

@ -40,7 +40,11 @@ namespace TYTD
{ {
} }
public bool TimerEnabled { get { if (t != null) { return t.Enabled; } else { return false; } } set { if (t != null) { t.Enabled = value; } } } public virtual void OnEnd()
{
}
public bool TimerEnabled { get { if (t != null) { return t.Enabled; } else { return false; } } set { if (t != null) { t.Enabled = value; } } }
public virtual IEnumerable<KeyValuePair<string, string>> GetUrls() public virtual IEnumerable<KeyValuePair<string, string>> GetUrls()
{ {
yield return new KeyValuePair<string, string>("Home",$"api/Extensions/{Name}"); yield return new KeyValuePair<string, string>("Home",$"api/Extensions/{Name}");
@ -85,6 +89,7 @@ namespace TYTD
{ {
t.Dispose(); t.Dispose();
} }
OnEnd();
} }
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.