partial class

Bruno Medeiros brunodomedeiros+spam at com.gmail
Fri Nov 7 12:25:38 PST 2008


Julio César Carrascal Urquijo wrote:
> Which means that Foo has to be polluted with default implementations of 
> every partial method. In C# the user can decide which methods to implement:
> 
> // Controlled by the user.
> partial class Foo
> {
> }
> 
> // Controlled by the tool.
> partial class Foo
> {
>     partial void one();
> 
>     void four()
>     {
>         one();
>     }
> }
> 
> 

What happens if one is not implemented?


-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list