Bunch of ReSharper suggestions

This commit is contained in:
2015-11-02 20:29:00 -05:00
parent ff2ef0fd46
commit d8d7a9b5ba
15 changed files with 43 additions and 215 deletions

View File

@@ -9,14 +9,9 @@ namespace FeedCenter
return new Category { ID = Guid.NewGuid() };
}
public bool IsDefault
{
get { return Name == "< default >"; }
}
public bool IsDefault => Name == "< default >";
public int SortKey
{
get { return IsDefault ? 0 : 1; }
}
// ReSharper disable once UnusedMember.Global
public int SortKey => IsDefault ? 0 : 1;
}
}