C# Class GitHub.ViewModels.PullRequestFileViewModel

A file node in a pull request changes tree.
Inheritance: IPullRequestFileViewModel
显示文件 Open project: github/VisualStudio

Public Methods

Method Description
PullRequestFileViewModel ( string path, FileChangeType changeType )

Initializes a new instance of the PullRequestFileViewModel class.

Method Details

PullRequestFileViewModel() public method

Initializes a new instance of the PullRequestFileViewModel class.
public PullRequestFileViewModel ( string path, FileChangeType changeType )
path string The path to the file, relative to the repository.
changeType FileChangeType The way the file was changed.