コード例 #1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + FullQueueDroppedSpans.GetHashCode();
                hashcode = (hashcode * 397) + TooLargeDroppedSpans.GetHashCode();
                hashcode = (hashcode * 397) + FailedToEmitSpans.GetHashCode();
            }
            return(hashcode);
        }
コード例 #2
0
        public override string ToString()
        {
            var sb = new StringBuilder("ClientStats(");

            sb.Append(", FullQueueDroppedSpans: ");
            FullQueueDroppedSpans.ToString(sb);
            sb.Append(", TooLargeDroppedSpans: ");
            TooLargeDroppedSpans.ToString(sb);
            sb.Append(", FailedToEmitSpans: ");
            FailedToEmitSpans.ToString(sb);
            sb.Append(')');
            return(sb.ToString());
        }