internal static Hashtable[] GetMatchColors <T>() { IColorMatcher <T> matcher = (IColorMatcher <T>)MatcherManager.GetMatcher(typeof(T)); return((from match in matcher.GetMatches() select new Hashtable { [HashtableColor] = match.ForegroundColor, [HashtableMatch] = match.GetMatchData() }).ToArray()); }