4 instantiations of TestDto
Aspire.Hosting.RemoteHost.Tests (4)
13 references to TestDto
Aspire.Hosting.RemoteHost.Tests (13)
AtsMarshallerTests.cs (13)
23new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] },
25new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] },
728var result = marshaller.UnmarshalFromJson(json, typeof(TestDto), context);
731var dto = Assert.IsType<TestDto>(result);
769var dto = new TestDto { Name = "test", Count = 10 };
985var dto = new TestDto { Name = "original", Count = 0 };
988marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
998var dto = new TestDto { Name = "original", Count = 10 };
1001marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
1080var dto = new TestDto { Name = "original", Count = 10 };
1084marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
1112Assert.True(marshaller.IsDtoType(typeof(TestDto)));