/// <summary> /// Project Item added event handler. /// </summary> /// <param name="projectItem">The project item.</param> internal void ProjectItemsEventsItemAdded(ProjectItem projectItem) { string message = string.Format( "ServicesService::ProjectItemsEventsItemAdded file={0}", projectItem.Name); TraceService.WriteLine(message); ProjectItemService projectItemService = new ProjectItemService(projectItem); this.OnFileAddedToProject(projectItemService); }
/// <summary> /// Project Item added event handler. /// </summary> /// <param name="projectItem">The project item.</param> internal void ProjectItemsEventsItemAdded(ProjectItem projectItem) { string message = string.Format( "BaseController::ProjectItemsEventsItemAdded file={0}", projectItem.Name); TraceService.WriteLine(message); ProjectItemService projectItemService = new ProjectItemService(projectItem); this.ProjectItemAdded(projectItemService); }