Browse Subversion Repository
Contents of /FilteringHelper.cs
Parent Directory
| Revision Log
Revision 11 -
( show annotations)
( download)
Mon Mar 28 01:33:42 2011 UTC
(13 years, 1 month ago)
by aqua877
File size: 783 byte(s)
・URL短縮機能の追加(bit.ly j.mp is.gd ux.nu p.tl)
・コメントを朗読する際に、同じコメントが読まれたり、読まれる順序が不順だったのを修正
・バグ修正等
| 1 |
using System; |
| 2 |
using System.Collections.Generic; |
| 3 |
using System.Linq; |
| 4 |
using System.Text; |
| 5 |
|
| 6 |
namespace Aqua877.WinApp.IronLivetube |
| 7 |
{ |
| 8 |
public class FilteringRule |
| 9 |
{ |
| 10 |
public string Rule { get; set; } |
| 11 |
public bool IsUseRegularExpression { get; set; } |
| 12 |
public bool IsEnableAutoBan { get; set; } |
| 13 |
public bool IsEnableAutoUnBan { get; set; } |
| 14 |
public int UnBanDelayCount { get; set; } |
| 15 |
public bool AddedByUser { get; set; } |
| 16 |
public MatchTarget FilteringTarget { get; set; } |
| 17 |
} |
| 18 |
|
| 19 |
public class FilteringHelper |
| 20 |
{ |
| 21 |
public event Action<dynamic> OnMatchedFilteringCondition; |
| 22 |
|
| 23 |
public void NotifyCommand(IEnumerable<LivetubeCommentData> data) |
| 24 |
{ |
| 25 |
data.ForEach(this.NotifyCommand); |
| 26 |
} |
| 27 |
|
| 28 |
public void NotifyCommand(LivetubeCommentData data) |
| 29 |
{ |
| 30 |
|
| 31 |
} |
| 32 |
} |
| 33 |
} |
|