Override ToString() in core classes.

This commit is contained in:
2019-05-24 01:19:27 +01:00
parent 8ab678166e
commit b103e28c9b
7 changed files with 21 additions and 3 deletions

View File

@@ -59,5 +59,7 @@ namespace Claunia.Localization.Core
Modified?.Invoke(this, EventArgs.Empty);
}
}
public override string ToString() => email is null ? name : $"{name} <{email}>";
}
}