23 references to UnmarshalFromJson
Aspire.Hosting.RemoteHost (7)
Ats\AtsCallbackProxyFactory.cs (1)
267
return (T?)_marshaller.
UnmarshalFromJson
(result, typeof(T), context);
Ats\AtsMarshaller.cs (3)
368
converted.SetValue(
UnmarshalFromJson
(array[i], elementType, elementContext), i);
389
list.Add(
UnmarshalFromJson
(array[i], elementType, elementContext));
418
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);
Aspire.Hosting.RemoteHost.Tests (16)
AtsMarshallerTests.cs (16)
211
var result = marshaller.
UnmarshalFromJson
(null, typeof(string), context);
225
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestClass), context);
237
marshaller.
UnmarshalFromJson
(json, typeof(object), context));
246
var result = marshaller.
UnmarshalFromJson
(json, typeof(int[]), context);
259
var result = marshaller.
UnmarshalFromJson
(json, typeof(List<string>), context);
272
var result = marshaller.
UnmarshalFromJson
(json, typeof(Dictionary<string, int>), context);
488
var result = marshaller.
UnmarshalFromJson
(json, typeof(IList<int>), context);
501
var result = marshaller.
UnmarshalFromJson
(json, typeof(IEnumerable<string>), context);
514
var result = marshaller.
UnmarshalFromJson
(json, typeof(IDictionary<string, int>), context);
529
marshaller.
UnmarshalFromJson
(json, typeof(TestClass), context));
540
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestDto), context);
569
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
580
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
591
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
602
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum?), context);
612
var result = marshaller.
UnmarshalFromJson
(null, typeof(TestEnum?), context);