using Microsoft.AspNetCore.SignalR; namespace xPushService.Interfaces { public interface IXHubContextFactory { IHubContext Create() where THub : Hub; } }