Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ArrivalsReport != false)
            {
                hash ^= ArrivalsReport.GetHashCode();
            }
            if (DeparturesReport != false)
            {
                hash ^= DeparturesReport.GetHashCode();
            }
            if (InHouseGuestsReport != false)
            {
                hash ^= InHouseGuestsReport.GetHashCode();
            }
            if (GuestReportSorting != 0)
            {
                hash ^= GuestReportSorting.GetHashCode();
            }
            if (VehiclesReport != false)
            {
                hash ^= VehiclesReport.GetHashCode();
            }
            if (NoShowsReport != false)
            {
                hash ^= NoShowsReport.GetHashCode();
            }
            if (UnoccupiedRoomsReport != false)
            {
                hash ^= UnoccupiedRoomsReport.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ArrivalsReport != false)
            {
                hash ^= ArrivalsReport.GetHashCode();
            }
            if (DeparturesReport != false)
            {
                hash ^= DeparturesReport.GetHashCode();
            }
            if (InHouseGuestsReport != false)
            {
                hash ^= InHouseGuestsReport.GetHashCode();
            }
            if (GuestReportSorting != 0)
            {
                hash ^= GuestReportSorting.GetHashCode();
            }
            if (VehiclesReport != false)
            {
                hash ^= VehiclesReport.GetHashCode();
            }
            if (NoShowsReport != false)
            {
                hash ^= NoShowsReport.GetHashCode();
            }
            if (UnoccupiedRoomsReport != false)
            {
                hash ^= UnoccupiedRoomsReport.GetHashCode();
            }
            if (CashDropReport != false)
            {
                hash ^= CashDropReport.GetHashCode();
            }
            if (StartTime.Length != 0)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (CashDropFor.Length != 0)
            {
                hash ^= CashDropFor.GetHashCode();
            }
            if (EndTime.Length != 0)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (NoteCategory != 0)
            {
                hash ^= NoteCategory.GetHashCode();
            }
            if (DepartureReportSorting != 0)
            {
                hash ^= DepartureReportSorting.GetHashCode();
            }
            if (selectedDate_ != null)
            {
                hash ^= SelectedDate.GetHashCode();
            }
            if (ArrivalReportSorting != 0)
            {
                hash ^= ArrivalReportSorting.GetHashCode();
            }
            return(hash);
        }