public FlatProject() { PatternDefinition = new PatternDefinition(); RangeCriteria = new SearchCriteria(); ColumnsSearchCriteria = new SearchCriteria(); HighlightDefinitionList = new HighlightDefinitionList(); }
/// <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); }