Registriert seit: 6. Mär 2013
6.156 Beiträge
Delphi 10 Seattle Enterprise
|
AW: Warum braucht Class Property einen Static-Getter?
21. Mai 2014, 13:01
Zitat:
A class field is shared between two classes that are related by inheritance. So that cannot be used for polymorphism. And a class static method also cannot supply polymorphic behaviour.
Use a virtual class function rather than a class property.
Quelle: http://stackoverflow.com/a/11013542/2298252
Kann man wohl nichts machen
Geändert von Der schöne Günther (21. Mai 2014 um 13:06 Uhr)
Grund: Derp
|