File: AzureAppServiceEnvironmentContextAnnotation.cs
Web Access
Project: src\src\Aspire.Hosting.Azure.AppService\Aspire.Hosting.Azure.AppService.csproj (Aspire.Hosting.Azure.AppService)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Aspire.Hosting.ApplicationModel;
 
namespace Aspire.Hosting.Azure;
 
/// <summary>
/// Represents an annotation for the Azure App Service environment context.
/// </summary>
internal sealed class AzureAppServiceEnvironmentContextAnnotation(AzureAppServiceEnvironmentContext context)
    : IResourceAnnotation
{
    /// <summary>
    /// Get the Azure App Service environment context.
    /// </summary>
    public AzureAppServiceEnvironmentContext EnvironmentContext { get; } = context;
}