Share via


CommandLineArgsCallbackContext(IList<Object>, CancellationToken) Constructor

Definition

Represents a callback context for the list of command-line arguments associated with an executable resource.

public CommandLineArgsCallbackContext (System.Collections.Generic.IList<object> args, System.Threading.CancellationToken cancellationToken = default);
new Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext : System.Collections.Generic.IList<obj> * System.Threading.CancellationToken -> Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext
Public Sub New (args As IList(Of Object), Optional cancellationToken As CancellationToken = Nothing)

Parameters

args
IList<Object>

The list of command-line arguments.

cancellationToken
CancellationToken

The cancellation token associated with this execution.

Applies to