Skip to content
Docs Try Aspire
Docs Try

CommandLineArgsCallbackAnnotation

Class net8.0
📦 Aspire.Hosting v13.3.0
Represents an annotation that provides a callback to be executed with a list of command-line arguments when an executable resource is started.
namespace Aspire.Hosting.ApplicationModel;
public class CommandLineArgsCallbackAnnotation
: Aspire.Hosting.ApplicationModel.ICallbackResourceAnnotation<Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext, System.Collections.Generic.IList<object>>,
Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
ICallbackResourceAnnotation<CommandLineArgsCallbackContext, IList<object>>IResourceAnnotation