10 references to Value
Aspire.Hosting.Native.Client (8)
Authoring\DistributedApplicationBuilder.cs (1)
240public static ReferenceExpression ConnectionReference(Resource resource) => new(context => context.Value(context._connections[resource]));
Authoring\Resource.cs (3)
82var result = await context.Value(syntax[0]).ConfigureAwait(false); 85result = await result.ConcatValueAsync(await context.Value(part).ConfigureAwait(false), context.Token).ConfigureAwait(false); 94await (await context.Value(this).ConfigureAwait(false)).EncodeUriValueAsync(context.Token).ConfigureAwait(false));
Authoring\ResourceBuilderExtensions.cs (4)
48.WithEnvironmentAsync(name, await context.Value(value).ConfigureAwait(false), context.Token).ConfigureAwait(false)); 75.WithArgumentAsync(await context.Value(argument).ConfigureAwait(false), context.Token).ConfigureAwait(false)); 139await context.Value(context.Connection(producer.Resource)).ConfigureAwait(false), context.Token).ConfigureAwait(false)); 171await context.Value(value).ConfigureAwait(false), context.Token).ConfigureAwait(false);
NativeIntegrations.Redis (1)
RedisExtensions.cs (1)
24await native.Value(cache.Resource.ConnectionStringExpression).ConfigureAwait(false));
NativeIntegrations.Redis.Contracts (1)
RedisBuilderExtensions.cs (1)
21var cache = await context.Composition.AddRedisAsync(name, await context.Value(credential).ConfigureAwait(false), context.Token).ConfigureAwait(false);