mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:35:43 -05:00
* FIx intellisense cache not refreshing * Remove extra newlines * Output label to provide more useful information in case of error
20 lines
545 B
C#
20 lines
545 B
C#
using System.Threading.Tasks;
|
|
using Microsoft.SqlTools.Hosting.Protocol;
|
|
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.Test.Common
|
|
{
|
|
/// <summary>
|
|
/// Simple EventContext for testing that just swallows all events.
|
|
/// </summary>
|
|
public class TestEventContext : EventContext
|
|
{
|
|
public override async Task SendEvent<TParams>(
|
|
EventType<TParams> eventType,
|
|
TParams eventParams)
|
|
{
|
|
await Task.FromResult(0);
|
|
}
|
|
}
|
|
}
|