So, if I have to implement a property of an interface , I just have to add a PropertyDefinition with the same name?
On Jan 11, 2008 3:57 PM, Jb Evain <[EMAIL PROTECTED]> wrote: > > Man, > > On 1/11/08, Liviu U <[EMAIL PROTECTED]> wrote: > > There is unfortunately no InterfaceDefinition object! > > Come on, you can be more resourceful! If you had a single look at the > InterfaceCollection, you would have seen that it's a collection of > TypeReferences. > > So you can simply add an imported type to that collection. > > > but how to associate the methods of the interface with methods of the class? > > Basically by either their signature (name + return type + parameters), > or by specifying the method of the interface you're implementing in > the .OverrideCollection of the method. > > -- > > Jb Evain <[EMAIL PROTECTED]> > > > > --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
