Esempio n. 1
0
        public override int GetHashCode()
        {
            var hashCode = 459946268;

            hashCode = hashCode * -1521134295 + EqualityComparer <InfoboxAction[]> .Default.GetHashCode(Actions);

            hashCode = hashCode * -1521134295 + CloseDelayTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(HtmlContent);

            hashCode = hashCode * -1521134295 + EqualityComparer <Location> .Default.GetHashCode(Location);

            hashCode = hashCode * -1521134295 + MaxHeight.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxWidth.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <GeolocatonPoint> .Default.GetHashCode(Offset);

            hashCode = hashCode * -1521134295 + ShowCloseButton.GetHashCode();
            hashCode = hashCode * -1521134295 + ShowPointer.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Title);

            hashCode = hashCode * -1521134295 + Visible.GetHashCode();
            hashCode = hashCode * -1521134295 + ZIndex.GetHashCode();
            return(hashCode);
        }
 private MessageOptions CreateOptions()
 {
     return(new MessageOptions
     {
         FreezeOnMouseEnter = FreezeOnMouseEnter.GetValueOrDefault(),
         ShowCloseButton = ShowCloseButton.GetValueOrDefault()
     });
 }