28 references to UnmarshalFromJson
Aspire.Hosting.RemoteHost (7)
Ats\AtsCallbackProxyFactory.cs (1)
290
return (T?)_marshaller.
UnmarshalFromJson
(result, typeof(T), context);
Ats\AtsMarshaller.cs (3)
406
converted.SetValue(
UnmarshalFromJson
(array[i], elementType, elementContext), i);
427
list.Add(
UnmarshalFromJson
(array[i], elementType, elementContext));
456
dict[prop.Key] =
UnmarshalFromJson
(prop.Value, valueType, valueContext);
Ats\CapabilityDispatcher.cs (3)
219
var value = _marshaller.
UnmarshalFromJson
(valueNode, prop.PropertyType, unmarshalContext);
283
methodArgs[i] = _marshaller.
UnmarshalFromJson
(argNode, param.ParameterType, context);
350
methodArgs[i] = _marshaller.
UnmarshalFromJson
(argNode, param.ParameterType, context);
Aspire.Hosting.RemoteHost.Tests (21)
AtsMarshallerTests.cs (21)
260
var result = marshaller.
UnmarshalFromJson
(null, typeof(string), context);
270
var result = marshaller.
UnmarshalFromJson
(null, typeof(CancellationToken), context);
285
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestClass), context);
297
marshaller.
UnmarshalFromJson
(json, typeof(object), context));
306
var result = marshaller.
UnmarshalFromJson
(json, typeof(int[]), context);
319
var result = marshaller.
UnmarshalFromJson
(json, typeof(List<string>), context);
332
var result = marshaller.
UnmarshalFromJson
(json, typeof(Dictionary<string, int>), context);
548
var result = marshaller.
UnmarshalFromJson
(json, typeof(IList<int>), context);
561
var result = marshaller.
UnmarshalFromJson
(json, typeof(IEnumerable<string>), context);
574
var result = marshaller.
UnmarshalFromJson
(json, typeof(IDictionary<string, int>), context);
589
marshaller.
UnmarshalFromJson
(json, typeof(TestClass), context));
600
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestDto), context);
629
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
640
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
651
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum), context);
662
var result = marshaller.
UnmarshalFromJson
(json, typeof(TestEnum?), context);
672
var result = marshaller.
UnmarshalFromJson
(null, typeof(TestEnum?), context);
1098
var result = marshaller.
UnmarshalFromJson
(json, typeof(ReferenceExpression), context);
1139
var result = marshaller.
UnmarshalFromJson
(json, typeof(ReferenceExpression), context);
1181
var result = marshaller.
UnmarshalFromJson
(json, typeof(ReferenceExpression), context);
1221
marshaller.
UnmarshalFromJson
(json, typeof(ReferenceExpression), context));