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