コード例 #1
0
 public override string ToString()
 {
     return(string.Format("{0} ({1}x{2} @{3}bps)",
                          Description,
                          FrameWidth.ToString(),
                          FrameHeight.ToString(),
                          VideoBitRate));
 }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Timestamp != 0L)
            {
                hash ^= Timestamp.GetHashCode();
            }
            if (FrameWidth != 0)
            {
                hash ^= FrameWidth.GetHashCode();
            }
            if (FrameHeight != 0)
            {
                hash ^= FrameHeight.GetHashCode();
            }
            hash ^= faces_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }