Can you say what is the use of the ()=> and =>? I saw this in a code. I did not get any reference for this.
()=>
=>
this.Dispatcher.B
Check out this page http://codebetter.com/karlseguin/2008/11/27/back-to-basics-delegates-anonymous-methods-and-lambda-expressions/
If you don’t have any parameters, like in our example, you use empty paranthesis: () => {…}
If you don’t have any parameters, like in our example, you use empty paranthesis:
() => {…}