Exemplo n.º 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));
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public bool MediumImageBytesEqual(ShortcutItemState other)
 {
     return(MediumImage.Equals(other.MediumImage));
 }