8 references to CancellationToken
Aspire.Hosting.Native.Core.Tests (3)
TestServices\LifecycleProviderTestIntegration.cs (3)
87await invocation(target, other, context.CancellationToken); 93var phase = await scope.ReadLifecyclePhaseAsync(context.CancellationToken); 98await handler(phase, scope, context.CancellationToken);
NativeIntegrations.Redis.Contracts (5)
artifacts\obj\NativeIntegrations.Redis.Contracts\Debug\provider-contract\ProviderContract.g.cs (5)
17var result = await global::NativeIntegrations.Redis.RedisExtensions.AddRedis(new global::Aspire.Hosting.Native.Client.Composition(context.Client, args.GetProperty("composition")), args.GetProperty("name").GetString()!, new global::Aspire.Hosting.Native.Client.DeclaredValue(context.Client, args.GetProperty("password")), context.CancellationToken).ConfigureAwait(false); 32await context.ReadResource<global::NativeIntegrations.Redis.RedisResource>(args.GetProperty("context")).Initialize(new global::Aspire.Hosting.Native.Client.ResourceLifecycleScope(context.Client, args.GetProperty("scope")), context.CancellationToken).ConfigureAwait(false); 37await context.ReadResource<global::NativeIntegrations.Redis.RedisResource>(args.GetProperty("context")).Allocated(new global::Aspire.Hosting.Native.Client.ResourceLifecycleScope(context.Client, args.GetProperty("scope")), context.CancellationToken).ConfigureAwait(false); 42await context.ReadResource<global::NativeIntegrations.Redis.RedisResource>(args.GetProperty("context")).Ready(new global::Aspire.Hosting.Native.Client.ResourceLifecycleScope(context.Client, args.GetProperty("scope")), context.CancellationToken).ConfigureAwait(false); 47await context.ReadResource<global::NativeIntegrations.Redis.RedisResource>(args.GetProperty("context")).Retiring(new global::Aspire.Hosting.Native.Client.ResourceLifecycleScope(context.Client, args.GetProperty("scope")), context.CancellationToken).ConfigureAwait(false);