Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does Action<Action> mean?

I just saw a brand-new video on the Rx framework, and one particular signature caught my eye:

Scheduler.schedule(this IScheduler, Action<Action>)

At 23:55, Bart de Smet says:

The earliest version would be Action of Action.

If Action is a parameterized type, how can it appear unparameterized inside the angle brackets again? Wouldn't it have to be Action<Action<Action<...>>> ad infinitum, which is obviously impossible?

like image 784
fredoverflow Avatar asked Jun 29 '11 18:06

fredoverflow


People also ask

What does action mean on bets?

If you take “action”, all moneyline wagers will be valid. That means that even if there is a pitching change, you would be locked into your original bet with a revised moneyline based on the new pitchers.

What does action mean on MLB bet?

When you take the action, that means you're wagering on that squad to win, regardless of who actually stands on the mound. Any last-minute changes won't influence your bet in any way; you're locked in on the action line until the game is complete.

What does no action mean?

: saying that one will do something but then not doing it When it comes to looking for a job, she's all talk and no action.

What does take the money line mean?

If you place a bet on the moneyline, that means you think the team you bet on will win the game. If they win, you win, no matter the score. While a point spread requires the team you bet on to win by a specified margin, moneyline does not.


1 Answers

Action<T> describes a delegate that takes a single parameter of type T. Action describes a delegate that takes no parameters.

See http://msdn.microsoft.com/en-us/library/system.action.aspx

like image 69
bdowden Avatar answered Sep 29 '22 13:09

bdowden