public object GetFormatedPP() { List <RestfulDisplayer> displayers = EnumerateRestfulDisplayers(); string format = FormatterBase.GetPPFormatter().Format; return(new { count = displayers.Count, list = displayers.Select(d => format) }); }
public WpfDisplayer(int?id) : base(id) { ppFormatter = FormatterBase.GetPPFormatter(); hitCountFormatter = FormatterBase.GetHitCountFormatter(); Initialize(); }
public object GetFormatedPP(int id) { RestfulDisplayer displayer = GetDisplayer(id); return(FormatterBase.GetPPFormatter().Format); }