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