svnno****@sourc*****
svnno****@sourc*****
2011年 1月 30日 (日) 18:33:46 JST
Revision: 1425 http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1425 Author: syo68k Date: 2011-01-30 18:33:45 +0900 (Sun, 30 Jan 2011) Log Message: ----------- AsParallelの指定タイミング変更 Modified Paths: -------------- trunk/Tween/EventViewerDialog.vb -------------- next part -------------- Modified: trunk/Tween/EventViewerDialog.vb =================================================================== --- trunk/Tween/EventViewerDialog.vb 2011-01-29 12:57:46 UTC (rev 1424) +++ trunk/Tween/EventViewerDialog.vb 2011-01-30 09:33:45 UTC (rev 1425) @@ -96,12 +96,12 @@ Private Sub CreateFilterdEventSource() If EventSource IsNot Nothing AndAlso EventSource.Count > 0 Then Dim matchDelegate As New Func(Of Twitter.FormattedEvent, Boolean)(AddressOf IsFilterMatch) - _filterdEventSource = (From x As Twitter.FormattedEvent In EventSource + _filterdEventSource = (From x As Twitter.FormattedEvent In EventSource.AsParallel Where If(CheckExcludeMyEvent.Checked, Not x.IsMe, True) Where CBool(x.Eventtype And ParseEventTypeFromTag()) Where matchDelegate(x) Order By x.CreatedAt Descending - Select x).AsParallel.ToArray() + Select x).ToArray() _ItemCache = Nothing EventList.VirtualListSize = _filterdEventSource.Count End If