Example #1
0
        public static TagSet RemoveExcessTags(this TagSet tags)
        {
            tags?.Trim(
                t => String.IsNullOrEmpty(t) || t.Length > 100,
                t => String.Equals(t, Event.KnownTags.Critical, StringComparison.OrdinalIgnoreCase) || String.Equals(t, Event.KnownTags.Internal, StringComparison.OrdinalIgnoreCase),
                50);

            return(tags);
        }