12 references to ApplyDtoProperties
Aspire.Hosting.RemoteHost (1)
Ats\AtsCallbackProxyFactory.cs (1)
414_marshaller.ApplyDtoProperties(modifiedDto, originalArgs[i]!, argTypes[i]);
Aspire.Hosting.RemoteHost.Tests (11)
AtsMarshallerTests.cs (11)
1056marshaller.ApplyDtoProperties(source, dto, typeof(TestDto)); 1069marshaller.ApplyDtoProperties(source, dto, typeof(TestDto)); 1086marshaller.ApplyDtoProperties(source, dto, typeof(TestDto)); 1100Assert.Throws<InvalidCastException>(() => marshaller.ApplyDtoProperties(source, dto, typeof(TestDto))); 1115marshaller.ApplyDtoProperties(source, dto, typeof(DtoWithComplexProperty)); 1128marshaller.ApplyDtoProperties(source, dto, typeof(DtoWithJsonPropertyName)); 1142marshaller.ApplyDtoProperties(source, dto, typeof(DtoWithJsonPropertyName)); 1154marshaller.ApplyDtoProperties(source, dto, typeof(DtoWithJsonIgnore)); 1167marshaller.ApplyDtoProperties(source, dto, typeof(DtoWithReadOnlyProperty)); 1181marshaller.ApplyDtoProperties(source, dto, typeof(TestDto)); 1198marshaller.ApplyDtoProperties(source, dto, typeof(DtoWithTimeSpans));