using System.Collections.Generic; using System.Linq; using Plugins.Countly.Persistance; namespace Plugins.Countly.Models { public class SegmentModel : Dictionary, IModel { public long Id { get; set; } public SegmentModel() { } public SegmentModel(IDictionary dictionary) : base(dictionary) { } public override string ToString() { return string.Join(";", this.Select(x => x.Key + "=" + x.Value).ToArray()); } } }