VersionOne.ServiceHost.ClearQuestServices.ClearQuestHostedService.OnDefectCreated C# (CSharp) Méthode

OnDefectCreated() private méthode

A Defect was created in V1 that corresponds to an Defect in ClearQuest. We update the defect in ClearQuest to reflect that.
private OnDefectCreated ( object pubobj ) : void
pubobj object DefectCreationResult of created defect.
Résultat void
        private void OnDefectCreated(object pubobj) {
            var workitemCreationResult = pubobj as WorkitemCreationResult;

            if(workitemCreationResult != null) {
                clearQuestUpdater.OnDefectCreated(workitemCreationResult);
            }
        }