7 instantiations of ResourcePropertySnapshot
Aspire.Hosting (1)
src\Shared\CustomResourceSnapshotExtensions.cs (1)
31
return [.. properties, new
ResourcePropertySnapshot
(name, value)];
Aspire.Hosting.Azure (1)
src\Shared\CustomResourceSnapshotExtensions.cs (1)
31
return [.. properties, new
ResourcePropertySnapshot
(name, value)];
Aspire.Hosting.Tests (5)
ResourceNotificationTests.cs (5)
71
await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(
new
("A", "value")) }).DefaultTimeout();
73
await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(
new
("B", "value")) }).DefaultTimeout();
124
await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(
new
("A", "value")) }).DefaultTimeout();
126
await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(
new
("B", "value")) }).DefaultTimeout();
128
await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(
new
("C", "value")) }).DefaultTimeout();
8 references to ResourcePropertySnapshot
Aspire.Hosting (3)
src\Shared\CustomResourceSnapshotExtensions.cs (3)
11
internal static ImmutableArray<
ResourcePropertySnapshot
> SetResourceProperty(this ImmutableArray<
ResourcePropertySnapshot
> properties, string name, object value)
15
var
property = properties[i];
Aspire.Hosting.Azure (5)
Provisioning\Provisioners\BicepProvisioner.cs (2)
88
ImmutableArray<
ResourcePropertySnapshot
> props = [
338
ImmutableArray<
ResourcePropertySnapshot
> properties = [
src\Shared\CustomResourceSnapshotExtensions.cs (3)
11
internal static ImmutableArray<
ResourcePropertySnapshot
> SetResourceProperty(this ImmutableArray<
ResourcePropertySnapshot
> properties, string name, object value)
15
var
property = properties[i];