31 references to MappedTypeKind
Aspire.Hosting.Azure.Provisioning.Generators (31)
AspireProvisioningProxyGenerator.cs (31)
878if (mappedType is { Kind: MappedTypeKind.BicepValue, LiteralTypeName: not null }) 895if (mappedType.Kind == MappedTypeKind.BicepValue) 909if (canWrite && mappedType.Kind == MappedTypeKind.BicepValue) 1209mappedType.Kind is MappedTypeKind.Proxy or MappedTypeKind.Collection or MappedTypeKind.ProvisionableResource; 1829parameter.Type.Kind is MappedTypeKind.Proxy or MappedTypeKind.ProvisionableResource or MappedTypeKind.Collection) 1856mappedType.Kind is MappedTypeKind.BicepValue or MappedTypeKind.Collection) 1976return parameter.Type.Kind is MappedTypeKind.Proxy or MappedTypeKind.ProvisionableResource && 2297if (mappedType is { Kind: MappedTypeKind.BicepValue, LiteralTypeName: not null }) 2421mappedType = new MappedType("void", MappedTypeKind.Direct); 2440MappedTypeKind.BicepValue, 2448mappedType = new MappedType(type.ToDisplayString(s_typeDisplayFormat), MappedTypeKind.Direct); 2465MappedTypeKind.Proxy, 2474mappedType = new MappedType(collectionProxyName + (isNullable ? "?" : string.Empty), MappedTypeKind.Collection, isNullable: isNullable); 2483MappedTypeKind.ProvisionableResource, 2705case MappedTypeKind.Direct: 2708case MappedTypeKind.BicepValue: 2711case MappedTypeKind.Proxy: 2712case MappedTypeKind.Collection: 2713case MappedTypeKind.ProvisionableResource: 2734if (mappedType.Kind is MappedTypeKind.Proxy or MappedTypeKind.Collection or MappedTypeKind.ProvisionableResource) 2738else if (mappedType.Kind == MappedTypeKind.BicepValue) 2894MappedTypeKind kind, 2910public MappedTypeKind Kind { get; }