mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-24 09:35:39 -05:00
Clean-up the autocomplete SMO integration.
This commit is contained in:
@@ -34,9 +34,10 @@ namespace Microsoft.SqlTools.ServiceLayer.Workspace.Contracts
|
||||
public string FilePath { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the path which the editor client uses to identify this file.
|
||||
/// Gets or sets the path which the editor client uses to identify this file.
|
||||
/// Setter for testing purposes only
|
||||
/// </summary>
|
||||
public string ClientFilePath { get; private set; }
|
||||
public string ClientFilePath { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a boolean that determines whether
|
||||
@@ -52,7 +53,8 @@ namespace Microsoft.SqlTools.ServiceLayer.Workspace.Contracts
|
||||
public bool IsInMemory { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a string containing the full contents of the file.
|
||||
/// Gets or sets a string containing the full contents of the file.
|
||||
/// Setter for testing purposes only
|
||||
/// </summary>
|
||||
public string Contents
|
||||
{
|
||||
@@ -60,6 +62,10 @@ namespace Microsoft.SqlTools.ServiceLayer.Workspace.Contracts
|
||||
{
|
||||
return string.Join("\r\n", this.FileLines);
|
||||
}
|
||||
set
|
||||
{
|
||||
this.FileLines = value != null ? value.Split('\n') : null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user