DebuggerDisplay fix.
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Discord
|
|||||||
model.Width.IsSpecified ? model.Width.Value : (int?)null);
|
model.Width.IsSpecified ? model.Width.Value : (int?)null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string DebuggerDisplay => $"({Url}) {(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}";
|
private string DebuggerDisplay => $"{Url} ({(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")})";
|
||||||
public override string ToString() => Url;
|
public override string ToString() => Url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace Discord
|
|||||||
model.Width.IsSpecified ? model.Width.Value : (int?)null);
|
model.Width.IsSpecified ? model.Width.Value : (int?)null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string DebuggerDisplay => $"({Url}) {(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}";
|
private string DebuggerDisplay => $"{Url} ({(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")})";
|
||||||
public override string ToString() => Url;
|
public override string ToString() => Url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace Discord
|
|||||||
model.Width.IsSpecified ? model.Width.Value : (int?)null);
|
model.Width.IsSpecified ? model.Width.Value : (int?)null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string DebuggerDisplay => $"({Url}) {(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}";
|
private string DebuggerDisplay => $"{Url} ({(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")})";
|
||||||
public override string ToString() => Url;
|
public override string ToString() => Url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user