Ejemplo n.º 1
0
 public TaggedExtractorConfigArraysLite(TaggedExtractorConfigArrays teca)
 {
     if (teca == null || teca.count == 0)
     {
         return;
     }
     this.count = teca.count;
     values     = new TaggedExtractorConfigArrayLite[teca.count];
     for (int i = 0; i < teca.values.Length; i++)
     {
         values[i] = new TaggedExtractorConfigArrayLite(teca.values[i]);
     }
 }
Ejemplo n.º 2
0
        public TaggedExtractorConfigArraysLite(Dictionary <String, IList <ExtractorConfiguration> > dict)
        {
            if (dict == null || dict.Count == 0)
            {
                return;
            }
            this.count = dict.Count;
            values     = new TaggedExtractorConfigArrayLite[dict.Count];
            int index = 0;

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