attached_methods
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
attached_methods [2018/01/28 17:35] – wolfgangriedmann | attached_methods [2018/01/28 17:41] (current) – wolfgangriedmann | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
In Visual Objects, you could define methods to classes where you had no sources and that are defined in other libraries. | In Visual Objects, you could define methods to classes where you had no sources and that are defined in other libraries. | ||
- | In the .NET Framework this is not possible, but since this is a very powerful language feature, you can use the '' | + | In the .NET Framework this is not possible, but since this is a very powerful language feature, you can use the '' |
Please look at this code: | Please look at this code: | ||
Line 25: | Line 25: | ||
return cReturn</ | return cReturn</ | ||
- | The secret | + | The secret |
- | If you have defined this attached | + | If you have defined this extension |
+ | |||
+ | And if you look at the sample code, you will see that the length of the string is checked before the '' | ||
attached_methods.1517160908.txt.gz · Last modified: 2018/01/28 17:35 by wolfgangriedmann