correction = nelson.lang.correction.ConvertToFunctionNotationCorrection(method)
| Paramètre | Description |
|---|---|
| method | nom de methode qui doit etre appelee avec la notation fonction. |
| Paramètre | Description |
|---|---|
| correction | un objet nelson.lang.correction.ConvertToFunctionNotationCorrection. |
Utilisez les objets nelson.lang.correction.ConvertToFunctionNotationCorrection dans les classes dont les methodes ne doivent pas etre appelees avec la notation point.
correction = nelson.lang.correction.ConvertToFunctionNotationCorrection(method) cree une correction qui suggere de convertir la notation point en notation fonction pour appeler method.
La propriete en lecture seule Method contient le nom de la methode.
ME = MException('nelson:useFunctionForm', 'Use function syntax to call this method.');
correction = nelson.lang.correction.ConvertToFunctionNotationCorrection('isvalid');
ME = addCorrection(ME, correction)
ME.Correction.Method
| Version | Description |
|---|---|
| 2.0.0 | version initiale |