11 writes to IsInterface
Aspire.Hosting (11)
Ats\AtsCapabilityScanner.cs (11)
704
IsInterface
= false
735
IsInterface
= false
1037
IsInterface
= contextType.IsInterface
1141
IsInterface
= contextType.IsInterface
2065
IsInterface
= constraintType.IsInterface
2076
IsInterface
= resourceType.IsInterface
2112
IsInterface
= type.IsInterface
2124
IsInterface
= type.IsInterface
2134
IsInterface
= type.IsInterface
2214
IsInterface
= true
2249
IsInterface
= false
21 references to IsInterface
Aspire.Hosting.CodeGeneration.TypeScript (4)
AtsTypeScriptCodeGenerator.cs (4)
267
return typeRef.Category == AtsTypeCategory.Handle && typeRef.
IsInterface
;
2303
if (targetTypeRef.
IsInterface
)
2349
IsInterface = typeRef?.
IsInterface
?? false,
2421
IsInterface = typeRef.
IsInterface
,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
236
Assert.False(testRedisTarget.
IsInterface
, "TestRedisResource is a concrete type, not an interface");
349
TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.
IsInterface
} : null,
352
.Select(t => new { t.TypeId, t.
IsInterface
})
387
Assert.False(cap.TargetType.
IsInterface
,
394
Assert.False(expandedType.
IsInterface
,
419
Assert.False(withBindMount.TargetType.
IsInterface
,
426
Assert.True(withEnvironment.TargetType.
IsInterface
,
448
Assert.True(withConnectionStringDirect.TargetType.
IsInterface
);
457
Assert.False(testRedisExpanded.
IsInterface
, "Expanded concrete type should have IsInterface = false");
476
Assert.False(withRedisSpecific.TargetType.
IsInterface
, "TestRedisResource is a concrete type");
502
Assert.False(withBindMount.TargetType.
IsInterface
);
533
Assert.True(dependencyParam.Type.
IsInterface
, "IResourceWithConnectionString is an interface");
597
Assert.True(withConnectionStringDirect.TargetType.
IsInterface
,
606
Assert.False(expandedType.
IsInterface
,
632
Assert.True(testWithEnvironmentCallback.TargetType.
IsInterface
,
642
Assert.False(testRedisExpanded.
IsInterface
, "TestRedisResource is a concrete type");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
99
IsInterface = t.
IsInterface
,