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