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