mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-20 08:29:50 +08:00
27 lines
672 B
C#
27 lines
672 B
C#
using BetterGenshinImpact;
|
|
using Microsoft.Extensions.Logging;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Vision.Recognition.Task
|
|
{
|
|
public class BaseTaskThread
|
|
{
|
|
protected ILogger<BaseTaskThread> Log;
|
|
|
|
protected CancellationTokenSource Cancellation;
|
|
|
|
protected ITaskContext TaskContext;
|
|
|
|
public BaseTaskThread(ILogger<BaseTaskThread> logger, CancellationTokenSource cts, ITaskContext taskContext)
|
|
{
|
|
Log = logger;
|
|
Cancellation = cts;
|
|
TaskContext = taskContext;
|
|
}
|
|
}
|
|
} |