//
// 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
{
///
/// Parameters sent when a list objects operation has completed.
///
public class ScriptingListObjectsCompleteParams : ScriptingCompleteParams
{
///
/// Gets or sets the list of database objects returned from the list objects operation.
///
public List ScriptingObjects { get; set; }
///
/// Gets or sets the count of database object returned from the list objects operation.
///
public int Count { get; set; }
}
///
/// Event sent to indicate a list objects operation has completed.
///
public class ScriptingListObjectsCompleteEvent
{
public static readonly EventType Type =
EventType.Create("scripting/listObjectsComplete");
}
}