4 instantiations of TestDto
Aspire.Hosting.RemoteHost.Tests (4)
13 references to TestDto
Aspire.Hosting.RemoteHost.Tests (13)
AtsMarshallerTests.cs (13)
22new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] },
24new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] },
600var result = marshaller.UnmarshalFromJson(json, typeof(TestDto), context);
603var dto = Assert.IsType<TestDto>(result);
612var dto = new TestDto { Name = "test", Count = 10 };
762var dto = new TestDto { Name = "original", Count = 0 };
765marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
775var dto = new TestDto { Name = "original", Count = 10 };
778marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
857var dto = new TestDto { Name = "original", Count = 10 };
861marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
872Assert.True(marshaller.IsDtoType(typeof(TestDto)));