Y2S2-Syski/syski_api/uk.co.syski.websocket/Services/WebSockets/Actions/Tasks/DefaultTask.cs
2020-06-09 21:02:14 +01:00

24 lines
529 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Syski.Data;
namespace Syski.WebSocket.Services.WebSockets.Actions.Tasks
{
public class DefaultTask : ActionTask
{
public DefaultTask(string action, IServiceProvider serviceProvider) : base(action, serviceProvider)
{
}
public override void ExecuteActionTask(WebSocketConnection webSocketConnection)
{
webSocketConnection.SendAction(action);
}
}
}