예제 #1
0
        public bool Equals(CustomReplayFormat other)
        {
            if (other == null)
            {
                return(false);
            }

            return
                (CustomFormat == other.CustomFormat &&
                 CustomFormatSections.SequenceEqual(other.CustomFormatSections) &&
                 MaxNumberOfReplays == other.MaxNumberOfReplays &&
                 ThrowOnExceedingMax == other.ThrowOnExceedingMax);
        }
예제 #2
0
 public override string ToString()
 {
     return(string.Join(string.Empty, CustomFormatSections.Select(f => f.Item2)));
 }