File: External\ExtensionMessageContext.cs
Web Access
Project: src\src\Tools\ExternalAccess\Extensions\Microsoft.CodeAnalysis.ExternalAccess.Extensions.csproj (Microsoft.CodeAnalysis.ExternalAccess.Extensions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using System;
 
namespace Microsoft.CodeAnalysis.Extensions;
 
/// <summary>
/// Represents the context of an extension message handler.
/// </summary>
public sealed class ExtensionMessageContext
{
    internal ExtensionMessageContext(Solution solution)
    {
        Solution = solution;
    }
 
    /// <summary>
    /// Gets the current solution state.
    /// </summary>
    public Solution Solution { get; }
}