mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
#nullable disable
|
|
|
|
using System.Collections.Generic;
|
|
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
|
using Microsoft.SqlTools.SqlCore.Scripting.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.Scripting.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Parameters sent when a list objects operation has completed.
|
|
/// </summary>
|
|
public class ScriptingListObjectsCompleteParams : ScriptingCompleteParams
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the list of database objects returned from the list objects operation.
|
|
/// </summary>
|
|
public List<ScriptingObject> ScriptingObjects { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the count of database object returned from the list objects operation.
|
|
/// </summary>
|
|
public int Count { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Event sent to indicate a list objects operation has completed.
|
|
/// </summary>
|
|
public class ScriptingListObjectsCompleteEvent
|
|
{
|
|
public static readonly EventType<ScriptingListObjectsCompleteParams> Type =
|
|
EventType<ScriptingListObjectsCompleteParams>.Create("scripting/listObjectsComplete");
|
|
}
|
|
}
|