Skip to content
Docs Try Aspire

CommandLineArgsCallbackContext Constructors

Class Constructors 2 members
Represents a callback context for the list of command-line arguments associated with an executable resource.
Constructor(IList<object>, CancellationToken) Section titled Constructor(IList<object>, CancellationToken)
Represents a callback context for the list of command-line arguments associated with an executable resource.
public sealed class CommandLineArgsCallbackContext
{
public CommandLineArgsCallbackContext(
IList<object> args,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
args IList<object> The list of command-line arguments.
cancellationToken CancellationToken optional The cancellation token associated with this execution.
Constructor(IList<object>, IResource, CancellationToken) Section titled Constructor(IList<object>, IResource, CancellationToken)
Represents a callback context for the list of command-line arguments associated with an executable resource.
public sealed class CommandLineArgsCallbackContext
{
public CommandLineArgsCallbackContext(
IList<object> args,
IResource resource,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
args IList<object> The list of command-line arguments.
resource IResource The resource associated with this callback context.
cancellationToken CancellationToken optional The cancellation token associated with this execution.