Пример #1
0
 public TaggedExtractorConfigArrayLite(TaggedExtractorConfigArray teca)
 {
     this.key   = teca.key;
     this.value = new ExtractorConfigurationTOLite[teca.count];
     this.count = teca.count;
     for (int i = 0; i < teca.count; i++)
     {
         this.value[i] = new ExtractorConfigurationTOLite(teca.value[i]);
     }
 }
Пример #2
0
        public TaggedExtractorConfigArrays(Dictionary <String, IList <ExtractorConfiguration> > dict)
        {
            if (dict == null || dict.Count == 0)
            {
                return;
            }
            values     = new TaggedExtractorConfigArray[dict.Count];
            this.count = dict.Count;
            int index = 0;

            foreach (String key in dict.Keys)
            {
                values[index] = new TaggedExtractorConfigArray(key, dict[key]);
                index++;
            }
        }