DP News-Robot |
4. Jun 2014 20:30 |
Implementing generic interfaces in Delphi
Delphi supports generic interfaces; for example we can declare a generic interface type IChecker = interface function Check(const Instance: T): Boolean; end; and use this generic interface as follows: unit UseDemo; interface uses GenChecks; type TDemo = class ... http://feeds.feedburner.com/~r/delph...~4/6OM52-6kvsE
More...
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:14 Uhr. |
|
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz