net11.0
namespace Aspire.Hosting.ApplicationModel
{
    [AspireDto]
    public class CommandOptions
    {
        [Obsolete("Use Arguments to describe invocation arguments and ExecuteCommandContext.Arguments to read them.")]
        public object? Parameter { get; set; }
    }
}
.NET
8.09.010.011.0
Information specific to net11.0
Assemblies

Aspire.Hosting , Version=13.4.3.0, PublicKeyToken=cc7b13ffcd2ddd51

Aspire.Hosting , Version=13.5.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (13.4.3) net8.0
Obsolete Use Arguments to describe invocation arguments and ExecuteCommandContext.Arguments to read them.
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API