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));
        }
Exemple #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);
        }
Exemple #3
0
 public bool SmallImageBytesEqual(ShortcutItemState other)
 {
     return(SmallImage.Equals(other.SmallImage));
 }