11 writes to IsInterface
Aspire.Hosting (11)
Ats\AtsCapabilityScanner.cs (11)
704IsInterface = false 735IsInterface = false 1037IsInterface = contextType.IsInterface 1141IsInterface = contextType.IsInterface 2065IsInterface = constraintType.IsInterface 2076IsInterface = resourceType.IsInterface 2112IsInterface = type.IsInterface 2124IsInterface = type.IsInterface 2134IsInterface = type.IsInterface 2214IsInterface = true 2249IsInterface = false
21 references to IsInterface
Aspire.Hosting.CodeGeneration.TypeScript (4)
AtsTypeScriptCodeGenerator.cs (4)
267return typeRef.Category == AtsTypeCategory.Handle && typeRef.IsInterface; 2341if (targetTypeRef.IsInterface) 2387IsInterface = typeRef?.IsInterface ?? false, 2459IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
236Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 374TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 377.Select(t => new { t.TypeId, t.IsInterface }) 412Assert.False(cap.TargetType.IsInterface, 419Assert.False(expandedType.IsInterface, 444Assert.False(withBindMount.TargetType.IsInterface, 451Assert.True(withEnvironment.TargetType.IsInterface, 473Assert.True(withConnectionStringDirect.TargetType.IsInterface); 482Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 501Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 527Assert.False(withBindMount.TargetType.IsInterface); 558Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 622Assert.True(withConnectionStringDirect.TargetType.IsInterface, 631Assert.False(expandedType.IsInterface, 657Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 667Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");
aspire-server (1)
CodeGeneration\CodeGenerationService.cs (1)
99IsInterface = t.IsInterface,