Inheriting from generic WeakEventManager creates error -
i want make weakeventcollectionweaver
bind multiple observablecollection
s together.
i inherit this:
public class weakeventcollectionweaver<t> : weakeventmanager<observablecollection<t>, notifycollectionchangedeventargs> { }
but error:
cs1729
weakeventmanager<observablecollection<t>, notifycollectionchangedeventargs>
not contain constructor takes 0 arguments
i looked , believe not have implement constructor. why error there?
it not possible inherit class. has private constructor (hence no default constructor), descendant classes cannot call it.
take @ source of class here:
Comments
Post a Comment