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; 2303if (targetTypeRef.IsInterface) 2349IsInterface = typeRef?.IsInterface ?? false, 2421IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
236Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 349TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 352.Select(t => new { t.TypeId, t.IsInterface }) 387Assert.False(cap.TargetType.IsInterface, 394Assert.False(expandedType.IsInterface, 419Assert.False(withBindMount.TargetType.IsInterface, 426Assert.True(withEnvironment.TargetType.IsInterface, 448Assert.True(withConnectionStringDirect.TargetType.IsInterface); 457Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 476Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 502Assert.False(withBindMount.TargetType.IsInterface); 533Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 597Assert.True(withConnectionStringDirect.TargetType.IsInterface, 606Assert.False(expandedType.IsInterface, 632Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 642Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
99IsInterface = t.IsInterface,