3 implementations of ICallbackResourceAnnotation
Aspire.Hosting (3)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (1)
15
public class CommandLineArgsCallbackAnnotation : IResourceAnnotation,
IArgCallbackAnnotation
ApplicationModel\EnvironmentCallbackAnnotation.cs (1)
14
public class EnvironmentCallbackAnnotation : IResourceAnnotation,
IEnvCallbackAnnotation
ApplicationModel\LaunchToolArgsCallbackAnnotation.cs (1)
34
internal sealed class LaunchToolArgsCallbackAnnotation : IResourceAnnotation,
IArgCallbackAnnotation
19 references to ICallbackResourceAnnotation
Aspire.Hosting (19)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (5)
10
using IArgCallbackAnnotation =
ICallbackResourceAnnotation
<CommandLineArgsCallbackContext, IList<object>>;
51
internal
IArgCallbackAnnotation
AsCallbackAnnotation() => this;
53
Task<IList<object>>
IArgCallbackAnnotation
.EvaluateOnceAsync(CommandLineArgsCallbackContext context)
65
void
IArgCallbackAnnotation
.ForgetCachedResult()
73
bool
IArgCallbackAnnotation
.TryGetCachedResult(out Task<IList<object>>? result)
ApplicationModel\EnvironmentCallbackAnnotation.cs (5)
8
using IEnvCallbackAnnotation =
ICallbackResourceAnnotation
<EnvironmentCallbackContext, Dictionary<string, object>>;
84
internal
IEnvCallbackAnnotation
AsCallbackAnnotation() => this;
86
Task<Dictionary<string, object>>
IEnvCallbackAnnotation
.EvaluateOnceAsync(EnvironmentCallbackContext context)
98
void
IEnvCallbackAnnotation
.ForgetCachedResult()
106
bool
IEnvCallbackAnnotation
.TryGetCachedResult(out Task<Dictionary<string, object>>? result)
ApplicationModel\LaunchToolArgsCallbackAnnotation.cs (5)
8
using IArgCallbackAnnotation =
ICallbackResourceAnnotation
<CommandLineArgsCallbackContext, IList<object>>;
91
internal
IArgCallbackAnnotation
AsCallbackAnnotation() => this;
93
Task<IList<object>>
IArgCallbackAnnotation
.EvaluateOnceAsync(CommandLineArgsCallbackContext context)
102
void
IArgCallbackAnnotation
.ForgetCachedResult()
110
bool
IArgCallbackAnnotation
.TryGetCachedResult(out Task<IList<object>>? result)
ApplicationModel\ResourceDependencyDiscoveryOptions.cs (1)
25
/// <see cref="
ICallbackResourceAnnotation
{TContext, TResult}.EvaluateOnceAsync"/> call and never invokes a
Dcp\DcpExecutor.cs (3)
1336
((
ICallbackResourceAnnotation
<EnvironmentCallbackContext, Dictionary<string, object>>)callback).ForgetCachedResult();
1344
((
ICallbackResourceAnnotation
<CommandLineArgsCallbackContext, IList<object>>)callback).ForgetCachedResult();
1352
((
ICallbackResourceAnnotation
<CommandLineArgsCallbackContext, IList<object>>)callback).ForgetCachedResult();