Exemple #1
0
 public FlatProject()
 {
     PatternDefinition       = new PatternDefinition();
     RangeCriteria           = new SearchCriteria();
     ColumnsSearchCriteria   = new SearchCriteria();
     HighlightDefinitionList = new HighlightDefinitionList();
 }
Exemple #2
0
        /// <summary>
        /// Deep copy source highlight definition list
        /// </summary>
        /// <param name="source">Copy source</param>
        /// <returns>Deep copied instance</returns>
        public static HighlightDefinitionList Copy(HighlightDefinitionList source)
        {
            HighlightDefinitionList dest = new HighlightDefinitionList();

            foreach (HighlightDefinition def in source)
            {
                dest.Add(HighlightDefinition.Copy(def));
            }

            return(dest);
        }