public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = toolbarsEnabled.GetHashCode();
         hashCode = (hashCode * 397) ^ syncEnabled.GetHashCode();
         hashCode = (hashCode * 397) ^ operationCancelled.GetHashCode();
         hashCode = (hashCode * 397) ^ (statusMessage != null ? statusMessage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ toolState.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)activeDialog;
         hashCode = (hashCode * 397) ^ (int)activeSubDialog;
         hashCode = (hashCode * 397) ^ (int)activeToolbar;
         hashCode = (hashCode * 397) ^ (int)activeOptionDialog;
         hashCode = (hashCode * 397) ^ settingsDialogState.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)screenOrientation;
         hashCode = (hashCode * 397) ^ navigationState.GetHashCode();
         hashCode = (hashCode * 397) ^ cameraOptionData.GetHashCode();
         hashCode = (hashCode * 397) ^ sceneOptionData.GetHashCode();
         hashCode = (hashCode * 397) ^ (selectedProjectOption != null ? selectedProjectOption.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ projectOptionIndex;
         hashCode = (hashCode * 397) ^ sunStudyData.GetHashCode();
         hashCode = (hashCode * 397) ^ progressData.GetHashCode();
         hashCode = (hashCode * 397) ^ bimGroup.GetHashCode();
         hashCode = (hashCode * 397) ^ landingScreenFilterData.GetHashCode();
         hashCode = (hashCode * 397) ^ modelScale.GetHashCode();
         hashCode = (hashCode * 397) ^ deviceCapability.GetHashCode();
         return(hashCode);
     }
 }
Exemple #2
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = measureToolStateData.GetHashCode();
                hashCode = (hashCode * 397) ^ sunStudyData.GetHashCode();

                return(hashCode);
            }
        }
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = toolbarsEnabled.GetHashCode();
                hashCode = (hashCode * 397) ^ settingsToolStateData.GetHashCode();
                hashCode = (hashCode * 397) ^ syncEnabled.GetHashCode();
                hashCode = (hashCode * 397) ^ operationCancelled.GetHashCode();
                hashCode = (hashCode * 397) ^ toolState.GetHashCode();
                hashCode = (hashCode * 397) ^ (int)activeDialog;
                hashCode = (hashCode * 397) ^ (int)activeSubDialog;
                hashCode = (hashCode * 397) ^ (int)dialogMode;
                hashCode = (hashCode * 397) ^ (int)helpModeEntryId;
                hashCode = (hashCode * 397) ^ (int)activeToolbar;
                hashCode = (hashCode * 397) ^ (int)activeOptionDialog;
                hashCode = (hashCode * 397) ^ settingsDialogState.GetHashCode();
                hashCode = (hashCode * 397) ^ navigationState.GetHashCode();
                hashCode = (hashCode * 397) ^ cameraOptionData.GetHashCode();
                hashCode = (hashCode * 397) ^ sceneOptionData.GetHashCode();
                hashCode = (hashCode * 397) ^ (selectedProjectOption != null ? selectedProjectOption.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ projectOptionIndex;
                hashCode = (hashCode * 397) ^ sunStudyData.GetHashCode();
                hashCode = (hashCode * 397) ^ progressData.GetHashCode();
                hashCode = (hashCode * 397) ^ bimGroup.GetHashCode();
                hashCode = (hashCode * 397) ^ filterGroup.GetHashCode();
                hashCode = (hashCode * 397) ^ landingScreenFilterData.GetHashCode();
                hashCode = (hashCode * 397) ^ modelScale.GetHashCode();
                hashCode = (hashCode * 397) ^ deviceCapability.GetHashCode();
                hashCode = (hashCode * 397) ^ display.GetHashCode();
                hashCode = (hashCode * 397) ^ themeName.GetHashCode();
                hashCode = (hashCode * 397) ^ VREnable.GetHashCode();
                hashCode = (hashCode * 397) ^ colorPalette.GetHashCode();
                hashCode = (hashCode * 397) ^ SelectedUserData.GetHashCode();

                return(hashCode);
            }
        }