Exemplo n.º 1
0
        public PullRequestDiscussion(GithubPlugin plugin, GithubPullRequestInformation githubPullReqInfo, string owner, string repositoryName, string id)
        {
            _githubPullReqInfo = githubPullReqInfo;
            _plugin            = plugin;
            _owner             = owner;
            _repositoryName    = repositoryName;
            _id = id;

            TryLoad();
        }
Exemplo n.º 2
0
        public PullRequestDiscussion(GithubPlugin plugin, GithubPullRequestInformation githubPullReqInfo, string owner, string repositoryName, string id)
        {
            _githubPullReqInfo = githubPullReqInfo;
            _plugin = plugin;
            _owner = owner;
            _repositoryName = repositoryName;
            _id = id;

            Load();
        }
Exemplo n.º 3
0
        public override bool Equals(object obj)
        {
            GithubPullRequestInformation pri = obj as GithubPullRequestInformation;

            return(pri != null && Owner == pri.Owner && RepositoryName == pri.RepositoryName && Id == pri.Id);
        }