Add ToString to UserDto.cs
This commit is contained in:
parent
ccc8a12150
commit
683807c7e1
|
@ -80,5 +80,10 @@ namespace MediaBrowser.Model.Dto
|
|||
/// Occurs when [property changed].
|
||||
/// </summary>
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name ?? base.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user