Beispiel #1
0
 private void SetCompleteSegmentData(string sourcePath, string sourceValue, string targetPath, string targetValue)
 {
     CompleteSegmentData = new SegmentData
     {
         SourcePath  = sourcePath,
         SourceValue = sourceValue,
         TargetPath  = targetPath,
         TargetValue = targetValue
     };
 }
Beispiel #2
0
        public void Add(string path, string value)
        {
            CompleteSegmentData = null;

            if (!_parsingSettings.IsPathFilteringEnabled)
            {
                SetCompleteSegmentData(path, value, path, string.Empty);

                return;
            }

            CollectByPathRules(path, value);
        }