Click here to Skip to main content
15,881,172 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem asked in SIEMENS. Pin
Richard MacCutchan19-Mar-16 0:37
mveRichard MacCutchan19-Mar-16 0:37 
AnswerRe: problem asked in SIEMENS. Pin
Patrice T19-Mar-16 12:05
mvePatrice T19-Mar-16 12:05 
Questionsorting records in datagrid Pin
Engr. Yange18-Mar-16 20:05
Engr. Yange18-Mar-16 20:05 
AnswerRe: sorting records in datagrid Pin
Mycroft Holmes18-Mar-16 21:43
professionalMycroft Holmes18-Mar-16 21:43 
QuestionIs there a better way in Rx? Pin
Matt T Heffron18-Mar-16 13:06
professionalMatt T Heffron18-Mar-16 13:06 
AnswerRe: Is there a better way in Rx? Pin
Kenneth Haugland18-Mar-16 16:02
mvaKenneth Haugland18-Mar-16 16:02 
AnswerRe: Is there a better way in Rx? Pin
Kenneth Haugland20-Mar-16 18:56
mvaKenneth Haugland20-Mar-16 18:56 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 7:08
professionalMatt T Heffron21-Mar-16 7:08 
Your comments don't seem to be related to my code. How did you intend for them to apply?

Why did you refer to StartNew? I didn't use that. I used Task.Run().
In the original question the point was to cancel any tasks once any one had returned true.
My code accomplishes that.

I didn't use the .ToObservable() (that you referenced in your previous comment) on the Tasks since, in the current Rx, Task and Task<T> can be used where IObservable<Unit> and IObservable<T> can.

I don't know about how you could limit to 5 parallel Tasks as you asked...
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G.K. Chesterton

GeneralRe: Is there a better way in Rx? Pin
Kenneth Haugland21-Mar-16 7:47
mvaKenneth Haugland21-Mar-16 7:47 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 9:53
professionalMatt T Heffron21-Mar-16 9:53 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 7:10
professionalMatt T Heffron21-Mar-16 7:10 
QuestionX Number Of Results Per Line Pin
MadDashCoder18-Mar-16 11:16
MadDashCoder18-Mar-16 11:16 
QuestionRe: X Number Of Results Per Line Pin
CHill6018-Mar-16 11:50
mveCHill6018-Mar-16 11:50 
AnswerRe: X Number Of Results Per Line Pin
MadDashCoder18-Mar-16 12:44
MadDashCoder18-Mar-16 12:44 
AnswerRe: X Number Of Results Per Line Pin
Richard Andrew x6418-Mar-16 12:42
professionalRichard Andrew x6418-Mar-16 12:42 
AnswerRe: X Number Of Results Per Line Pin
Sascha Lefèvre18-Mar-16 14:45
professionalSascha Lefèvre18-Mar-16 14:45 
GeneralRe: X Number Of Results Per Line Pin
Brisingr Aerowing18-Mar-16 15:08
professionalBrisingr Aerowing18-Mar-16 15:08 
GeneralRe: X Number Of Results Per Line Pin
Luc Pattyn19-Mar-16 14:12
sitebuilderLuc Pattyn19-Mar-16 14:12 
GeneralRe: X Number Of Results Per Line Pin
Brisingr Aerowing19-Mar-16 20:30
professionalBrisingr Aerowing19-Mar-16 20:30 
AnswerRe: X Number Of Results Per Line Pin
Richard Deeming21-Mar-16 2:50
mveRichard Deeming21-Mar-16 2:50 
QuestionSocket closing without FIN from peer Pin
MidwestLimey17-Mar-16 9:39
professionalMidwestLimey17-Mar-16 9:39 
AnswerRe: Socket closing without FIN from peer Pin
Fueled By Decaff18-Mar-16 3:52
Fueled By Decaff18-Mar-16 3:52 
GeneralRe: Socket closing without FIN from peer Pin
MidwestLimey18-Mar-16 14:17
professionalMidwestLimey18-Mar-16 14:17 
QuestionHow can i create a dialog box window in asp.net C# (web) which contains many field? Pin
Hameed Khan17-Mar-16 5:35
Hameed Khan17-Mar-16 5:35 
AnswerRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
OriginalGriff17-Mar-16 6:28
mveOriginalGriff17-Mar-16 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.