Clean up Get/SetName

This commit is contained in:
Matt Nadareski
2020-12-14 10:15:28 -08:00
parent f8b9dfa122
commit bfdf219a78
27 changed files with 54 additions and 216 deletions

View File

@@ -129,18 +129,13 @@ namespace SabreTools.DatItems
/// Gets the name to use for a DatItem
/// </summary>
/// <returns>Name if available, null otherwise</returns>
public virtual string GetName()
{
return null;
}
public virtual string GetName() => null;
/// <summary>
/// Sets the name to use for a DatItem
/// </summary>
/// <param name="name">Name to set for the item</param>
public virtual void SetName(string name)
{
}
public virtual void SetName(string name) { }
#endregion