4 instantiations of TestDto
Aspire.Hosting.RemoteHost.Tests (4)
13 references to TestDto
Aspire.Hosting.RemoteHost.Tests (13)
AtsMarshallerTests.cs (13)
21new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] },
23new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] },
551var result = marshaller.UnmarshalFromJson(json, typeof(TestDto), context);
554var dto = Assert.IsType<TestDto>(result);
563var dto = new TestDto { Name = "test", Count = 10 };
713var dto = new TestDto { Name = "original", Count = 0 };
716marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
726var dto = new TestDto { Name = "original", Count = 10 };
729marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
808var dto = new TestDto { Name = "original", Count = 10 };
812marshaller.ApplyDtoProperties(source, dto, typeof(TestDto));
823Assert.True(marshaller.IsDtoType(typeof(TestDto)));