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