//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.Hosting.Extensibility
{
///
/// A Service that expects to lookup other services. Using this interface on an exported service
/// will ensure the method is called during
/// service initialization
///
public interface IComposableService
{
///
/// Supports settings the service provider being used to initialize the service.
/// This is useful to look up other services and use them in your own service.
///
void SetServiceProvider(IMultiServiceProvider provider);
}
}