11 writes to IsInterface
Aspire.Hosting (11)
Ats\AtsCapabilityScanner.cs (11)
693IsInterface = false 724IsInterface = false 1026IsInterface = contextType.IsInterface 1126IsInterface = contextType.IsInterface 2014IsInterface = constraintType.IsInterface 2025IsInterface = resourceType.IsInterface 2061IsInterface = type.IsInterface 2073IsInterface = type.IsInterface 2083IsInterface = type.IsInterface 2163IsInterface = true 2198IsInterface = false
20 references to IsInterface
Aspire.Hosting.CodeGeneration.TypeScript (4)
AtsTypeScriptCodeGenerator.cs (4)
267return typeRef.Category == AtsTypeCategory.Handle && typeRef.IsInterface; 2247if (targetTypeRef.IsInterface) 2293IsInterface = typeRef?.IsInterface ?? false, 2365IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
264Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 377TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 380.Select(t => new { t.TypeId, t.IsInterface }) 415Assert.False(cap.TargetType.IsInterface, 422Assert.False(expandedType.IsInterface, 447Assert.False(withBindMount.TargetType.IsInterface, 454Assert.True(withEnvironment.TargetType.IsInterface, 476Assert.True(withConnectionStringDirect.TargetType.IsInterface); 485Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 504Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 530Assert.False(withBindMount.TargetType.IsInterface); 561Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 625Assert.True(withConnectionStringDirect.TargetType.IsInterface, 634Assert.False(expandedType.IsInterface, 660Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 670Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");