net10.0
namespace Aspire.Hosting
{
    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
    [Experimental("ASPIREATS001")]
    public sealed class AspireExportAttribute : Attribute
    {
        public bool ExposeProperties { get; set; }
    }
}
.NET
8.09.010.0
Information specific to net10.0
Assembly

Aspire.Hosting , Version=13.2.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (13.2.0-preview.1.26065.7) net8.0
Preview ASPIREATS001: This API is marked as experimental.(more details)
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API