mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-16 10:58:31 -05:00
More ReSharper suggestions
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace FeedCenter
|
||||
@@ -51,19 +50,19 @@ namespace FeedCenter
|
||||
return title;
|
||||
}
|
||||
|
||||
public void ProcessActions(IEnumerable<FeedAction> feedActions)
|
||||
{
|
||||
foreach (FeedAction feedAction in feedActions)
|
||||
{
|
||||
switch (feedAction.Field)
|
||||
{
|
||||
case 1:
|
||||
//public void ProcessActions(IEnumerable<FeedAction> feedActions)
|
||||
//{
|
||||
// foreach (FeedAction feedAction in feedActions)
|
||||
// {
|
||||
// switch (feedAction.Field)
|
||||
// {
|
||||
// case 1:
|
||||
|
||||
Title = Regex.Replace(Title, feedAction.Search, feedAction.Replace);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Title = Regex.Replace(Title, feedAction.Search, feedAction.Replace);
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user