/// <summary> /// Fires the SendMessageProcessed event. /// </summary> /// <param name="projectName">The name of the project.</param> /// <param name="message">The message that was sent.</param> protected virtual void FireSendMessageProcessed(string projectName, Message message) { if (SendMessageProcessed != null) { ProjectEventArgs<Message> args = new ProjectEventArgs<Message>(projectName, message); SendMessageProcessed(this, args); } }
/// <summary> /// Fires the ProjectStarted event. /// </summary> /// <param name="projectName">The name of the project.</param> protected virtual void FireProjectStarted(string projectName) { if (ProjectStarted != null) { ProjectEventArgs args = new ProjectEventArgs(projectName); ProjectStarted(this, args); } }
/// <summary> /// Fires the AbortBuildProcessed event. /// </summary> /// <param name="projectName">The name of the project.</param> /// <param name="enforcerName">The name of the person aborting the build.</param> protected virtual void FireAbortBuildProcessed(string projectName, string enforcerName) { if (AbortBuildProcessed != null) { ProjectEventArgs<string> args = new ProjectEventArgs<string>(projectName, enforcerName); AbortBuildProcessed(this, args); } }