12 writes to IsInterface
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
623IsInterface = true
Aspire.Hosting.RemoteHost (9)
AtsCapabilityScanner.cs (8)
857IsInterface = false 888IsInterface = false, 2606IsInterface = typeRef.IsInterface, 2876IsInterface = type.IsInterface 2888IsInterface = type.IsInterface 2898IsInterface = type.IsInterface 2993IsInterface = true, 3060IsInterface = 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)
1368capability.ReturnType.IsResourceBuilder && !capability.ReturnType.IsInterface; 1930if (targetTypeRef.IsInterface) 1988IsInterface = typeRef?.IsInterface ?? false, 2044if (typeRef.IsResourceBuilder && !typeRef.IsInterface) 2052(c.TargetType?.IsInterface == true && implementedInterfaceIds.Contains(c.TargetTypeId!))) 2063IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript (4)
TypeScriptApiProjector.cs (4)
2004return typeRef.Category == AtsTypeCategory.Handle && typeRef.IsInterface; 2693if (targetTypeRef.IsInterface) 2740IsInterface = typeRef?.IsInterface ?? false, 2813IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (19)
AtsTypeScriptCodeGeneratorTests.cs (19)
414Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 566TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 569.Select(t => new { t.TypeId, t.IsInterface }) 604Assert.False(cap.TargetType.IsInterface, 611Assert.False(expandedType.IsInterface, 636Assert.False(withBindMount.TargetType.IsInterface, 643Assert.True(withEnvironment.TargetType.IsInterface, 665Assert.True(withConnectionStringDirect.TargetType.IsInterface); 674Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 693Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 719Assert.False(withBindMount.TargetType.IsInterface); 750Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 889Assert.True(withConnectionStringDirect.TargetType.IsInterface, 898Assert.False(expandedType.IsInterface, 924Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 934Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type"); 991Assert.False(withVolume.TargetType?.IsInterface); 1007Assert.False(withProjectVolume.TargetType?.IsInterface); 1023Assert.False(withExecutableVolume.TargetType?.IsInterface);
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (1)
2606IsInterface = typeRef.IsInterface,
CodeGeneration\CodeGenerationService.cs (1)
143IsInterface = t.IsInterface,