Deakin University
Browse

File(s) not publicly available

On the integration of classboxes into C#

conference contribution
posted on 2006-01-01, 00:00 authored by M Lumpe, Jean-Guy SchneiderJean-Guy Schneider
Classboxes are a new module system for object-oriented languages defining a packaging and scoping mechanism for controlling the visibility of isolated extensions to portions of class-based systems. Unlike object-oriented specialization, the class extension mechanisms supported by classboxes preserve the identity of extended classes and, therefore, all clients of extended classes can benefit from the applied extensions. In this paper, we present a language design and a corresponding implementation strategy for classboxes in C#. A particular challenge in incorporating classboxes into C# is to preserve the identity of extended classes as the NET framework represents classes as metadata type declarations and access to classes by static links into metadata of the host assembly. However, the local refinement of an imported class results in a new metadata type declaration. In order to guarantee the identity of extended classes, new metadata type declarations have to be incorporated into the original metadata of imported classes. But this "re-wiring" has to occur in a manner that is consistent with the Common Language Infrastructure (CLI). © Springer-Verlag Berlin Heidelberg 2006.

History

Volume

4089 LNCS

Pagination

307 - 322

ISSN

0302-9743

eISSN

1611-3349

ISBN-13

9783540376576

ISBN-10

3540376577

Publication classification

E1.1 Full written paper - refereed

Title of proceedings

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

Usage metrics

    Research Publications

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC