3 writes to PartitionCount
Aspire.Hosting.Azure.Tests (3)
AzureEventHubsExtensionsTests.cs (3)
219
eventHubs.WithHub("hub1", hub => hub.
PartitionCount
= 3);
285
hub.
PartitionCount
= 4;
316
hub.
PartitionCount
= 4;
6 references to PartitionCount
Aspire.Hosting.Azure.EventHubs (6)
EventHub.cs (6)
51
if (
PartitionCount
.HasValue)
53
hub.PartitionCount =
PartitionCount
.Value;
69
if (hub.
PartitionCount
.HasValue)
71
writer.WriteNumber(nameof(
PartitionCount
), hub.
PartitionCount
.Value);
79
writer.WriteNumber(nameof(
PartitionCount
), 1);