1
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BITKit
|
||||
{
|
||||
public interface ITag
|
||||
{
|
||||
int Hash { get; }
|
||||
string[] GetTags();
|
||||
IReadOnlyCollection<string> Tags { get; }
|
||||
}
|
||||
}
|
@@ -41,7 +41,7 @@ namespace BITKit
|
||||
/// <summary>
|
||||
/// 异步循环
|
||||
/// </summary>
|
||||
public interface IAsyncTicker
|
||||
public interface IAsyncTicker:IDisposable
|
||||
{
|
||||
ulong TickCount { get; }
|
||||
int TickRate { get; set; }
|
||||
@@ -183,6 +183,7 @@ namespace BITKit
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
OnTickAsync = null;
|
||||
_isDisposed = true;
|
||||
_timer.Stop();
|
||||
_timer.Dispose();
|
||||
|
Reference in New Issue
Block a user