12 writes to IsInterface
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
515IsInterface = true
Aspire.Hosting.RemoteHost (9)
AtsCapabilityScanner.cs (8)
857IsInterface = false 888IsInterface = false, 2606IsInterface = typeRef.IsInterface, 2875IsInterface = type.IsInterface 2887IsInterface = type.IsInterface 2897IsInterface = type.IsInterface 2992IsInterface = true, 3059IsInterface = type.IsInterface,
AtsContextFilter.cs (1)
327IsInterface = handleType.IsInterface,
Aspire.Hosting.RemoteHost.Tests (2)
AtsContextFilterTests.cs (2)
207IsInterface = true 538IsInterface = true
28 references to IsInterface
Aspire.Hosting.CodeGeneration.Python (6)
AtsPythonCodeGenerator.cs (6)
1293capability.ReturnType.IsResourceBuilder && !capability.ReturnType.IsInterface; 1851if (targetTypeRef.IsInterface) 1909IsInterface = typeRef?.IsInterface ?? false, 1965if (typeRef.IsResourceBuilder && !typeRef.IsInterface) 1973(c.TargetType?.IsInterface == true && implementedInterfaceIds.Contains(c.TargetTypeId!))) 1984IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript (4)
TypeScriptApiProjector.cs (4)
1996return typeRef.Category == AtsTypeCategory.Handle && typeRef.IsInterface; 2620if (targetTypeRef.IsInterface) 2667IsInterface = typeRef?.IsInterface ?? false, 2740IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
411Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 564TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 567.Select(t => new { t.TypeId, t.IsInterface }) 602Assert.False(cap.TargetType.IsInterface, 609Assert.False(expandedType.IsInterface, 634Assert.False(withBindMount.TargetType.IsInterface, 641Assert.True(withEnvironment.TargetType.IsInterface, 663Assert.True(withConnectionStringDirect.TargetType.IsInterface); 672Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 691Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 717Assert.False(withBindMount.TargetType.IsInterface); 748Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 831Assert.True(withConnectionStringDirect.TargetType.IsInterface, 840Assert.False(expandedType.IsInterface, 866Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 876Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (1)
2606IsInterface = typeRef.IsInterface,
CodeGeneration\CodeGenerationService.cs (1)
143IsInterface = t.IsInterface,