mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
Make SerializeDataStartRequestParams properties public so they can be populated properly wehn deserializing the RPC request. (#1726)
This commit is contained in:
@@ -114,43 +114,43 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
|
|||||||
this.IsLastBatch = isLast;
|
this.IsLastBatch = isLast;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal bool IncludeHeaders
|
public bool IncludeHeaders
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<bool>(SerializationOptionsHelper.IncludeHeaders); }
|
get { return this.GetOptionValue<bool>(SerializationOptionsHelper.IncludeHeaders); }
|
||||||
set { this.SetOptionValue<bool>(SerializationOptionsHelper.IncludeHeaders, value); }
|
set { this.SetOptionValue<bool>(SerializationOptionsHelper.IncludeHeaders, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal string Delimiter
|
public string Delimiter
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<string>(SerializationOptionsHelper.Delimiter); }
|
get { return this.GetOptionValue<string>(SerializationOptionsHelper.Delimiter); }
|
||||||
set { this.SetOptionValue<string>(SerializationOptionsHelper.Delimiter, value); }
|
set { this.SetOptionValue<string>(SerializationOptionsHelper.Delimiter, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal string LineSeparator
|
public string LineSeparator
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<string>(SerializationOptionsHelper.LineSeparator); }
|
get { return this.GetOptionValue<string>(SerializationOptionsHelper.LineSeparator); }
|
||||||
set { this.SetOptionValue<string>(SerializationOptionsHelper.LineSeparator, value); }
|
set { this.SetOptionValue<string>(SerializationOptionsHelper.LineSeparator, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal string TextIdentifier
|
public string TextIdentifier
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<string>(SerializationOptionsHelper.TextIdentifier); }
|
get { return this.GetOptionValue<string>(SerializationOptionsHelper.TextIdentifier); }
|
||||||
set { this.SetOptionValue<string>(SerializationOptionsHelper.TextIdentifier, value); }
|
set { this.SetOptionValue<string>(SerializationOptionsHelper.TextIdentifier, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal string Encoding
|
public string Encoding
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<string>(SerializationOptionsHelper.Encoding); }
|
get { return this.GetOptionValue<string>(SerializationOptionsHelper.Encoding); }
|
||||||
set { this.SetOptionValue<string>(SerializationOptionsHelper.Encoding, value); }
|
set { this.SetOptionValue<string>(SerializationOptionsHelper.Encoding, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal bool Formatted
|
public bool Formatted
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<bool>(SerializationOptionsHelper.Formatted); }
|
get { return this.GetOptionValue<bool>(SerializationOptionsHelper.Formatted); }
|
||||||
set { this.SetOptionValue<bool>(SerializationOptionsHelper.Formatted, value); }
|
set { this.SetOptionValue<bool>(SerializationOptionsHelper.Formatted, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal int MaxCharsToStore
|
public int MaxCharsToStore
|
||||||
{
|
{
|
||||||
get { return this.GetOptionValue<int>(SerializationOptionsHelper.MaxCharsToStore); }
|
get { return this.GetOptionValue<int>(SerializationOptionsHelper.MaxCharsToStore); }
|
||||||
set { this.SetOptionValue<int>(SerializationOptionsHelper.Formatted, value); }
|
set { this.SetOptionValue<int>(SerializationOptionsHelper.Formatted, value); }
|
||||||
|
|||||||
Reference in New Issue
Block a user