16 writes to ClrType
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1140ClrType = type,
Aspire.Hosting.RemoteHost.Tests (15)
AtsContextFilterTests.cs (4)
268ClrType = typeof(TestOptions), 426ClrType = typeof(TestOptions), 447ClrType = typeof(AtsContext), 479ClrType = typeof(AtsContext),
AtsMarshallerTests.cs (10)
23new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] }, 24new AtsDtoTypeInfo { TypeId = "test/TestDtoWithEnum", Name = "TestDtoWithEnum", ClrType = typeof(TestDtoWithEnum), Properties = [] }, 25new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] }, 26new AtsDtoTypeInfo { TypeId = "test/SelfReferencingDto", Name = "SelfReferencingDto", ClrType = typeof(SelfReferencingDto), Properties = [] }, 27new AtsDtoTypeInfo { TypeId = "test/ParentDto", Name = "ParentDto", ClrType = typeof(ParentDto), Properties = [] }, 28new AtsDtoTypeInfo { TypeId = "test/ChildDto", Name = "ChildDto", ClrType = typeof(ChildDto), Properties = [] }, 29new AtsDtoTypeInfo { TypeId = "test/DtoWithJsonPropertyName", Name = "DtoWithJsonPropertyName", ClrType = typeof(DtoWithJsonPropertyName), Properties = [] }, 30new AtsDtoTypeInfo { TypeId = "test/DtoWithJsonIgnore", Name = "DtoWithJsonIgnore", ClrType = typeof(DtoWithJsonIgnore), Properties = [] }, 31new AtsDtoTypeInfo { TypeId = "test/DtoWithReadOnlyProperty", Name = "DtoWithReadOnlyProperty", ClrType = typeof(DtoWithReadOnlyProperty), Properties = [] }, 32new AtsDtoTypeInfo { TypeId = "test/DtoWithInitListProperties", Name = "DtoWithInitListProperties", ClrType = typeof(DtoWithInitListProperties), Properties = [] },
CallbackProxyTests.cs (1)
394new() { TypeId = "test/TestCallbackDto", Name = "TestCallbackDto", ClrType = typeof(TestCallbackDto), Properties = [] }
8 references to ClrType
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptApiProjector.cs (1)
1391var owningAssemblyName = GetOwningAssemblyName(dtoType.TypeId, dtoType.ClrType?.Assembly.GetName().Name);
Aspire.Hosting.RemoteHost (2)
AtsContextFilter.cs (2)
213.Where(type => IsOwnedBySelectedAssembly(type.ClrType?.Assembly, type.TypeId, normalizedAssemblyNames)) 560AddAssemblyName(knownAssemblyNames, type.ClrType?.Assembly);
Aspire.Hosting.RemoteHost.Tests (3)
AtsCapabilityScannerTests.cs (1)
466var dto = Assert.Single(result.DtoTypes, d => d.ClrType == typeof(NullableScalarDto));
AtsContextFilterTests.cs (2)
518ClrType = referencedCoreDtoType.ClrType, 592ClrType = exportedValueOnlyDtoType.ClrType,
Aspire.TypeSystem (2)
AtsContext.cs (2)
156_dtoTypes ??= new HashSet<Type>(DtoTypes.Where(d => d.ClrType != null).Select(d => d.ClrType!));