using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace TINK.Model { public static class FilterCollectionStore { /// Writes filter collection state to string. /// Filter collection to write to string. /// P o dictionary. public static string ToString(this IDictionary p_oDictionary) => "{" + string.Join(", ", p_oDictionary.Select(x => "(" + x.Key + "= " + x.Value + ")")) + "}"; } }