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)
527Assert.False(testRedisTarget.IsInterface, "TestRedisResource is a concrete type, not an interface");
733TargetType = c.TargetType != null ? new { c.TargetType.TypeId, c.TargetType.IsInterface } : null,
736.Select(t => new { t.TypeId, t.IsInterface })
771Assert.False(cap.TargetType.IsInterface,
778Assert.False(expandedType.IsInterface,
803Assert.False(withBindMount.TargetType.IsInterface,
810Assert.True(withEnvironment.TargetType.IsInterface,
832Assert.True(withConnectionStringDirect.TargetType.IsInterface);
841Assert.False(testRedisExpanded.IsInterface, "Expanded concrete type should have IsInterface = false");
860Assert.False(withRedisSpecific.TargetType.IsInterface, "TestRedisResource is a concrete type");
886Assert.False(withBindMount.TargetType.IsInterface);
917Assert.True(dependencyParam.Type.IsInterface, "IResourceWithConnectionString is an interface");
1112Assert.True(withConnectionStringDirect.TargetType.IsInterface,
1121Assert.False(expandedType.IsInterface,
1147Assert.True(testWithEnvironmentCallback.TargetType.IsInterface,
1157Assert.False(testRedisExpanded.IsInterface, "TestRedisResource is a concrete type");
1214Assert.False(withVolume.TargetType?.IsInterface);
1230Assert.False(withProjectVolume.TargetType?.IsInterface);
1246Assert.False(withExecutableVolume.TargetType?.IsInterface);
Aspire.Hosting.Native.CodeGeneration (1)
Aspire.Hosting.RemoteHost (2)