Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (homepageTrigger_ != null)
            {
                hash ^= HomepageTrigger.GetHashCode();
            }
            hash ^= conferenceSolution_.GetHashCode();
            if (CreateSettingsUrlFunction.Length != 0)
            {
                hash ^= CreateSettingsUrlFunction.GetHashCode();
            }
            if (eventOpenTrigger_ != null)
            {
                hash ^= EventOpenTrigger.GetHashCode();
            }
            if (eventUpdateTrigger_ != null)
            {
                hash ^= EventUpdateTrigger.GetHashCode();
            }
            if (CurrentEventAccess != global::Google.Apps.Script.Type.Calendar.CalendarAddOnManifest.Types.EventAccess.Unspecified)
            {
                hash ^= CurrentEventAccess.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (homepageTrigger_ != null)
            {
                hash ^= HomepageTrigger.GetHashCode();
            }
            if (onItemsSelectedTrigger_ != null)
            {
                hash ^= OnItemsSelectedTrigger.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (LogoUrl.Length != 0)
            {
                hash ^= LogoUrl.GetHashCode();
            }
            if (layoutProperties_ != null)
            {
                hash ^= LayoutProperties.GetHashCode();
            }
            if (addOnWidgetSet_ != null)
            {
                hash ^= AddOnWidgetSet.GetHashCode();
            }
            if (UseLocaleFromApp != false)
            {
                hash ^= UseLocaleFromApp.GetHashCode();
            }
            if (homepageTrigger_ != null)
            {
                hash ^= HomepageTrigger.GetHashCode();
            }
            hash ^= universalActions_.GetHashCode();
            if (openLinkUrlPrefixes_ != null)
            {
                hash ^= OpenLinkUrlPrefixes.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }