mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-29 03:26:31 +08:00
17 lines
417 B
C#
17 lines
417 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Util.Samples.Schedulers.Services {
|
|
/// <summary>
|
|
/// 测试服务1
|
|
/// </summary>
|
|
public class TestService1 : ITestService1 {
|
|
public async Task HelloAsync() {
|
|
await Console.Out.WriteLineAsync( "Hello" );
|
|
}
|
|
public void Dispose() {
|
|
Console.WriteLine( "TestService-1释放了" );
|
|
}
|
|
}
|
|
}
|