11 writes to IsInterface
Aspire.Hosting.RemoteHost (11)
AtsCapabilityScanner.cs (11)
766
IsInterface
= false
797
IsInterface
= false
1149
IsInterface
= contextType.IsInterface
1255
IsInterface
= contextType.IsInterface
2192
IsInterface
= constraintType.IsInterface
2203
IsInterface
= resourceType.IsInterface
2239
IsInterface
= type.IsInterface
2251
IsInterface
= type.IsInterface
2261
IsInterface
= type.IsInterface
2341
IsInterface
= true
2376
IsInterface
= false
21 references to IsInterface
Aspire.Hosting.CodeGeneration.TypeScript (4)
AtsTypeScriptCodeGenerator.cs (4)
288
return typeRef.Category == AtsTypeCategory.Handle && typeRef.
IsInterface
;
2573
if (targetTypeRef.
IsInterface
)
2619
IsInterface = typeRef?.
IsInterface
?? false,
2691
IsInterface = typeRef.
IsInterface
,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
257
Assert.False(testRedisTarget.
IsInterface
, "TestRedisResource is a concrete type, not an interface");
395
TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.
IsInterface
} : null,
398
.Select(t => new { t.TypeId, t.
IsInterface
})
433
Assert.False(cap.TargetType.
IsInterface
,
440
Assert.False(expandedType.
IsInterface
,
465
Assert.False(withBindMount.TargetType.
IsInterface
,
472
Assert.True(withEnvironment.TargetType.
IsInterface
,
494
Assert.True(withConnectionStringDirect.TargetType.
IsInterface
);
503
Assert.False(testRedisExpanded.
IsInterface
, "Expanded concrete type should have IsInterface = false");
522
Assert.False(withRedisSpecific.TargetType.
IsInterface
, "TestRedisResource is a concrete type");
548
Assert.False(withBindMount.TargetType.
IsInterface
);
579
Assert.True(dependencyParam.Type.
IsInterface
, "IResourceWithConnectionString is an interface");
643
Assert.True(withConnectionStringDirect.TargetType.
IsInterface
,
652
Assert.False(expandedType.
IsInterface
,
678
Assert.True(testWithEnvironmentCallback.TargetType.
IsInterface
,
688
Assert.False(testRedisExpanded.
IsInterface
, "TestRedisResource is a concrete type");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
99
IsInterface = t.
IsInterface
,