12 references to CollectionKind
Aspire.Hosting.Azure.Provisioning.Generators (12)
AspireProvisioningProxyGenerator.cs (12)
434if (TryGetCollection(type, out var collectionKind, out var elementType, out var collectionType)) 1268if (collection.Kind == CollectionKind.Dictionary) 1279if (collection.Kind == CollectionKind.List) 1309.Append(collection.Kind == CollectionKind.List ? "int index" : "string key") 1313var indexExpression = collection.Kind == CollectionKind.List ? "index" : "key"; 1355.Append(collection.Kind == CollectionKind.List ? "int index, " : "string key, "); 1360.Append(collection.Kind == CollectionKind.List ? "index" : "key") 2526out CollectionKind kind, 2535kind = CollectionKind.List; 2543kind = CollectionKind.Dictionary; 2808public CollectionShape(INamedTypeSymbol type, ITypeSymbol elementType, CollectionKind kind) 2819public CollectionKind Kind { get; }