mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-17 09:35:37 -05:00
* Create ServiceHost a service-specific class * Renaming hosting namespace * Rename credentials namespace * Fix namespaces
30 lines
800 B
C#
30 lines
800 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.EditData.Contracts
|
|
{
|
|
public class EditSessionReadyParams
|
|
{
|
|
/// <summary>
|
|
/// URI for the editor
|
|
/// </summary>
|
|
public string OwnerUri { get; set; }
|
|
|
|
/// <summary>
|
|
/// Whether or not the session is ready
|
|
/// </summary>
|
|
public bool Success { get; set; }
|
|
}
|
|
|
|
public class EditSessionReadyEvent
|
|
{
|
|
public static readonly
|
|
EventType<EditSessionReadyParams> Type =
|
|
EventType<EditSessionReadyParams>.Create("edit/sessionReady");
|
|
}
|
|
}
|