共用方式為


ContainerRuntimeArgsCallbackAnnotation Constructors

Definition

Overloads

ContainerRuntimeArgsCallbackAnnotation(Action<IList<Object>>)

Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.

ContainerRuntimeArgsCallbackAnnotation(Func<ContainerRuntimeArgsCallbackContext,Task>)

Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.

ContainerRuntimeArgsCallbackAnnotation(Action<IList<Object>>)

Source:
ContainerRuntimeArgsCallbackAnnotation.cs
Source:
ContainerRuntimeArgsCallbackAnnotation.cs

Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.

public ContainerRuntimeArgsCallbackAnnotation (Action<System.Collections.Generic.IList<object>> callback);
new Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation : Action<System.Collections.Generic.IList<obj>> -> Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation
Public Sub New (callback As Action(Of IList(Of Object)))

Parameters

callback
Action<IList<Object>>

The callback action to be executed.

Applies to

ContainerRuntimeArgsCallbackAnnotation(Func<ContainerRuntimeArgsCallbackContext,Task>)

Source:
ContainerRuntimeArgsCallbackAnnotation.cs
Source:
ContainerRuntimeArgsCallbackAnnotation.cs

Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.

public ContainerRuntimeArgsCallbackAnnotation (Func<Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackContext,System.Threading.Tasks.Task> callback);
new Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation : Func<Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation
Public Sub New (callback As Func(Of ContainerRuntimeArgsCallbackContext, Task))

Parameters

Applies to