Events

Feb 14, 2011 at 12:34 PM

Hi,

I have used the pipline builder in a project and the result was great, no problems at all: Many thanks:-)

Now I came back to the project to make some small changes to the contract, re-run the tool and oops the AddInView event definition has changed from:

event System.EventHandler<AuthorizeEditorAddInEventArgs> Authorize;

to:

 

void AuthorizeEventAdd(IAuthorizeEditorAddInEventHandler handler);
void AuthorizeEventRemove(IAuthorizeEditorAddInEventHandler handler);

Is there somthing going wrong with the generation?

 

Feb 14, 2011 at 2:06 PM

Hi,

I made a new soution containing only the contracts project then build and run the tool: Hey presto - everything is OK again.

I guess I hade made some changes to the projects which confuses the tool.

Thanks