private void Visit(ReportingDescriptorRelationship reportingDescriptorRelationship, string reportingDescriptorRelationshipPointer) { Analyze(reportingDescriptorRelationship, reportingDescriptorRelationshipPointer); if (reportingDescriptorRelationship.Description != null) { Visit(reportingDescriptorRelationship.Description, reportingDescriptorRelationshipPointer.AtProperty(SarifPropertyName.Description)); } if (reportingDescriptorRelationship.Target != null) { Visit(reportingDescriptorRelationship.Target, reportingDescriptorRelationshipPointer.AtProperty(SarifPropertyName.Target)); } }
protected virtual void Analyze(ReportingDescriptorRelationship reportingDescriptorRelationship, string reportingDescriptionRelationshipPointer) { }