예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + Name.GetHashCode();
            hash = hash * 23 + Role.GetHashCode();

            return(hash);
        }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + Title.GetHashCode();
            hash = hash * 23 + Uid.GetHashCode();
            hash = hash * 23 + HasAcl.GetHashCode();

            return(hash);
        }
예제 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + IsDefault.GetHashCode();
            hash = hash * 23 + Name.GetHashCode();
            hash = hash * 23 + Type.GetHashCode();
            hash = hash * 23 + Url.GetHashCode();

            return(hash);
        }
예제 #4
0
 public override int GetHashCode()
 {
     unchecked {
         int hashCode = (OrgId != null ? OrgId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (UserProfile != null ? UserProfile.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SiteId != null ? SiteId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (User != null ? User.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SchemaId != null ? SchemaId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Mode != null ? Mode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Platform != null ? Platform.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Environment != null ? Environment.GetHashCode() : 0);
         return(hashCode);
     }
 }
예제 #5
0
 public override int GetHashCode()
 {
     unchecked {
         int hashCode = (OrgId != null ? OrgId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SiteId != null ? SiteId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (User != null ? User.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ApplicationLookupContext != null ? ApplicationLookupContext.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Mode != null ? Mode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Platform != null ? Platform.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Environment != null ? Environment.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Module != null ? Module.GetHashCode() : 0);
         return(hashCode);
     }
 }
예제 #6
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + TimeZone.GetHashCode();
            hash = hash * 23 + Theme.GetHashCode();

            if (HomeDashboardId.HasValue)
            {
                hash = hash * 23 + HomeDashboardId.GetHashCode();
            }

            return(hash);
        }
예제 #7
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + Name.GetHashCode();
            hash = hash * 23 + Type.GetHashCode();
            hash = hash * 23 + IsDefault.GetHashCode();
            hash = hash * 23 + DisableResolveMessage.GetHashCode();
            hash = hash * 23 + SendReminder.GetHashCode();
            hash = hash * 23 + IncludeImage.GetHashCode();
            hash = hash * 23 + SendOnAllAlerts.GetHashCode();

            return(hash);
        }
예제 #8
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + Title.GetHashCode();
            hash = hash * 23 + Uid.GetHashCode();
            hash = hash * 23 + Data.GetHashCode();

            if (FolderId.HasValue)
            {
                hash = hash * 23 + FolderId.GetHashCode();
            }

            return(hash);
        }
예제 #9
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + DashboardId.GetHashCode();
            hash = hash * 23 + PanelId.GetHashCode();
            hash = hash * 23 + Name.GetHashCode();
            hash = hash * 23 + Message.GetHashCode();
            hash = hash * 23 + State.GetHashCode();
            hash = hash * 23 + Settings.GetHashCode();
            hash = hash * 23 + Frequency.GetHashCode();
            hash = hash * 23 + NewStateDate.GetHashCode();
            hash = hash * 23 + StateChanges.GetHashCode();

            return(hash);
        }
예제 #10
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Id.GetHashCode();
            hash = hash * 23 + OrgId.GetHashCode();
            hash = hash * 23 + UserId.GetHashCode();
            hash = hash * 23 + Title.GetHashCode();
            hash = hash * 23 + Text.GetHashCode();
            hash = hash * 23 + DashboardId.GetHashCode();
            hash = hash * 23 + PanelId.GetHashCode();
            hash = hash * 23 + Time.GetHashCode();

            if (null != Alert)
            {
                hash = hash * 23 + Alert.GetHashCode();
            }

            return(hash);
        }
예제 #11
0
 public override int GetHashCode()
 {
     return(OrgId.GetHashCode());
 }