2 writes to ContainerProperties
Aspire.Hosting.Azure.CosmosDB (2)
AzureCosmosDBContainerResource.cs (2)
44ContainerProperties = new ContainerProperties(containerName, partitionKeyPathsArray); 60ContainerProperties = new ContainerProperties(containerName, partitionKeyPath);
8 references to ContainerProperties
Aspire.Hosting.Azure.CosmosDB (8)
AzureCosmosDBContainerResource.cs (6)
74get => ContainerProperties.Id; 75set => ContainerProperties.Id = ThrowIfNullOrEmpty(value); 83get => ContainerProperties.PartitionKeyPath; 84set => ContainerProperties.PartitionKeyPath = ThrowIfNullOrEmpty(value); 92get => ContainerProperties.PartitionKeyPaths; 104ContainerProperties.PartitionKeyPaths = value;
AzureCosmosDBExtensions.cs (2)
146var containerProperties = container.ContainerProperties; 696if (container.ContainerProperties.PartitionKeyDefinitionVersion is { } version)