mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-16 18:47:28 -05:00
Bunch of ReSharper suggestions
This commit is contained in:
@@ -86,12 +86,14 @@ namespace FeedCenter
|
||||
|
||||
void HandleObjectStateManagerObjectStateManagerChanged(object sender, CollectionChangeEventArgs e)
|
||||
{
|
||||
if (e.Element is Category)
|
||||
var element = e.Element as Category;
|
||||
|
||||
if (element != null)
|
||||
{
|
||||
if (_allCategories == null)
|
||||
return;
|
||||
|
||||
var category = e.Element as Category;
|
||||
var category = element;
|
||||
|
||||
switch (e.Action)
|
||||
{
|
||||
@@ -113,7 +115,7 @@ namespace FeedCenter
|
||||
if (_allFeeds == null)
|
||||
return;
|
||||
|
||||
var feed = e.Element as Feed;
|
||||
var feed = (Feed) e.Element;
|
||||
|
||||
switch (e.Action)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user