API Reference
Class
ReviewTarget
Describes what content should be reviewed.
Inheritance
- Object
- ReviewTarget
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ReviewTarget.BaseBranch
- Method ReviewTarget.Commit
- Method ReviewTarget.Custom
- Method ReviewTarget.UncommittedChanges
Accepted by parameters
Methods
public static ReviewTarget BaseBranch(String branch) #Returns:
ReviewTargetTargets a base branch.
Parameters
- branch System.String
- Branch name.
public static ReviewTarget Commit(String sha) #Returns:
ReviewTargetTargets a specific commit by SHA.
Parameters
- sha System.String
- Commit SHA.
public static ReviewTarget Custom(String text) #Returns:
ReviewTargetTargets a custom text payload.
Parameters
- text System.String
- Custom text to review.
public static ReviewTarget UncommittedChanges() #Returns:
ReviewTargetTargets uncommitted working tree changes.