mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Override ToString on more UIX classes
This commit is contained in:
@@ -270,5 +270,7 @@ namespace Microsoft.Iris.Render.Graphics
|
||||
}
|
||||
|
||||
internal delegate void ContentReloadedHandler(Image image);
|
||||
|
||||
public override string ToString() => $"{{Image {Identifier} {Format} {Size}}}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace Microsoft.Iris.Render
|
||||
|
||||
public override int GetHashCode() => this.Width ^ this.Height;
|
||||
|
||||
public override string ToString() => base.ToString();
|
||||
public override string ToString() => $"({Width} x {Height})";
|
||||
|
||||
public Point ToPoint() => new Point(this.Width, this.Height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user