// archives

Interfaces

This tag is associated with 2 posts

Casting an Interface Reference to the Implementing Class in Delphi 2010

Not all the new features in Delphi 2010 are big. In fact, the team have spent a lot of time implementing many small features, fixes and tweaks. Some of these may not seem to amount to much individually, but they not only add up to significant impact, but greatly add to the polish of [...]

Generic Interfaces in Delphi

Most of the examples I’ve seen of Generics in Delphi use classes containing a generic type. However, while working on a personal project, I decided I wanted an Interface containing a generic type.
The project uses an in-process publish/subscribe mechanism, and I wanted a subscriber to have a separate Receive method for each event type, [...]

Subscribe to RSS Follow on Twitter Connect on LinkedIn Connect on Facebook Subscribe on YouTube Subscribe on iTunes

Recent Tweets

This is a personal website. As such, any opinions expressed are my own, and do not necessarily represent the views of my employer, Embarcadero Technologies.