Syntax in parameter passing = [duplicate]

0

I have this syntax:

deleteCommand = new RelayCommand (param => this.Delete (), param => this.CodeDelete ());

The arguments passed to the RelayCommand constructor are of the Action and Predicate type, normally I could not pass the Delete () method to the constructor, but with this lambda annotation "param = >" it accepts, I wanted to better understand what this syntax is doing, and if possible a good link to understand this syntax in general, I am seeing it a lot, as in this syntax here too:

protected override string Table = > "client";

which is giving an override in an attribute of an abstract parent class and assigning the value by what I understood, but since the syntax is a bit new to me I get a bit doubtful if that's just what it's doing. / p>     

asked by anonymous 14.10.2018 / 00:16

0 answers