22 writes to IsInterface
Aspire.Hosting.CodeGeneration.Go.Tests (1)
Aspire.Hosting.CodeGeneration.Python.Tests (1)
Aspire.Hosting.Native.CodeGeneration (8)
Aspire.Hosting.RemoteHost (10)
Aspire.Hosting.RemoteHost.Tests (2)
32 references to IsInterface
Aspire.Hosting.CodeGeneration.Python (6)
Aspire.Hosting.CodeGeneration.TypeScript (4)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (19)
AtsTypeScriptCodeGeneratorTests.cs (19)
526Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface");
751TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null,
754.Select(t => new { t.TypeId, t.IsInterface })
789Assert.False(cap.TargetType.IsInterface,
796Assert.False(expandedType.IsInterface,
821Assert.False(withBindMount.TargetType.IsInterface,
828Assert.True(withEnvironment.TargetType.IsInterface,
850Assert.True(withConnectionStringDirect.TargetType.IsInterface);
859Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false");
878Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type");
904Assert.False(withBindMount.TargetType.IsInterface);
935Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface");
1130Assert.True(withConnectionStringDirect.TargetType.IsInterface,
1139Assert.False(expandedType.IsInterface,
1165Assert.True(testWithEnvironmentCallback.TargetType.IsInterface,
1175Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");
1232Assert.False(withVolume.TargetType?.IsInterface);
1248Assert.False(withProjectVolume.TargetType?.IsInterface);
1264Assert.False(withExecutableVolume.TargetType?.IsInterface);
Aspire.Hosting.Native.CodeGeneration (1)
Aspire.Hosting.RemoteHost (2)