public static string GetRefinedDescription(Element elem, ElementStackToken token) { IAspectsDictionary aspects; if (token == null) { aspects = new AspectsDictionary(); aspects[elem.Id] = 1; } else { aspects = token.GetAspects(true); } var refiner = new TextRefiner(aspects); return(refiner.RefineString(elem.Description)); }
public static string GetRefinedDescription(Element elem, ElementStackToken token) { var refiner = new TextRefiner(token.GetAspects(true)); return(refiner.RefineString(elem.Description)); }