コード例 #1
0
ファイル: Lesson.cs プロジェクト: Oshi41/Manager
        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);
            }
        }
コード例 #2
0
 /// <summary>
 /// Whether the studio is the main studio or not.
 /// </summary>
 public GraphQueryArgument <bool> IsMainQueryArgument(bool value)
 {
     return(IsMain.GetQueryArgumentAndSetValue(value));
 }