mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-04 01:25:43 -05:00
Fixing bad data issue w/closing/opening untitled doc (#142)
* Adding useful unit tests for this functionality * Adding callback functionality for when a file is closed * Fixing bad data issue w/closing/opening untitled doc * Adding useful unit tests for this functionality * Adding callback functionality for when a file is closed * Moving from public to internal
This commit is contained in:
committed by
Karl Burtram
parent
ebe155bb94
commit
eba383e251
@@ -14,7 +14,12 @@ namespace Microsoft.SqlTools.ServiceLayer.Hosting.Protocol
|
||||
/// </summary>
|
||||
public class EventContext
|
||||
{
|
||||
private MessageWriter messageWriter;
|
||||
private readonly MessageWriter messageWriter;
|
||||
|
||||
/// <summary>
|
||||
/// Parameterless constructor required for mocking
|
||||
/// </summary>
|
||||
public EventContext() { }
|
||||
|
||||
public EventContext(MessageWriter messageWriter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user