{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/docfx/pulls/comments/165284291","pull_request_review_id":93195376,"id":165284291,"diff_hunk":"@@ -0,0 +1,117 @@\n+﻿// Copyright (c) Microsoft. All rights reserved.\n+// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n+\n+namespace Microsoft.DocAsCode.Build.SchemaDriven\n+{\n+    using System;\n+    using System.Collections.Generic;\n+\n+    using Microsoft.DocAsCode.Build.Common;\n+    using Microsoft.DocAsCode.Build.SchemaDriven.Processors;\n+    using Microsoft.DocAsCode.Common;\n+    using Microsoft.DocAsCode.DataContracts.Common;\n+    using Microsoft.DocAsCode.Plugins;\n+\n+    public class ApplyOverwriteUtility\n+    {\n+        private static readonly SchemaProcessor OverwriteProcessor = new SchemaProcessor(\n+            new FileIncludeInterpreter(),\n+            new MarkdownWithContentAnchorInterpreter(new MarkdownInterpreter()),\n+            new FileInterpreter(true, false),\n+            new HrefInterpreter(true, false),\n+            new XrefInterpreter()\n+        );\n+\n+        private static readonly SchemaProcessor XrefSpecUpdater = new SchemaProcessor(\n+            new XrefPropertiesInterpreter()\n+        );\n+\n+        private static readonly Merger Merger = new Merger();\n+\n+        public static void ReExportXrefSpec(FileModel fileModel, IHostService host, BaseSchema schema)","path":"src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteUtility.cs","position":31,"original_position":31,"commit_id":"0c9246c1115aef87ce0c1a589ffea2871618847f","original_commit_id":"0c9246c1115aef87ce0c1a589ffea2871618847f","user":{"login":"vwxyzh","id":2705828,"avatar_url":"https://avatars2.githubusercontent.com/u/2705828?v=4","gravatar_id":"","url":"https://api.github.com/users/vwxyzh","html_url":"https://github.com/vwxyzh","followers_url":"https://api.github.com/users/vwxyzh/followers","following_url":"https://api.github.com/users/vwxyzh/following{/other_user}","gists_url":"https://api.github.com/users/vwxyzh/gists{/gist_id}","starred_url":"https://api.github.com/users/vwxyzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwxyzh/subscriptions","organizations_url":"https://api.github.com/users/vwxyzh/orgs","repos_url":"https://api.github.com/users/vwxyzh/repos","events_url":"https://api.github.com/users/vwxyzh/events{/privacy}","received_events_url":"https://api.github.com/users/vwxyzh/received_events","type":"User","site_admin":false},"body":"`Reexport`","created_at":"2018-02-01T08:22:57Z","updated_at":"2018-02-01T08:22:58Z","html_url":"https://github.com/dotnet/docfx/pull/2398#discussion_r165284291","pull_request_url":"https://api.github.com/repos/dotnet/docfx/pulls/2398","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/docfx/pulls/comments/165284291"},"html":{"href":"https://github.com/dotnet/docfx/pull/2398#discussion_r165284291"},"pull_request":{"href":"https://api.github.com/repos/dotnet/docfx/pulls/2398"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/docfx/pulls/2398","id":166460481,"html_url":"https://github.com/dotnet/docfx/pull/2398","diff_url":"https://github.com/dotnet/docfx/pull/2398.diff","patch_url":"https://github.com/dotnet/docfx/pull/2398.patch","issue_url":"https://api.github.com/repos/dotnet/docfx/issues/2398","number":2398,"state":"open","locked":false,"title":"extract common functions from applyOverwriteDocument","user":{"login":"928PJY","id":17958546,"avatar_url":"https://avatars1.githubusercontent.com/u/17958546?v=4","gravatar_id":"","url":"https://api.github.com/users/928PJY","html_url":"https://github.com/928PJY","followers_url":"https://api.github.com/users/928PJY/followers","following_url":"https://api.github.com/users/928PJY/following{/other_user}","gists_url":"https://api.github.com/users/928PJY/gists{/gist_id}","starred_url":"https://api.github.com/users/928PJY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/928PJY/subscriptions","organizations_url":"https://api.github.com/users/928PJY/orgs","repos_url":"https://api.github.com/users/928PJY/repos","events_url":"https://api.github.com/users/928PJY/events{/privacy}","received_events_url":"https://api.github.com/users/928PJY/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-01T07:17:15Z","updated_at":"2018-02-01T08:22:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec365dce432417d15759d49e04e1d4a43eb7518d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"herohua","id":2174068,"avatar_url":"https://avatars3.githubusercontent.com/u/2174068?v=4","gravatar_id":"","url":"https://api.github.com/users/herohua","html_url":"https://github.com/herohua","followers_url":"https://api.github.com/users/herohua/followers","following_url":"https://api.github.com/users/herohua/following{/other_user}","gists_url":"https://api.github.com/users/herohua/gists{/gist_id}","starred_url":"https://api.github.com/users/herohua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herohua/subscriptions","organizations_url":"https://api.github.com/users/herohua/orgs","repos_url":"https://api.github.com/users/herohua/repos","events_url":"https://api.github.com/users/herohua/events{/privacy}","received_events_url":"https://api.github.com/users/herohua/received_events","type":"User","site_admin":false},{"login":"superyyrrzz","id":3831744,"avatar_url":"https://avatars1.githubusercontent.com/u/3831744?v=4","gravatar_id":"","url":"https://api.github.com/users/superyyrrzz","html_url":"https://github.com/superyyrrzz","followers_url":"https://api.github.com/users/superyyrrzz/followers","following_url":"https://api.github.com/users/superyyrrzz/following{/other_user}","gists_url":"https://api.github.com/users/superyyrrzz/gists{/gist_id}","starred_url":"https://api.github.com/users/superyyrrzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superyyrrzz/subscriptions","organizations_url":"https://api.github.com/users/superyyrrzz/orgs","repos_url":"https://api.github.com/users/superyyrrzz/repos","events_url":"https://api.github.com/users/superyyrrzz/events{/privacy}","received_events_url":"https://api.github.com/users/superyyrrzz/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/docfx/pulls/2398/commits","review_comments_url":"https://api.github.com/repos/dotnet/docfx/pulls/2398/comments","review_comment_url":"https://api.github.com/repos/dotnet/docfx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/docfx/issues/2398/comments","statuses_url":"https://api.github.com/repos/dotnet/docfx/statuses/0c9246c1115aef87ce0c1a589ffea2871618847f","head":{"label":"dotnet:ow-uti","ref":"ow-uti","sha":"0c9246c1115aef87ce0c1a589ffea2871618847f","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":38007053,"name":"docfx","full_name":"dotnet/docfx","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/docfx","description":"Tools for building and publishing API documentation for .NET projects","fork":false,"url":"https://api.github.com/repos/dotnet/docfx","forks_url":"https://api.github.com/repos/dotnet/docfx/forks","keys_url":"https://api.github.com/repos/dotnet/docfx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/docfx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/docfx/teams","hooks_url":"https://api.github.com/repos/dotnet/docfx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/docfx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/docfx/events","assignees_url":"https://api.github.com/repos/dotnet/docfx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/docfx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/docfx/tags","blobs_url":"https://api.github.com/repos/dotnet/docfx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/docfx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/docfx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/docfx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/docfx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/docfx/languages","stargazers_url":"https://api.github.com/repos/dotnet/docfx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/docfx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/docfx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/docfx/subscription","commits_url":"https://api.github.com/repos/dotnet/docfx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/docfx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/docfx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/docfx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/docfx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/docfx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/docfx/merges","archive_url":"https://api.github.com/repos/dotnet/docfx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/docfx/downloads","issues_url":"https://api.github.com/repos/dotnet/docfx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/docfx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/docfx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/docfx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/docfx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/docfx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/docfx/deployments","created_at":"2015-06-24T19:43:53Z","updated_at":"2018-02-01T07:24:46Z","pushed_at":"2018-02-01T07:17:16Z","git_url":"git://github.com/dotnet/docfx.git","ssh_url":"git@github.com:dotnet/docfx.git","clone_url":"https://github.com/dotnet/docfx.git","svn_url":"https://github.com/dotnet/docfx","homepage":"http://dotnet.github.io/docfx/","size":278511,"stargazers_count":937,"watchers_count":937,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":263,"mirror_url":null,"archived":false,"open_issues_count":175,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":263,"open_issues":175,"watchers":937,"default_branch":"dev"}},"base":{"label":"dotnet:dev","ref":"dev","sha":"3e28d96085a9f8011a7dafb572954c6f48a4de71","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":38007053,"name":"docfx","full_name":"dotnet/docfx","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/docfx","description":"Tools for building and publishing API documentation for .NET projects","fork":false,"url":"https://api.github.com/repos/dotnet/docfx","forks_url":"https://api.github.com/repos/dotnet/docfx/forks","keys_url":"https://api.github.com/repos/dotnet/docfx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/docfx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/docfx/teams","hooks_url":"https://api.github.com/repos/dotnet/docfx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/docfx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/docfx/events","assignees_url":"https://api.github.com/repos/dotnet/docfx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/docfx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/docfx/tags","blobs_url":"https://api.github.com/repos/dotnet/docfx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/docfx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/docfx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/docfx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/docfx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/docfx/languages","stargazers_url":"https://api.github.com/repos/dotnet/docfx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/docfx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/docfx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/docfx/subscription","commits_url":"https://api.github.com/repos/dotnet/docfx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/docfx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/docfx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/docfx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/docfx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/docfx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/docfx/merges","archive_url":"https://api.github.com/repos/dotnet/docfx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/docfx/downloads","issues_url":"https://api.github.com/repos/dotnet/docfx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/docfx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/docfx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/docfx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/docfx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/docfx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/docfx/deployments","created_at":"2015-06-24T19:43:53Z","updated_at":"2018-02-01T07:24:46Z","pushed_at":"2018-02-01T07:17:16Z","git_url":"git://github.com/dotnet/docfx.git","ssh_url":"git@github.com:dotnet/docfx.git","clone_url":"https://github.com/dotnet/docfx.git","svn_url":"https://github.com/dotnet/docfx","homepage":"http://dotnet.github.io/docfx/","size":278511,"stargazers_count":937,"watchers_count":937,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":263,"mirror_url":null,"archived":false,"open_issues_count":175,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":263,"open_issues":175,"watchers":937,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/docfx/pulls/2398"},"html":{"href":"https://github.com/dotnet/docfx/pull/2398"},"issue":{"href":"https://api.github.com/repos/dotnet/docfx/issues/2398"},"comments":{"href":"https://api.github.com/repos/dotnet/docfx/issues/2398/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/docfx/pulls/2398/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/docfx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/docfx/pulls/2398/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/docfx/statuses/0c9246c1115aef87ce0c1a589ffea2871618847f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vwxyzh"}}