public static HotspotInfo[] AsHotspotInfos(this Dictionary<string, List<DocumentRange>> @this)
{
Argument.IsNotNull(() => @this);
return (from fieldName in @this.Keys
let nameSuggestionsExpression = new NameSuggestionsExpression(new[] { " " })
let field = new TemplateField(fieldName, nameSuggestionsExpression, 0)
where @this[fieldName].Count > 0
select new HotspotInfo(field, @this[fieldName])).ToArray();
}