Example #1
0
        /// <summary>
        /// Returns true if OrgApacheFelixWebconsoleInternalServletOsgiManagerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheFelixWebconsoleInternalServletOsgiManagerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheFelixWebconsoleInternalServletOsgiManagerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ManagerRoot == other.ManagerRoot ||
                     ManagerRoot != null &&
                     ManagerRoot.Equals(other.ManagerRoot)
                     ) &&
                 (
                     HttpServiceFilter == other.HttpServiceFilter ||
                     HttpServiceFilter != null &&
                     HttpServiceFilter.Equals(other.HttpServiceFilter)
                 ) &&
                 (
                     DefaultRender == other.DefaultRender ||
                     DefaultRender != null &&
                     DefaultRender.Equals(other.DefaultRender)
                 ) &&
                 (
                     Realm == other.Realm ||
                     Realm != null &&
                     Realm.Equals(other.Realm)
                 ) &&
                 (
                     Username == other.Username ||
                     Username != null &&
                     Username.Equals(other.Username)
                 ) &&
                 (
                     Password == other.Password ||
                     Password != null &&
                     Password.Equals(other.Password)
                 ) &&
                 (
                     Category == other.Category ||
                     Category != null &&
                     Category.Equals(other.Category)
                 ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     Loglevel == other.Loglevel ||
                     Loglevel != null &&
                     Loglevel.Equals(other.Loglevel)
                 ) &&
                 (
                     Plugins == other.Plugins ||
                     Plugins != null &&
                     Plugins.Equals(other.Plugins)
                 ));
        }