Esempio n. 1
0
        protected override void DoRun(Field field)
        {
            FieldIndex fieldIndeks = field.Definition.GetIndex();

            if (!_frequenceListPerField.ContainsKey(fieldIndeks))
            {
                _frequenceListPerField.Add(fieldIndeks, new FrequencyList());
            }

            FrequencyList frequencyList = _frequenceListPerField[fieldIndeks];

            frequencyList.Add(field.Value);
        }
Esempio n. 2
0
        protected override void DoRun(Field field)
        {
            List <AddmlCode> codes = field.Definition.Codes;

            if (codes == null || codes.Count == 0)
            {
                return;
            }

            FieldIndex fieldIndeks = field.Definition.GetIndex();

            if (!_frequenceListPerField.ContainsKey(fieldIndeks))
            {
                _frequenceListPerField.Add(fieldIndeks, new FrequencyList());
            }

            FrequencyList frequencyList = _frequenceListPerField[fieldIndeks];

            frequencyList.Add(field.Value);
        }