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