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
;
2341
if (targetTypeRef.
IsInterface
)
2387
IsInterface = typeRef?.
IsInterface
?? false,
2459
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");
374
TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.
IsInterface
} : null,
377
.Select(t => new { t.TypeId, t.
IsInterface
})
412
Assert.False(cap.TargetType.
IsInterface
,
419
Assert.False(expandedType.
IsInterface
,
444
Assert.False(withBindMount.TargetType.
IsInterface
,
451
Assert.True(withEnvironment.TargetType.
IsInterface
,
473
Assert.True(withConnectionStringDirect.TargetType.
IsInterface
);
482
Assert.False(testRedisExpanded.
IsInterface
, "Expanded concrete type should have IsInterface = false");
501
Assert.False(withRedisSpecific.TargetType.
IsInterface
, "TestRedisResource is a concrete type");
527
Assert.False(withBindMount.TargetType.
IsInterface
);
558
Assert.True(dependencyParam.Type.
IsInterface
, "IResourceWithConnectionString is an interface");
622
Assert.True(withConnectionStringDirect.TargetType.
IsInterface
,
631
Assert.False(expandedType.
IsInterface
,
657
Assert.True(testWithEnvironmentCallback.TargetType.
IsInterface
,
667
Assert.False(testRedisExpanded.
IsInterface
, "TestRedisResource is a concrete type");
aspire-server (1)
CodeGeneration\CodeGenerationService.cs (1)
99
IsInterface = t.
IsInterface
,