예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClockId != 0)
            {
                hash ^= ClockId.GetHashCode();
            }
            if (Open != 0)
            {
                hash ^= Open.GetHashCode();
            }
            if (Hour != 0)
            {
                hash ^= Hour.GetHashCode();
            }
            if (Min != 0)
            {
                hash ^= Min.GetHashCode();
            }
            if (LabelId != 0)
            {
                hash ^= LabelId.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ClockId != 0)
            {
                hash ^= ClockId.GetHashCode();
            }
            if (Hour != 0)
            {
                hash ^= Hour.GetHashCode();
            }
            if (Minute != 0)
            {
                hash ^= Minute.GetHashCode();
            }
            if (LabelId != 0)
            {
                hash ^= LabelId.GetHashCode();
            }
            if (SetTime != 0L)
            {
                hash ^= SetTime.GetHashCode();
            }
            if (OpenState != 0)
            {
                hash ^= OpenState.GetHashCode();
            }
            if (TipState != 0)
            {
                hash ^= TipState.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
 public static extern Result AAudioStream_getTimestamp(IntPtr stream, ClockId clockId, out long framePosition, out long timeNanoseconds);