private void OnDefectCreated(object pubobj) { var workitemCreationResult = pubobj as WorkitemCreationResult; if(workitemCreationResult != null) { clearQuestUpdater.OnDefectCreated(workitemCreationResult); } }