Ejemplo n.º 1
0
        public int CompareTo(TriggerAndCount other)
        {
            int ret = Count.CompareTo(other.Count);

            if (ret != 0)
            {
                return(ret);
            }

            return(TriggerString.CompareTo(other.TriggerString));
        }
Ejemplo n.º 2
0
 public static void WriteTriggerString(this StreamWriter writer, TriggerString triggerString) => triggerString.WriteTo(writer);