public PullRequestDiscussion(GithubPlugin plugin, GithubPullRequestInformation githubPullReqInfo, string owner, string repositoryName, string id) { _githubPullReqInfo = githubPullReqInfo; _plugin = plugin; _owner = owner; _repositoryName = repositoryName; _id = id; TryLoad(); }
public PullRequestDiscussion(GithubPlugin plugin, GithubPullRequestInformation githubPullReqInfo, string owner, string repositoryName, string id) { _githubPullReqInfo = githubPullReqInfo; _plugin = plugin; _owner = owner; _repositoryName = repositoryName; _id = id; Load(); }
public override bool Equals(object obj) { GithubPullRequestInformation pri = obj as GithubPullRequestInformation; return(pri != null && Owner == pri.Owner && RepositoryName == pri.RepositoryName && Id == pri.Id); }