protected override string GetDescription(NodeContent nodeContent) { if (nodeContent.GetOriginalType() == typeof(FashionNode)) { var category = (FashionNode)nodeContent; return(category.Description?.ToString()); } throw new ArgumentException("Source not supported"); }