C# Class Evbpc.Framework.Integrations.Bitbucket.EventDispatcher

Dispatches events received from the Bitbucket API.
Inheritance: IEventDispatcher
Show file Open project: EBrown8534/Framework

Public Methods

Method Description
Dispatch ( string eventKey, string json ) : void

Determines what event has happened and triggers event as appropriate.

Protected Methods

Method Description
OnIssueCommentCreatedReceived ( EventArgs e ) : void

Throws the IssueCommentCreatedReceived event.

OnIssueCreatedEventReceived ( EventArgs e ) : void

Throws the IssueCreatedEventReceived event.

OnIssueUpdatedEventReceived ( EventArgs e ) : void

Throws the IssueUpdatedEventReceived event.

OnPushReceived ( EventArgs e ) : void

Throws the PushReceived event.

Method Details

Dispatch() public method

Determines what event has happened and triggers event as appropriate.
public Dispatch ( string eventKey, string json ) : void
eventKey string The key for the event.
json string The JSON source for the event.
return void

OnIssueCommentCreatedReceived() protected method

Throws the IssueCommentCreatedReceived event.
protected OnIssueCommentCreatedReceived ( EventArgs e ) : void
e EventArgs The args to throw into the event.
return void

OnIssueCreatedEventReceived() protected method

Throws the IssueCreatedEventReceived event.
protected OnIssueCreatedEventReceived ( EventArgs e ) : void
e EventArgs The args to throw into the event.
return void

OnIssueUpdatedEventReceived() protected method

Throws the IssueUpdatedEventReceived event.
protected OnIssueUpdatedEventReceived ( EventArgs e ) : void
e EventArgs The args to throw into the event.
return void

OnPushReceived() protected method

Throws the PushReceived event.
protected OnPushReceived ( EventArgs e ) : void
e EventArgs The args to throw into the event.
return void