Exemplo n.º 1
0
 public IotJsonPathLegacyMeasurementExtractor(
     IotJsonPathContentTemplate template)
     : base(new JsonPathCalculatedFunctionContentTemplateAdapter <IotJsonPathContentTemplate>(template), new JsonPathExpressionEvaluatorFactory())
 {
     _template = EnsureArg.IsNotNull(template, nameof(template));
 }
Exemplo n.º 2
0
 private static IContentTemplate BuildMeasurementExtractor(IotJsonPathContentTemplate template)
 {
     return(new IotJsonPathLegacyMeasurementExtractor(template));
 }