Share via


CommandLineArgsCallbackContext Constructors

Definition

Overloads

CommandLineArgsCallbackContext(IList<Object>, CancellationToken)

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

CommandLineArgsCallbackContext(IList<Object>, IResource, CancellationToken)

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

CommandLineArgsCallbackContext(IList<Object>, CancellationToken)

Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs

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

CommandLineArgsCallbackContext(IList<Object>, IResource, CancellationToken)

Source:
CommandLineArgsCallbackAnnotation.cs

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

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

Parameters

args
IList<Object>

The list of command-line arguments.

resource
IResource

The resource associated with this callback context.

cancellationToken
CancellationToken

The cancellation token associated with this execution.

Applies to