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