mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-11 10:38:32 -05:00
@@ -3,6 +3,8 @@
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using Microsoft.SqlTools.Hosting.Hosting.Contracts;
|
||||
|
||||
namespace Microsoft.SqlTools.Hosting.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
@@ -19,5 +21,10 @@ namespace Microsoft.SqlTools.Hosting.Contracts
|
||||
public ConnectionProviderOptions ConnectionProvider { get; set; }
|
||||
|
||||
public AdminServicesProviderOptions AdminServicesProvider { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of features
|
||||
/// </summary>
|
||||
public FeatureMetadataProvider[] Features { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// 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.Contracts;
|
||||
|
||||
namespace Microsoft.SqlTools.Hosting.Hosting.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Includes the metadata for a feature
|
||||
/// </summary>
|
||||
public class FeatureMetadataProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates whether the feature is enabled
|
||||
/// </summary>
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Feature name
|
||||
/// </summary>
|
||||
public string FeatureName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The options metadata avaialble for this feature
|
||||
/// </summary>
|
||||
public ServiceOption[] OptionsMetadata { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user