Пример #1
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Number;
                hashCode = (hashCode * 397) ^ Date.GetHashCode();
                hashCode = (hashCode * 397) ^ IsMain.GetHashCode();
                hashCode = (hashCode * 397) ^ LessonType.GetHashCode();
                hashCode = (hashCode * 397) ^ Name?.GetHashCode() ?? 0;
                hashCode = (hashCode * 397) ^ Partner?.GetHashCode() ?? 0;

                return(hashCode);
            }
        }
 /// <summary>
 /// Whether the studio is the main studio or not.
 /// </summary>
 public GraphQueryArgument <bool> IsMainQueryArgument(bool value)
 {
     return(IsMain.GetQueryArgumentAndSetValue(value));
 }