c# - AOP w/ PostSharp - Classic NotifyPropertyChanged PropertyChanged Event Handler Missing? -
new postsharp 2.0 , trying out class notifypropertychanged aop provided here: http://www.sharpcrafters.com/solutions/ui#undo-redo
when attempt hook propertychanged event handler compiler tells me not defined. have not directly implemented inotifypropertychanged interface on object in question, applied attribute.
i assume answer implement interface defeats simplicity bit, missing or requirement?
is there way postsharp modify class pre-compile introduce these members/interfaces?
i suppose, trying subscribe event in same assembly. postsharp rewriting assembly after has been compiled. work, if reference assembly has been rewritten postsharp binary rewriter.
Comments
Post a Comment