25 references to UnmarshalFromJson
Aspire.Hosting.RemoteHost.Tests (18)
AtsMarshallerTests.cs (18)
214
var result = marshaller.
UnmarshalFromJson
(null, typeof(string), context);
228
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestClass), context);
240
marshaller.
UnmarshalFromJson
(json, typeof(object), context));
249
var result = marshaller.
UnmarshalFromJson
(json, typeof(int[]), context);
262
var result = marshaller.
UnmarshalFromJson
(json, typeof(List<string>), context);
275
var result = marshaller.
UnmarshalFromJson
(json, typeof(Dictionary<string, int>), context);
491
var result = marshaller.
UnmarshalFromJson
(json, typeof(IList<int>), context);
504
var result = marshaller.
UnmarshalFromJson
(json, typeof(IEnumerable<string>), context);
517
var result = marshaller.
UnmarshalFromJson
(json, typeof(IDictionary<string, int>), context);
532
marshaller.
UnmarshalFromJson
(json, typeof(TestClass), context));
543
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestDto), context);
595
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestDtoWithEnum), context);
609
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestDtoWithEnum), context);
622
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
633
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
644
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
655
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum?), context);
665
var result = marshaller.
UnmarshalFromJson
(null, typeof(TestEnum?), context);
aspire-server (7)
Ats\AtsCallbackProxyFactory.cs (1)
267
return (T?)_marshaller.
UnmarshalFromJson
(result, typeof(T), context);
Ats\AtsMarshaller.cs (3)
370
converted.SetValue(
UnmarshalFromJson
(array[i], elementType, elementContext), i);
391
list.Add(
UnmarshalFromJson
(array[i], elementType, elementContext));
420
dict[prop.Key] =
UnmarshalFromJson
(prop.Value, valueType, valueContext);
Ats\CapabilityDispatcher.cs (3)
214
var value = _marshaller.
UnmarshalFromJson
(valueNode, prop.PropertyType, unmarshalContext);
275
methodArgs[i] = _marshaller.
UnmarshalFromJson
(argNode, param.ParameterType, context);
367
methodArgs[i] = _marshaller.
UnmarshalFromJson
(argNode, param.ParameterType, context);