File: src\Shared\LaunchProfiles\DefaultLaunchProfileAnnotation.cs
Web Access
Project: src\src\Aspire.Hosting\Aspire.Hosting.csproj (Aspire.Hosting)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Diagnostics;
 
namespace Aspire.Hosting.ApplicationModel;
 
[DebuggerDisplay("Type = {GetType().Name,nq}, LaunchProfileName = {LaunchProfileName}")]
internal sealed class DefaultLaunchProfileAnnotation : IResourceAnnotation
{
    public DefaultLaunchProfileAnnotation(string launchProfileName)
    {
        ArgumentNullException.ThrowIfNull(launchProfileName);
 
        LaunchProfileName = launchProfileName;
    }
 
    public string LaunchProfileName { get; }
}