I have one class partition in two files. One of these is generated, the other contains non-generated stuff.
I want my class to be inherited from the base class. Do I have to get both files? Or, if there is a partial class
generated in foo.vb:
P> It does not make any difference (as I see in the reflector, anyway)
Partial Public Class Foo Inherits BaseClass
Can anyone explain how it works? Can the compiler join just two?
One of only two ways is to get one.
Partial classes are compiler moves just before compiling your two files back together. This means that only one base class can be specified, like normal classes.
You can:
partial square one: base {} partial square one {}
and this: />
but not
partial square one: fu {} partial square two: times {}
Because the last one is included:
class one: foo, bar {}
you are mixing the interface and You can match, however, just like the general category.
Comments
Post a Comment