26 references to AtsTypeMapping
Aspire.Hosting.CodeGeneration.TypeScript.Tests (3)
AtsTypeScriptCodeGeneratorTests.cs (3)
1422
var javaScriptAppTypeId =
AtsTypeMapping
.DeriveTypeId(typeof(Aspire.Hosting.JavaScript.JavaScriptAppResource));
1423
var nodeAppTypeId =
AtsTypeMapping
.DeriveTypeId(typeof(Aspire.Hosting.JavaScript.NodeAppResource));
1424
var viteAppTypeId =
AtsTypeMapping
.DeriveTypeId(typeof(Aspire.Hosting.JavaScript.ViteAppResource));
Aspire.Hosting.RemoteHost (21)
Ats\AtsMarshaller.cs (4)
239
AtsTypeCategory.Handle => _handles.Marshal(value,
AtsTypeMapping
.DeriveTypeId(type)),
240
_ => _handles.Marshal(value,
AtsTypeMapping
.DeriveTypeId(type))
277
return _handles.Marshal(value,
AtsTypeMapping
.DeriveTypeId(type));
292
return _handles.Marshal(value,
AtsTypeMapping
.DeriveTypeId(type));
AtsCapabilityScanner.cs (17)
919
?
AtsTypeMapping
.DeriveTypeId(exportAttr.Type)
920
:
AtsTypeMapping
.DeriveTypeId(type);
953
var typeId =
AtsTypeMapping
.DeriveTypeId(type);
1038
var typeId =
AtsTypeMapping
.DeriveTypeId(contextAssemblyName, fullName);
1866
return
AtsTypeMapping
.DeriveTypeId(constraints[0]);
1870
return
AtsTypeMapping
.DeriveTypeId(resourceType);
1890
return
AtsTypeMapping
.DeriveTypeId(type);
1896
return
AtsTypeMapping
.DeriveTypeId(type);
2186
var constraintTypeId =
AtsTypeMapping
.DeriveTypeId(constraintType);
2197
var typeId =
AtsTypeMapping
.DeriveTypeId(resourceType);
2236
TypeId =
AtsTypeMapping
.DeriveTypeId(type),
2248
TypeId =
AtsTypeMapping
.DeriveTypeId(type),
2258
TypeId =
AtsTypeMapping
.DeriveTypeId(type),
2335
var ifaceTypeId =
AtsTypeMapping
.DeriveTypeId(iface);
2370
var baseTypeId =
AtsTypeMapping
.DeriveTypeId(currentBase);
2415
var typeId =
AtsTypeMapping
.DeriveTypeId(constraint);
2457
var typeId =
AtsTypeMapping
.DeriveTypeId(resourceType);
Aspire.Hosting.RemoteHost.Tests (2)
AtsCapabilityScannerTests.cs (2)
348
Assert.Equal(
AtsTypeMapping
.DeriveTypeId(typeof(AssemblyLevelExportedTestType)), parameter.Type.TypeId);
350
AtsTypeMapping
.DeriveTypeId(typeof(AssemblyLevelExportedTestType)),