12 references to CollectionKind
Aspire.Hosting.Azure.Provisioning.Generators (12)
AspireProvisioningProxyGenerator.cs (12)
432
if (TryGetCollection(type, out
var
collectionKind, out var elementType, out var collectionType))
1266
if (collection.Kind ==
CollectionKind
.Dictionary)
1277
if (collection.Kind ==
CollectionKind
.List)
1307
.Append(collection.Kind ==
CollectionKind
.List ? "int index" : "string key")
1311
var indexExpression = collection.Kind ==
CollectionKind
.List ? "index" : "key";
1353
.Append(collection.Kind ==
CollectionKind
.List ? "int index, " : "string key, ");
1358
.Append(collection.Kind ==
CollectionKind
.List ? "index" : "key")
2524
out
CollectionKind
kind,
2533
kind =
CollectionKind
.List;
2541
kind =
CollectionKind
.Dictionary;
2806
public CollectionShape(INamedTypeSymbol type, ITypeSymbol elementType,
CollectionKind
kind)
2817
public
CollectionKind
Kind { get; }