Skip to content
DocsTry Aspire
DocsTry

CommandLineArgsCallbackContext Constructors

ClassConstructors2 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))
{
// ...
}
}
argsIList<object> The list of command-line arguments.
cancellationTokenCancellationTokenoptional 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))
{
// ...
}
}
argsIList<object> The list of command-line arguments.
resourceIResource The resource associated with this callback context.
cancellationTokenCancellationTokenoptional The cancellation token associated with this execution.