13 writes to IsInterface
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
623IsInterface = true
Aspire.Hosting.RemoteHost (10)
Ats\ExternalCapabilityRegistry.cs (1)
810IsInterface = typeRef.IsInterface,
AtsCapabilityScanner.cs (8)
931IsInterface = false 962IsInterface = false, 2687IsInterface = typeRef.IsInterface, 2957IsInterface = type.IsInterface 2969IsInterface = type.IsInterface 2979IsInterface = type.IsInterface 3074IsInterface = true, 3141IsInterface = type.IsInterface,
AtsContextFilter.cs (1)
327IsInterface = handleType.IsInterface,
Aspire.Hosting.RemoteHost.Tests (2)
AtsContextFilterTests.cs (2)
207IsInterface = true 538IsInterface = true
31 references to IsInterface
Aspire.Hosting.CodeGeneration.Python (6)
AtsPythonCodeGenerator.cs (6)
1366capability.ReturnType.IsResourceBuilder && !capability.ReturnType.IsInterface; 1928if (targetTypeRef.IsInterface) 1986IsInterface = typeRef?.IsInterface ?? false, 2042if (typeRef.IsResourceBuilder && !typeRef.IsInterface) 2050(c.TargetType?.IsInterface == true && implementedInterfaceIds.Contains(c.TargetTypeId!))) 2061IsInterface = 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)
519Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 671TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 674.Select(t => new { t.TypeId, t.IsInterface }) 709Assert.False(cap.TargetType.IsInterface, 716Assert.False(expandedType.IsInterface, 741Assert.False(withBindMount.TargetType.IsInterface, 748Assert.True(withEnvironment.TargetType.IsInterface, 770Assert.True(withConnectionStringDirect.TargetType.IsInterface); 779Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 798Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 824Assert.False(withBindMount.TargetType.IsInterface); 855Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 1050Assert.True(withConnectionStringDirect.TargetType.IsInterface, 1059Assert.False(expandedType.IsInterface, 1085Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 1095Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type"); 1152Assert.False(withVolume.TargetType?.IsInterface); 1168Assert.False(withProjectVolume.TargetType?.IsInterface); 1184Assert.False(withExecutableVolume.TargetType?.IsInterface);
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (1)
2687IsInterface = typeRef.IsInterface,
CodeGeneration\CodeGenerationService.cs (1)
152IsInterface = t.IsInterface,