11 writes to IsInterface
Aspire.Hosting (11)
Ats\AtsCapabilityScanner.cs (11)
755IsInterface = false 786IsInterface = false 1129IsInterface = contextType.IsInterface 1235IsInterface = contextType.IsInterface 2164IsInterface = constraintType.IsInterface 2175IsInterface = resourceType.IsInterface 2211IsInterface = type.IsInterface 2223IsInterface = type.IsInterface 2233IsInterface = type.IsInterface 2313IsInterface = true 2348IsInterface = false
21 references to IsInterface
Aspire.Hosting.CodeGeneration.TypeScript (4)
AtsTypeScriptCodeGenerator.cs (4)
278return typeRef.Category == AtsTypeCategory.Handle && typeRef.IsInterface; 2518if (targetTypeRef.IsInterface) 2564IsInterface = typeRef?.IsInterface ?? false, 2636IsInterface = typeRef.IsInterface,
Aspire.Hosting.CodeGeneration.TypeScript.Tests (16)
AtsTypeScriptCodeGeneratorTests.cs (16)
247Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface"); 385TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null, 388.Select(t => new { t.TypeId, t.IsInterface }) 423Assert.False(cap.TargetType.IsInterface, 430Assert.False(expandedType.IsInterface, 455Assert.False(withBindMount.TargetType.IsInterface, 462Assert.True(withEnvironment.TargetType.IsInterface, 484Assert.True(withConnectionStringDirect.TargetType.IsInterface); 493Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false"); 512Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type"); 538Assert.False(withBindMount.TargetType.IsInterface); 569Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface"); 633Assert.True(withConnectionStringDirect.TargetType.IsInterface, 642Assert.False(expandedType.IsInterface, 668Assert.True(testWithEnvironmentCallback.TargetType.IsInterface, 678Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
99IsInterface = t.IsInterface,