mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
23 lines
559 B
C#
23 lines
559 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using LiveGameFeed.Models;
|
|
using Microsoft.Extensions.Logging;
|
|
using RecurrentTasks;
|
|
|
|
namespace LiveGameFeed.Core
|
|
{
|
|
public class FeedEngine : IRunnable
|
|
{
|
|
private ILogger logger;
|
|
|
|
public FeedEngine(ILogger<FeedEngine> logger)
|
|
{
|
|
this.logger = logger;
|
|
}
|
|
public void Run(TaskRunStatus taskRunStatus)
|
|
{
|
|
var msg = string.Format("Run at: {0}", DateTimeOffset.Now);
|
|
logger.LogDebug(msg);
|
|
}
|
|
}
|
|
} |