22 writes to IsInterface
Aspire.Hosting.CodeGeneration.Go.Tests (1)
AtsGoDerivedBuilderTests.cs (1)
490private static readonly AtsTypeRef s_builder = new() { TypeId = AtsConstants.BuilderTypeId, Category = AtsTypeCategory.Handle, IsInterface = true };
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
985IsInterface = true
Aspire.Hosting.Native.CodeGeneration (8)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (8)
937IsInterface = false 968IsInterface = false, 2721IsInterface = typeRef.IsInterface, 2991IsInterface = type.IsInterface 3003IsInterface = type.IsInterface 3013IsInterface = type.IsInterface 3108IsInterface = true, 3175IsInterface = type.IsInterface,
Aspire.Hosting.RemoteHost (10)
Ats\ExternalCapabilityRegistry.cs (1)
810IsInterface = typeRef.IsInterface,
AtsCapabilityScanner.cs (8)
937IsInterface = false 968IsInterface = false, 2721IsInterface = typeRef.IsInterface, 2991IsInterface = type.IsInterface 3003IsInterface = type.IsInterface 3013IsInterface = type.IsInterface 3108IsInterface = true, 3175IsInterface = type.IsInterface,
AtsContextFilter.cs (1)
327IsInterface = handleType.IsInterface,
Aspire.Hosting.RemoteHost.Tests (2)
AtsContextFilterTests.cs (2)
207IsInterface = true 538IsInterface = true
32 references to IsInterface
Aspire.Hosting.CodeGeneration.Python (6)
AtsPythonCodeGenerator.cs (6)
1383capability.ReturnType.IsResourceBuilder && !capability.ReturnType.IsInterface; 1945if (targetTypeRef.IsInterface) 2003IsInterface = typeRef?.IsInterface ?? false, 2059if (typeRef.IsResourceBuilder && !typeRef.IsInterface) 2067(c.TargetType?.IsInterface == true && implementedInterfaceIds.Contains(c.TargetTypeId!))) 2078IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript (4)
TypeScriptApiProjector.cs (4)
2008return typeRef.Category == AtsTypeCategory.Handle && typeRef.IsInterface; 2697if (targetTypeRef.IsInterface) 2744IsInterface = typeRef?.IsInterface ?? false, 2817IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (19)
AtsTypeScriptCodeGeneratorTests.cs (19)
526Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 751TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 754.Select(t => new { t.TypeId, t.IsInterface }) 789Assert.False(cap.TargetType.IsInterface, 796Assert.False(expandedType.IsInterface, 821Assert.False(withBindMount.TargetType.IsInterface, 828Assert.True(withEnvironment.TargetType.IsInterface, 850Assert.True(withConnectionStringDirect.TargetType.IsInterface); 859Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 878Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 904Assert.False(withBindMount.TargetType.IsInterface); 935Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 1130Assert.True(withConnectionStringDirect.TargetType.IsInterface, 1139Assert.False(expandedType.IsInterface, 1165Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 1175Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type"); 1232Assert.False(withVolume.TargetType?.IsInterface); 1248Assert.False(withProjectVolume.TargetType?.IsInterface); 1264Assert.False(withExecutableVolume.TargetType?.IsInterface);
Aspire.Hosting.Native.CodeGeneration (1)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (1)
2721IsInterface = typeRef.IsInterface,
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (1)
2721IsInterface = typeRef.IsInterface,
CodeGeneration\CodeGenerationService.cs (1)
152IsInterface = t.IsInterface,