File: Adapter\Interfaces\ISettingsProvider.cs
Web Access
Project: src\src\vstest\src\Microsoft.TestPlatform.ObjectModel\Microsoft.TestPlatform.ObjectModel.csproj (Microsoft.VisualStudio.TestPlatform.ObjectModel)
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Xml;

namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;

/// <summary>
/// Interface implemented to provide a section in the run settings. A class that
/// implements this interface will be available for use if it exports its type via
/// MEF, and if its containing assembly is placed in the Extensions folder.
/// </summary>
public interface ISettingsProvider
{
    /// <summary>
    /// Load the settings from the reader.
    /// </summary>
    /// <param name="reader">Reader to load the settings from.</param>
    void Load(XmlReader reader);
}