22 writes to IsInterface
Aspire.Hosting.CodeGeneration.Go.Tests (1)
AtsGoDerivedBuilderTests.cs (1)
489private static readonly AtsTypeRef s_builder = new() { TypeId = AtsConstants.BuilderTypeId, Category = AtsTypeCategory.Handle, IsInterface = true };
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
993IsInterface = true
Aspire.Hosting.Native.CodeGeneration (8)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (8)
931IsInterface = false 962IsInterface = false, 2708IsInterface = typeRef.IsInterface, 2978IsInterface = type.IsInterface 2990IsInterface = type.IsInterface 3000IsInterface = type.IsInterface 3095IsInterface = true, 3162IsInterface = type.IsInterface,
Aspire.Hosting.RemoteHost (10)
Ats\ExternalCapabilityRegistry.cs (1)
810IsInterface = typeRef.IsInterface,
AtsCapabilityScanner.cs (8)
931IsInterface = false 962IsInterface = false, 2708IsInterface = typeRef.IsInterface, 2978IsInterface = type.IsInterface 2990IsInterface = type.IsInterface 3000IsInterface = type.IsInterface 3095IsInterface = true, 3162IsInterface = 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)
527Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 733TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 736.Select(t => new { t.TypeId, t.IsInterface }) 771Assert.False(cap.TargetType.IsInterface, 778Assert.False(expandedType.IsInterface, 803Assert.False(withBindMount.TargetType.IsInterface, 810Assert.True(withEnvironment.TargetType.IsInterface, 832Assert.True(withConnectionStringDirect.TargetType.IsInterface); 841Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 860Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 886Assert.False(withBindMount.TargetType.IsInterface); 917Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 1112Assert.True(withConnectionStringDirect.TargetType.IsInterface, 1121Assert.False(expandedType.IsInterface, 1147Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 1157Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type"); 1214Assert.False(withVolume.TargetType?.IsInterface); 1230Assert.False(withProjectVolume.TargetType?.IsInterface); 1246Assert.False(withExecutableVolume.TargetType?.IsInterface);
Aspire.Hosting.Native.CodeGeneration (1)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (1)
2708IsInterface = typeRef.IsInterface,
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (1)
2708IsInterface = typeRef.IsInterface,
CodeGeneration\CodeGenerationService.cs (1)
152IsInterface = t.IsInterface,