attached_methods
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
attached_methods [2018/01/28 17:37] – 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 27: | Line 27: | ||
The secret stays in the first parameter: '' | The secret stays in the first parameter: '' | ||
- | 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 '' | And if you look at the sample code, you will see that the length of the string is checked before the '' |
attached_methods.txt · Last modified: 2018/01/28 17:41 by wolfgangriedmann