Пример #1
0
        public bool Equals(ShortcutIconState other)
        {
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(BackgroundColor == other.BackgroundColor &&
                   ForegroundText == other.ForegroundText &&
                   ShowNameOnSquare150X150Logo == other.ShowNameOnSquare150X150Logo &&
                   MediumImage.Equals(other.MediumImage) &&
                   SmallImage.Equals(other.SmallImage));
        }
Пример #2
0
        public bool Equals(ShortcutItemState other)
        {
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(BackgroundColor == other?.BackgroundColor &&
                   ForegroundText == other?.ForegroundText &&
                   ShowNameOnSquare150X150Logo == other?.ShowNameOnSquare150X150Logo &&
                   MediumImage.Equals(other.MediumImage) &&
                   SmallImage.Equals(other.SmallImage) &&
                   UseSystemAccentColor == other.UseSystemAccentColor &&
                   TileIconifierColorSelection == other.TileIconifierColorSelection &&
                   TileIconifierCreatedWithUpgrade == other.TileIconifierCreatedWithUpgrade);
        }
Пример #3
0
 public bool MediumImageBytesEqual(ShortcutItemState other)
 {
     return(MediumImage.Equals(other.MediumImage));
 }