From 473d8277ac592324bd358f8332bee8fbe25d57fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 08:03:48 +0000 Subject: [PATCH 01/70] build(deps-dev): bump the typescript-eslint group in /templates with 2 updates (#10363) build(deps-dev): bump the typescript-eslint group Bumps the typescript-eslint group in /templates with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.12.2 to 8.13.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.12.2 to 8.13.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- templates/package-lock.json | 88 ++++++++++++++++++------------------- templates/package.json | 4 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/templates/package-lock.json b/templates/package-lock.json index 2dd1fcb7bfb..81f6a513640 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -32,8 +32,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.12.2", - "@typescript-eslint/parser": "^8.12.2", + "@typescript-eslint/eslint-plugin": "^8.13.0", + "@typescript-eslint/parser": "^8.13.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", @@ -932,16 +932,16 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.2.tgz", - "integrity": "sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", + "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/type-utils": "8.12.2", - "@typescript-eslint/utils": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/type-utils": "8.13.0", + "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -965,15 +965,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", - "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", + "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4" }, "engines": { @@ -993,13 +993,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz", - "integrity": "sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", + "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2" + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1010,13 +1010,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.2.tgz", - "integrity": "sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", + "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/utils": "8.12.2", + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/utils": "8.13.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1034,9 +1034,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.2.tgz", - "integrity": "sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", + "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1047,13 +1047,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.2.tgz", - "integrity": "sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", + "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1075,15 +1075,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.2.tgz", - "integrity": "sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", + "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2" + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1097,12 +1097,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.2.tgz", - "integrity": "sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", + "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/types": "8.13.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/templates/package.json b/templates/package.json index 294817e7768..55dd78f663d 100644 --- a/templates/package.json +++ b/templates/package.json @@ -41,8 +41,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.12.2", - "@typescript-eslint/parser": "^8.12.2", + "@typescript-eslint/eslint-plugin": "^8.13.0", + "@typescript-eslint/parser": "^8.13.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", From 8997fdb84a846de5e2b4d19d89842dbbf3dc6afc Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:27:10 +1100 Subject: [PATCH 02/70] chore: remove redundant ass (#10362) --- test/docfx.Tests/PublicApiContractTest.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/docfx.Tests/PublicApiContractTest.cs b/test/docfx.Tests/PublicApiContractTest.cs index 5a3c43f1b6c..d54d39da116 100644 --- a/test/docfx.Tests/PublicApiContractTest.cs +++ b/test/docfx.Tests/PublicApiContractTest.cs @@ -14,10 +14,6 @@ public static Task TestPublicApiContract() var assemblies = new HashSet(); GetAssemblies(typeof(Docset).Assembly); - - var ass = assemblies.Select(x => x.GetName().Name).OrderBy(x => x).ToArray(); - - var publicApi = string.Join('\n', assemblies .OrderBy(a => a.FullName) .Select(a => a.GeneratePublicApi(new() { IncludeAssemblyAttributes = false }))); From 0aa88cfd213b1eca67ba6a8b50a6a0e5f0f191fa Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:27:35 +1100 Subject: [PATCH 03/70] chore: remove redundant Directory.Exists (#10361) --- src/Docfx.Build/TemplateProcessors/TemplateManager.cs | 2 +- src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs | 6 ++---- test/Docfx.Build.Tests/TemplateManagerUnitTest.cs | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Docfx.Build/TemplateProcessors/TemplateManager.cs b/src/Docfx.Build/TemplateProcessors/TemplateManager.cs index 0cb5d0836a2..40f422f120b 100644 --- a/src/Docfx.Build/TemplateProcessors/TemplateManager.cs +++ b/src/Docfx.Build/TemplateProcessors/TemplateManager.cs @@ -124,7 +124,7 @@ private static void Copy(Action streamHandler, string filePath, bool ove try { var subfolder = Path.GetDirectoryName(filePath); - if (!string.IsNullOrEmpty(subfolder) && !Directory.Exists(subfolder)) + if (!string.IsNullOrEmpty(subfolder)) { Directory.CreateDirectory(subfolder); } diff --git a/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs b/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs index 48ec883686a..f68ccb4567a 100644 --- a/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs +++ b/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs @@ -28,9 +28,7 @@ protected internal static void EnsureFolder(string folder) { return; } - if (!Directory.Exists(folder)) - { - Directory.CreateDirectory(folder); - } + + Directory.CreateDirectory(folder); } } diff --git a/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs b/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs index a97a85ea613..2a72b1c83a0 100644 --- a/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs +++ b/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs @@ -585,7 +585,7 @@ private static void WriteTemplate(string cwd, params Tuple[] fil var filePath = Path.Combine(cwd ?? string.Empty, file.Item1); var directory = Path.GetDirectoryName(filePath); - if (!string.IsNullOrEmpty(directory) && !Directory.Exists(directory)) + if (!string.IsNullOrEmpty(directory)) Directory.CreateDirectory(directory); File.WriteAllText(filePath, file.Item2); } From 58f7386b78fe7af9655e701ce7b91a80aedca453 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:27:57 +1100 Subject: [PATCH 04/70] chore: use file based YamlUtility.Deserialize (#10359) --- src/Docfx.Build/XRefMaps/XRefMapDownloader.cs | 3 +-- test/docfx.Tests/JsonSchemaTest.cs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs index 5a83901afd8..4c523ddb876 100644 --- a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs +++ b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs @@ -147,8 +147,7 @@ private static async ValueTask ReadLocalFileAsync(string filePat case ".yml": default: { - using var sr = File.OpenText(filePath); - return YamlUtility.Deserialize(sr); + return YamlUtility.Deserialize(filePath); } } } diff --git a/test/docfx.Tests/JsonSchemaTest.cs b/test/docfx.Tests/JsonSchemaTest.cs index 1f09a6ab4e4..aeed970aa31 100644 --- a/test/docfx.Tests/JsonSchemaTest.cs +++ b/test/docfx.Tests/JsonSchemaTest.cs @@ -163,8 +163,7 @@ private static JsonElement LoadAsJsonElement(string path) var doc = JsonDocument.Parse(File.OpenRead(filePath), JsonSchemaUtility.DefaultJsonDocumentOptions); return doc.RootElement; case ".yml": - var yaml = File.ReadAllText(filePath); - var yamlObject = YamlUtility.Deserialize(new StringReader(yaml)); + var yamlObject = YamlUtility.Deserialize(filePath); var serializer = new SerializerBuilder() .JsonCompatible() From e14408b643ac5ecf13424979259b9f196b57c998 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:28:26 +1100 Subject: [PATCH 05/70] chore: raw strings in InclusionTest (#10355) --- .../InclusionTest.cs | 686 ++++++++++-------- 1 file changed, 397 insertions(+), 289 deletions(-) diff --git a/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs b/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs index d10bb7f7668..2c27735c078 100644 --- a/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs +++ b/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs @@ -17,47 +17,55 @@ public class InclusionTest [Trait("Related", "Inclusion")] public void TestBlockLevelInclusion_General() { - var root = @" -# Hello World + var root = """ -Test Include File + # Hello World -[!include[refa](a.md)] + Test Include File -[!include[refa](a.md) ] + [!include[refa](a.md)] -"; + [!include[refa](a.md) ] - var refa = @"--- -title: include file -description: include file ---- -# Hello Include File A + """; -This is a file A included by another file. [!include[refb](b.md)] [!include[refb](b.md) ] + var refa = """ + --- + title: include file + description: include file + --- -"; + # Hello Include File A - var refb = @"--- -title: include file -description: include file ---- + This is a file A included by another file. [!include[refb](b.md)] [!include[refb](b.md) ] -# Hello Include File B -"; + + """; + + var refb = """ + --- + title: include file + description: include file + --- + + # Hello Include File B + + """; TestUtility.WriteToFile("r/root.md", root); TestUtility.WriteToFile("r/a.md", refa); TestUtility.WriteToFile("r/b.md", refb); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); - var expected = @"

Hello World

-

Test Include File

-

Hello Include File A

-

This is a file A included by another file. # Hello Include File B [!includerefb ]

+ var expected = """ +

Hello World

+

Test Include File

+

Hello Include File A

+

This is a file A included by another file. # Hello Include File B [!includerefb ]

-

[!includerefa ]

-"; +

[!includerefa ]

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -69,30 +77,36 @@ Test Include File [Trait("Related", "IncludeFile")] public void TestBlockLevelInclusion_Escape() { - var root = @" -# Hello World + var root = """ + + # Hello World + + Test Include File + + [!include[refa](a\(x\).md)] -Test Include File -[!include[refa](a\(x\).md)] + """; -"; + var refa = """ - var refa = @" -# Hello Include File A + # Hello Include File A -This is a file A included by another file. -"; + This is a file A included by another file. + + """; TestUtility.WriteToFile("r/root.md", root); TestUtility.WriteToFile("r/a(x).md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); - var expected = @"

Hello World

-

Test Include File

-

Hello Include File A

-

This is a file A included by another file.

-"; + var expected = """ +

Hello World

+

Test Include File

+

Hello Include File A

+

This is a file A included by another file.

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -104,30 +118,36 @@ This is a file A included by another file. [Trait("Related", "Inclusion")] public void TestBlockLevelInclusion_RelativePath() { - var root = @" -# Hello World + var root = """ + + # Hello World + + Test Include File -Test Include File + [!include[refa](~/r/a.md)] -[!include[refa](~/r/a.md)] -"; + """; - var refa = @" -# Hello Include File A + var refa = """ -This is a file A included by another file. -"; + # Hello Include File A + + This is a file A included by another file. + + """; TestUtility.WriteToFile("r/root.md", root); TestUtility.WriteToFile("r/a.md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); - var expected = @"

Hello World

-

Test Include File

-

Hello Include File A

-

This is a file A included by another file.

-"; + var expected = """ +

Hello World

+

Test Include File

+

Hello Include File A

+

This is a file A included by another file.

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -139,29 +159,35 @@ This is a file A included by another file. [Trait("Related", "Inclusion")] public void TestBlockLevelInclusion_CycleInclude() { - var root = @" -# Hello World + var root = """ -Test Include File + # Hello World -[!include[refa](a.md)] + Test Include File -"; + [!include[refa](a.md)] - var refa = @" -# Hello Include File A -This is a file A included by another file. + """; -[!include[refb](b.md)] + var refa = """ -"; + # Hello Include File A - var refb = @" -# Hello Include File B + This is a file A included by another file. -[!include[refa](a.md)] -"; + [!include[refb](b.md)] + + + """; + + var refb = """ + + # Hello Include File B + + [!include[refa](a.md)] + + """; TestUtility.WriteToFile("r/root.md", root); TestUtility.WriteToFile("r/a.md", refa); TestUtility.WriteToFile("r/b.md", refb); @@ -169,12 +195,14 @@ This is a file A included by another file. var listener = new TestLoggerListener(); Logger.RegisterListener(listener); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); - var expected = @"

Hello World

-

Test Include File

-

Hello Include File A

-

This is a file A included by another file.

-

Hello Include File B

-[!include[refa](a.md)]"; + var expected = """ +

Hello World

+

Test Include File

+

Hello Include File A

+

This is a file A included by another file.

+

Hello Include File B

+ [!include[refa](a.md)] + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); Logger.UnregisterListener(listener); @@ -187,13 +215,15 @@ This is a file A included by another file. [Trait("Related", "Inclusion")] public void TestInlineLevelInclusion_General() { - var root = @" -# Hello World + var root = """ + + # Hello World -Test Inline Included File: \\[!include[refa](~/r/a.md)]. + Test Inline Included File: \\[!include[refa](~/r/a.md)]. -Test Escaped Inline Included File: \[!include[refa](~/r/a.md)]. -"; + Test Escaped Inline Included File: \[!include[refa](~/r/a.md)]. + + """; var refa = "This is a **included** token"; @@ -201,10 +231,12 @@ public void TestInlineLevelInclusion_General() TestUtility.WriteToFile("r/a.md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); ; - var expected = @"

Hello World

-

Test Inline Included File: \This is a included token.

-

Test Escaped Inline Included File: [!includerefa].

-"; + var expected = """ +

Hello World

+

Test Inline Included File: \This is a included token.

+

Test Escaped Inline Included File: [!includerefa].

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -216,12 +248,14 @@ public void TestInlineLevelInclusion_General() [Trait("Related", "Inclusion")] public void TestInlineLevelInclusion_CycleInclude() { - var root = @" -# Hello World + var root = """ + + # Hello World + + Test Inline Included File: [!include[refa](~/r/a.md)]. -Test Inline Included File: [!include[refa](~/r/a.md)]. -"; + """; var refa = "This is a **included** token with [!include[root](~/r/root.md)]"; @@ -229,9 +263,11 @@ public void TestInlineLevelInclusion_CycleInclude() TestUtility.WriteToFile("r/a.md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); - var expected = @"

Hello World

-

Test Inline Included File: This is a included token with [!include[root](~/r/root.md)].

-"; + var expected = """ +

Hello World

+

Test Inline Included File: This is a included token with [!include[root](~/r/root.md)].

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); } @@ -240,24 +276,30 @@ public void TestInlineLevelInclusion_CycleInclude() [Trait("Related", "Inclusion")] public void TestInlineLevelInclusion_Block() { - var root = @" -# Hello World + var root = """ + + # Hello World + + Test Inline Included File: [!include[refa](~/r/a.md)]. -Test Inline Included File: [!include[refa](~/r/a.md)]. -"; + """; - var refa = @"## This is a included token + var refa = """ + ## This is a included token -block content in Inline Inclusion."; + block content in Inline Inclusion. + """; TestUtility.WriteToFile("r/root.md", root); TestUtility.WriteToFile("r/a.md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); - var expected = @"

Hello World

-

Test Inline Included File: ## This is a included tokenblock content in Inline Inclusion..

-"; + var expected = """ +

Hello World

+

Test Inline Included File: ## This is a included tokenblock content in Inline Inclusion..

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -285,21 +327,25 @@ public void TestBlockLevelInclusion() // |- link2.md // |- md // |- c.md - var root = @" -[!include[linkAndRefRoot](b/linkAndRefRoot.md)] -[!include[refc](a/refc.md ""This is root"")] -[!include[refc_using_cache](a/refc.md)] -[!include[empty](empty.md)] -[!include[external](http://microsoft.com/a.md)]"; - - var linkAndRefRoot = @" -Paragraph1 -[link](a.md) -[!include-[link2](../link/link2.md)] -![Image](img/img.jpg) -[!include-[root](../root.md)]"; + var root = """ + + [!include[linkAndRefRoot](b/linkAndRefRoot.md)] + [!include[refc](a/refc.md "This is root")] + [!include[refc_using_cache](a/refc.md)] + [!include[empty](empty.md)] + [!include[external](http://microsoft.com/a.md)] + """; + + var linkAndRefRoot = """ + + Paragraph1 + [link](a.md) + [!include-[link2](../link/link2.md)] + ![Image](img/img.jpg) + [!include-[root](../root.md)] + """; var link2 = "[link](md/c.md)"; - var refc = @"[!include[c](../c/c.md ""This is root"")]"; + var refc = """[!include[c](../c/c.md "This is root")]"""; var c = "**Hello**"; TestUtility.WriteToFile("r/root.md", root); @@ -310,14 +356,16 @@ public void TestBlockLevelInclusion() TestUtility.WriteToFile("r/empty.md", string.Empty); var marked = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); var dependency = marked.Dependency; - var expected = @"

Paragraph1 -link -link - -[!include[root](../root.md)]

-

Hello

-

Hello

-[!include[external](http://microsoft.com/a.md)]".Replace("\r\n", "\n"); + var expected = """ +

Paragraph1 + link + link + Image + [!include[root](../root.md)]

+

Hello

+

Hello

+ [!include[external](http://microsoft.com/a.md)] + """.Replace("\r\n", "\n"); Assert.Equal(expected, marked.Html); Assert.Equal( @@ -348,31 +396,41 @@ public void TestBlockLevelInclusionWithSameFile() // |- d.md // |- img // | |- img.jpg - var r = @" -[!include[](a/a.md)] -[!include[](c/d/d.md)] -"; - var a = @" -[!include[](../b/token.md)]"; - var token = @" -![](../img/img.jpg) -[](#anchor) -[a](../a/a.md) -[](invalid.md) -[d](../c/d/d.md#anchor) -"; - var d = @" -[!include[](../../b/token.md)]"; + var r = """ + + [!include[](a/a.md)] + [!include[](c/d/d.md)] + + """; + var a = """ + + [!include[](../b/token.md)] + """; + var token = """ + + ![](../img/img.jpg) + [](#anchor) + [a](../a/a.md) + [](invalid.md) + [d](../c/d/d.md#anchor) + + """; + var d = """ + + [!include[](../../b/token.md)] + """; TestUtility.WriteToFile("r/r.md", r); TestUtility.WriteToFile("r/a/a.md", a); TestUtility.WriteToFile("r/b/token.md", token); TestUtility.WriteToFile("r/c/d/d.md", d); var marked = TestUtility.MarkupWithoutSourceInfo(a, "r/a/a.md"); - var expected = @"

- -a - -d

".Replace("\r\n", "\n") + "\n"; + var expected = """ +

+ + a + + d

+ """.Replace("\r\n", "\n") + "\n"; var dependency = marked.Dependency; Assert.Equal(expected, marked.Html); Assert.Equal( @@ -430,24 +488,30 @@ public void TestFallback_Inclusion_random_name() // 1. Prepare data var uniqueFolderName = Path.GetRandomFileName(); - var root = $@"1markdown root.md main content start. + var root = $""" + 1markdown root.md main content start. -[!include[a](a_folder_{uniqueFolderName}/a_{uniqueFolderName}.md ""This is a.md"")] + [!include[a](a_folder_{uniqueFolderName}/a_{uniqueFolderName}.md "This is a.md")] -markdown root.md main content end."; + markdown root.md main content end. + """; - var a = $@"1markdown a.md main content start. + var a = $""" + 1markdown a.md main content start. -[!include[token1](../token_folder_{uniqueFolderName}/token1_{uniqueFolderName}.md ""This is token1.md"")] -[!include[token1](../token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md ""This is token2.md"")] + [!include[token1](../token_folder_{uniqueFolderName}/token1_{uniqueFolderName}.md "This is token1.md")] + [!include[token1](../token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md "This is token2.md")] -markdown a.md main content end."; + markdown a.md main content end. + """; - var token1 = $@"1markdown token1.md content start. + var token1 = $""" + 1markdown token1.md content start. -[!include[token2](token2_{uniqueFolderName}.md ""This is token2.md"")] + [!include[token2](token2_{uniqueFolderName}.md "This is token2.md")] -markdown token1.md content end."; + markdown token1.md content end. + """; var token2 = "**1markdown token2.md main content**"; @@ -466,15 +530,17 @@ public void TestFallback_Inclusion_random_name() var marked = service.Markup("place", "holder"); var dependency = marked.Dependency; - Assert.Equal(@"

1markdown root.md main content start.

-

1markdown a.md main content start.

-

1markdown token1.md content start.

-

1markdown token2.md main content

-

markdown token1.md content end.

-

1markdown token2.md main content

-

markdown a.md main content end.

-

markdown root.md main content end.

-".Replace("\r\n", "\n"), marked.Html); + Assert.Equal(""" +

1markdown root.md main content start.

+

1markdown a.md main content start.

+

1markdown token1.md content start.

+

1markdown token2.md main content

+

markdown token1.md content end.

+

1markdown token2.md main content

+

markdown a.md main content end.

+

markdown root.md main content end.

+ + """.Replace("\r\n", "\n"), marked.Html); Assert.Equal( new[] { $"../fallback_folder_{uniqueFolderName}/token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md", $"a_folder_{uniqueFolderName}/a_{uniqueFolderName}.md", $"token_folder_{uniqueFolderName}/token1_{uniqueFolderName}.md", $"token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md" }, dependency.OrderBy(x => x).ToArray()); @@ -497,37 +563,41 @@ public void TestFallback_InclusionWithCodeFences() // |- sample2.cs // 1. Prepare data - var root = @"markdown root.md main content start. + var root = """ + markdown root.md main content start. -markdown a content in root.md content start + markdown a content in root.md content start -[!include[a](a_folder/a.md ""This is a.md"")] + [!include[a](a_folder/a.md "This is a.md")] -markdown a content in root.md content end + markdown a content in root.md content end -sample 1 code in root.md content start + sample 1 code in root.md content start -[!CODE-cs[this is sample 1 code](code_folder/sample1.cs)] + [!CODE-cs[this is sample 1 code](code_folder/sample1.cs)] -sample 1 code in root.md content end + sample 1 code in root.md content end -sample 2 code in root.md content start + sample 2 code in root.md content start -[!CODE-cs[this is sample 2 code](code_folder/sample2.cs)] + [!CODE-cs[this is sample 2 code](code_folder/sample2.cs)] -sample 2 code in root.md content end + sample 2 code in root.md content end -markdown root.md main content end."; + markdown root.md main content end. + """; - var a = @"markdown a.md main content start. + var a = """ + markdown a.md main content start. -code_in_a code in a.md content start + code_in_a code in a.md content start -[!CODE-cs[this is code_in_a code](code_in_a.cs)] + [!CODE-cs[this is code_in_a code](code_in_a.cs)] -code_in_a in a.md content end + code_in_a in a.md content end -markdown a.md a.md content end."; + markdown a.md a.md content end. + """; var code_in_a = "namespace code_in_a{}"; @@ -553,22 +623,24 @@ code_in_a in a.md content end //var rootMarked = service.Markup(Path.Combine(Directory.GetCurrentDirectory(), $"{uniqueFolderName}/root_folder"), root, fallbackFolders, "root.md"); var rootMarked = service.Markup("place", "holder"); var rootDependency = rootMarked.Dependency; - Assert.Equal(@"

markdown root.md main content start.

-

markdown a content in root.md content start

-

markdown a.md main content start.

-

code_in_a code in a.md content start

-
namespace code_in_a{}
-

code_in_a in a.md content end

-

markdown a.md a.md content end.

-

markdown a content in root.md content end

-

sample 1 code in root.md content start

-
namespace sample1{}
-

sample 1 code in root.md content end

-

sample 2 code in root.md content start

-
namespace sample2{}
-

sample 2 code in root.md content end

-

markdown root.md main content end.

-".Replace("\r\n", "\n"), rootMarked.Html); + Assert.Equal(""" +

markdown root.md main content start.

+

markdown a content in root.md content start

+

markdown a.md main content start.

+

code_in_a code in a.md content start

+
namespace code_in_a{}
+                     

code_in_a in a.md content end

+

markdown a.md a.md content end.

+

markdown a content in root.md content end

+

sample 1 code in root.md content start

+
namespace sample1{}
+                     

sample 1 code in root.md content end

+

sample 2 code in root.md content start

+
namespace sample2{}
+                     

sample 2 code in root.md content end

+

markdown root.md main content end.

+ + """.Replace("\r\n", "\n"), rootMarked.Html); Assert.Equal( new[] { "../fallback_folder/a_folder/code_in_a.cs", "../fallback_folder/code_folder/sample2.cs", "a_folder/a.md", "a_folder/code_in_a.cs", "code_folder/sample1.cs", "code_folder/sample2.cs" }, rootDependency.OrderBy(x => x).ToArray()); @@ -577,12 +649,14 @@ code_in_a in a.md content end //var aMarked = service.Markup(Path.Combine(Directory.GetCurrentDirectory(), $"{uniqueFolderName}/root_folder"), a, fallbackFolders, "a_folder/a.md"); var aMarked = service.Markup("place", "holder"); var aDependency = aMarked.Dependency; - Assert.Equal(@"

markdown a.md main content start.

-

code_in_a code in a.md content start

-
namespace code_in_a{}
-

code_in_a in a.md content end

-

markdown a.md a.md content end.

-".Replace("\r\n", "\n"), aMarked.Html); + Assert.Equal(""" +

markdown a.md main content start.

+

code_in_a code in a.md content start

+
namespace code_in_a{}
+                     

code_in_a in a.md content end

+

markdown a.md a.md content end.

+ + """.Replace("\r\n", "\n"), aMarked.Html); Assert.Equal( new[] { "../../fallback_folder/a_folder/code_in_a.cs", "code_in_a.cs" }, aDependency.OrderBy(x => x).ToArray()); @@ -595,13 +669,15 @@ code_in_a in a.md content end public void TestInclusion_InlineLevel() { // 1. Prepare data - var root = @" -Inline [!include[ref1](ref1.md ""This is root"")] -Inline [!include[ref3](ref3.md ""This is root"")] -"; + var root = """ - var ref1 = @"[!include[ref2](ref2.md ""This is root"")]"; - var ref2 = @"## Inline inclusion do not parse header [!include[root](root.md ""This is root"")]"; + Inline [!include[ref1](ref1.md "This is root")] + Inline [!include[ref3](ref3.md "This is root")] + + """; + + var ref1 = """[!include[ref2](ref2.md "This is root")]"""; + var ref2 = """## Inline inclusion do not parse header [!include[root](root.md "This is root")]"""; var ref3 = "**Hello** "; File.WriteAllText("root.md", root); File.WriteAllText("ref1.md", ref1); @@ -623,17 +699,21 @@ public void TestInclusion_InlineLevel() public void TestBlockInclude_ShouldExcludeBracketInRegex() { // 1. Prepare data - var root = @"[!INCLUDE [azure-probe-intro-include](inc1.md)]. + var root = """ + [!INCLUDE [azure-probe-intro-include](inc1.md)]. -[!INCLUDE [azure-arm-classic-important-include](inc2.md)] [Resource Manager model](inc1.md). + [!INCLUDE [azure-arm-classic-important-include](inc2.md)] [Resource Manager model](inc1.md). -[!INCLUDE [azure-ps-prerequisites-include.md](inc3.md)]"; + [!INCLUDE [azure-ps-prerequisites-include.md](inc3.md)] + """; - var expected = @"

inc1.

-

inc2 Resource Manager model.

-

inc3

-"; + var expected = """ +

inc1.

+

inc2 Resource Manager model.

+

inc3

+ + """; var inc1 = "inc1"; var inc2 = "inc2"; @@ -655,31 +735,37 @@ public void TestBlockInclude_ShouldExcludeBracketInRegex() [Trait("Related", "Inclusion")] public void TestBlockInclude_ImageRelativePath() { - var root = @" -# Hello World + var root = """ + + # Hello World + + Test Include File + + [!include[refa](../../include/a.md)] + -Test Include File + """; -[!include[refa](../../include/a.md)] + var refa = """ -"; + # Hello Include File A - var refa = @" -# Hello Include File A + ![img](./media/refb.png) -![img](./media/refb.png) -"; + """; var rootPath = "r/parent_folder/child_folder/root.md"; TestUtility.WriteToFile(rootPath, root); TestUtility.WriteToFile("r/include/a.md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, rootPath); - var expected = @"

Hello World

-

Test Include File

-

Hello Include File A

-

-"; + var expected = """ +

Hello World

+

Test Include File

+

Hello Include File A

+

img

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -691,29 +777,35 @@ Test Include File [Trait("Related", "Inclusion")] public void TestBlockInclude_WithYamlHeader() { - var root = @" -# Hello World + var root = """ + + # Hello World -Test Include File + Test Include File -[!include[refa](../../include/a.md)] + [!include[refa](../../include/a.md)] -"; - var refa = @"--- -a: b ---- -body"; + """; + + var refa = """ + --- + a: b + --- + body + """; var rootPath = "r/parent_folder/child_folder/root.md"; TestUtility.WriteToFile(rootPath, root); TestUtility.WriteToFile("r/include/a.md", refa); var result = TestUtility.MarkupWithoutSourceInfo(root, rootPath); - var expected = @"

Hello World

-

Test Include File

-

body

-"; + var expected = """ +

Hello World

+

Test Include File

+

body

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), result.Html); var dependency = result.Dependency; @@ -767,24 +859,30 @@ public void TestComplexImageBlockSrcResolveInToken() // |- b // | |- token.md // | |- img.jpg - var r = @" -[!include[](b/token.md)] -"; - var token = @" -:::image source=""example.jpg"" type=""complex"" alt-text=""example""::: -Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -:::image-end::: -"; + var r = """ + + [!include[](b/token.md)] + + """; + var token = """ + + :::image source="example.jpg" type="complex" alt-text="example"::: + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + :::image-end::: + + """; TestUtility.WriteToFile("r/r.md", r); TestUtility.WriteToFile("r/b/token.md", token); var marked = TestUtility.MarkupWithoutSourceInfo(r, "r/r.md"); - var expected = @"

- -

-Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

-

-"; + var expected = """ +

+ example +

+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), marked.Html); } @@ -792,43 +890,47 @@ public void TestComplexImageBlockSrcResolveInToken() public void ImageTestBlockGeneralWithInclude() { var source = "[!include[](includes/source.md)]"; - var includeContent = @":::image type=""content"" source=""../media/example.jpg"" alt-text=""example"" lightbox=""../media/example.jpg""::: + var includeContent = """ + :::image type="content" source="../media/example.jpg" alt-text="example" lightbox="../media/example.jpg"::: -:::image type=""content"" source=""~/media/example.jpg"" alt-text=""example"" lightbox=""~/media/example.jpg""::: + :::image type="content" source="~/media/example.jpg" alt-text="example" lightbox="~/media/example.jpg"::: -:::image type=""content"" source=""~/media/example.jpg"" alt-text=""example"" lightbox=""../media/example.jpg""::: + :::image type="content" source="~/media/example.jpg" alt-text="example" lightbox="../media/example.jpg"::: -:::image type=""content"" source=""../media/example.jpg"" alt-text=""example"" lightbox=""~/media/example.jpg"":::"; + :::image type="content" source="../media/example.jpg" alt-text="example" lightbox="~/media/example.jpg"::: + """; TestUtility.WriteToFile("a.md", source); TestUtility.WriteToFile("includes/source.md", includeContent); var marked = TestUtility.MarkupWithoutSourceInfo(source, "a.md"); - var expected = @"

- - - - -

-

- - - - -

-

- - - - -

-

- - - - -

-"; + var expected = """ +

+ + example + + +

+

+ + example + + +

+

+ + example + + +

+

+ + example + + +

+ + """; Assert.Equal(expected.Replace("\r\n", "\n").Replace("\n", ""), marked.Html.Replace("\r\n", "\n").Replace("\n", "")); } @@ -842,18 +944,24 @@ public void TestImageWithIconTypeBlockSrcResolveInToken() // |- b // | |- token.md // | |- img.jpg - var r = @" -[!include[](b/token.md)] -"; - var token = @" -:::image source=""example.svg"" type=""icon"" alt-text=""example""::: -"; + var r = """ + + [!include[](b/token.md)] + + """; + var token = """ + + :::image source="example.svg" type="icon" alt-text="example"::: + + """; TestUtility.WriteToFile("r/r.md", r); TestUtility.WriteToFile("r/b/token.md", token); var marked = TestUtility.MarkupWithoutSourceInfo(r, "r/r.md"); - var expected = @"

-

-"; + var expected = """ +

+

+ + """; Assert.Equal(expected.Replace("\r\n", "\n"), marked.Html); } } From 50d651e5d2ebd5e687c3f5b575d57d71af2ea3a9 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:28:58 +1100 Subject: [PATCH 06/70] chore: remove redundant semi-colons (#10356) --- .../Processors/FragmentsValidationInterpreter.cs | 2 +- src/Docfx.Build/XRefMaps/XRefMapDownloader.cs | 2 +- src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs | 2 +- src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs | 2 +- test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs index f1b356e04e7..2d0459555ec 100644 --- a/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs @@ -42,7 +42,7 @@ public object Interpret(BaseSchema schema, object value, IProcessContext context $"Markdown property `{path.Trim('/')}` is not allowed inside a YAML code block", code: WarningCodes.Overwrite.InvalidMarkdownFragments); return value; - }; + } if (schema.MergeType == MergeType.Key) { diff --git a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs index 4c523ddb876..d1bb1ef97c8 100644 --- a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs +++ b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs @@ -134,7 +134,7 @@ private static async ValueTask ReadLocalFileAsync(string filePat { using var reader = new StreamReader(stream); return YamlUtility.Deserialize(reader); - }; + } } } diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs index 7540da20dc2..b77b081f65d 100644 --- a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs @@ -86,7 +86,7 @@ _ when SymbolHelper.IsConstructor(method) => "Constructor", _ when SymbolHelper.IsOperator(method) => "Operator", _ when SymbolHelper.IsMember(method) => "Method", _ => throw new NotSupportedException($"Unknown method type {method.MethodKind}"), - }); ; + }); foreach (var (s, c) in symbols) Method((IMethodSymbol)s, c, 2); break; diff --git a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs index 1619e0bd5d2..ae633bf1d24 100644 --- a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs +++ b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs @@ -239,7 +239,7 @@ private static bool MatchPath(ref StringSlice slice, ref string path) else { includedFilePath = TryGetStringBeforeChars(new char[] { ')' }, ref slice, breakOnWhitespace: true); - }; + } if (includedFilePath == null) { diff --git a/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs b/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs index 9eb31f8b71a..e2dcb241d03 100644 --- a/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs +++ b/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs @@ -438,7 +438,7 @@ public void SystemKeysListShouldBeComplete() var outputRawModelPath = GetRawModelFilePath("contacts.json"); Assert.True(File.Exists(outputRawModelPath)); - var model = JsonUtility.Deserialize>(outputRawModelPath); ; + var model = JsonUtility.Deserialize>(outputRawModelPath); var systemKeys = ToList(model[Constants.PropertyName.SystemKeys]); Assert.NotEmpty(systemKeys); foreach (var key in model.Keys.Where(key => key[0] != '_' && !userKeys.Contains(key))) From 87ac7891b100a82c156b655494cf31ca938c00b7 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:29:30 +1100 Subject: [PATCH 07/70] chore: avoid cast in loop and null ref warning in TestKey (#10353) * avoid cast in loop and null ref warning in TestKey * Update Merger.cs --- .../Processors/Merger.cs | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/Docfx.Build.SchemaDriven/Processors/Merger.cs b/src/Docfx.Build.SchemaDriven/Processors/Merger.cs index 3b6dadf990f..7df1113330d 100644 --- a/src/Docfx.Build.SchemaDriven/Processors/Merger.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/Merger.cs @@ -135,11 +135,22 @@ private static bool TestKey(object source, object overrides, BaseSchema schema) { return false; } - return schema?.Properties != null && schema.Properties.Any(p => p.Value.MergeType == MergeType.Key) && schema.Properties.Where(p => p.Value.MergeType == MergeType.Key).All(p => + + var properties = schema?.Properties; + if (properties == null) { - (source as IDictionary).TryGetValue(p.Key, out var s); - (overrides as IDictionary).TryGetValue(p.Key, out var o); - return object.Equals(s, o); - }); + return false; + } + + var sourceDictionary = (IDictionary)source; + var overridesDictionary = (IDictionary)overrides; + return properties.Any(p => p.Value.MergeType == MergeType.Key) && + properties.Where(p => p.Value.MergeType == MergeType.Key) + .All(p => + { + sourceDictionary.TryGetValue(p.Key, out var s); + overridesDictionary.TryGetValue(p.Key, out var o); + return object.Equals(s, o); + }); } } From b72997abc7e481a1b4af3425c004c71c37f463d4 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 5 Nov 2024 23:29:58 +1100 Subject: [PATCH 08/70] chore: remove redundant Count > 0 checks (#10354) remove redudnant Count > 0 checks --- .../FillReferenceInformation.cs | 12 +++--- .../ManagedReferenceDocumentProcessor.cs | 42 ++++++------------- .../SplitClassPageToMemberLevel.cs | 42 ++++++------------- .../FillReferenceInformation.cs | 12 +++--- .../UniversalReferenceDocumentProcessor.cs | 42 ++++++------------- 5 files changed, 46 insertions(+), 104 deletions(-) diff --git a/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs index 1935a7a605b..96268da6666 100644 --- a/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs +++ b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs @@ -22,16 +22,14 @@ public class FillReferenceInformation : BaseDocumentBuildStep public override void Postbuild(ImmutableList models, IHostService host) { - if (models.Count > 0) + foreach (var model in models) { - foreach (var model in models) + if (model.Type != DocumentType.Article) { - if (model.Type != DocumentType.Article) - { - continue; - } - FillCore((PageViewModel)model.Content, host, model.OriginalFileAndType.File); + continue; } + + FillCore((PageViewModel)model.Content, host, model.OriginalFileAndType.File); } } diff --git a/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs b/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs index 31b49b99d47..ecf6d2c0b8c 100644 --- a/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs +++ b/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs @@ -205,34 +205,25 @@ private static IEnumerable GetXRefInfo(ItemViewModel item, string key, Href = ((RelativePath)key).UrlEncode().ToString(), CommentId = item.CommentId, }; - if (item.Names.Count > 0) + foreach (var pair in item.Names) { - foreach (var pair in item.Names) - { - result["name." + pair.Key] = pair.Value; - } + result["name." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.FullName)) { result["fullName"] = item.FullName; } - if (item.FullNames.Count > 0) + foreach (var pair in item.FullNames) { - foreach (var pair in item.FullNames) - { - result["fullName." + pair.Key] = pair.Value; - } + result["fullName." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.NameWithType)) { result["nameWithType"] = item.NameWithType; } - if (item.NamesWithType.Count > 0) + foreach (var pair in item.NamesWithType) { - foreach (var pair in item.NamesWithType) - { - result["nameWithType." + pair.Key] = pair.Value; - } + result["nameWithType." + pair.Key] = pair.Value; } yield return result; // generate overload xref spec. @@ -263,34 +254,25 @@ private static XRefSpec GetXRefSpecFromReference(ReferenceViewModel item) CommentId = item.CommentId, IsSpec = item.IsExternal != true, }; - if (item.NameInDevLangs.Count > 0) + foreach (var pair in item.NameInDevLangs) { - foreach (var pair in item.NameInDevLangs) - { - result["name." + pair.Key] = pair.Value; - } + result["name." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.FullName)) { result["fullName"] = item.FullName; } - if (item.FullNameInDevLangs.Count > 0) + foreach (var pair in item.FullNameInDevLangs) { - foreach (var pair in item.FullNameInDevLangs) - { - result["fullName." + pair.Key] = pair.Value; - } + result["fullName." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.NameWithType)) { result["nameWithType"] = item.NameWithType; } - if (item.NameWithTypeInDevLangs.Count > 0) + foreach (var pair in item.NameWithTypeInDevLangs) { - foreach (var pair in item.NameWithTypeInDevLangs) - { - result["nameWithType." + pair.Key] = pair.Value; - } + result["nameWithType." + pair.Key] = pair.Value; } if (item.Additional != null) { diff --git a/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs index 874bfb5ec06..73349a07201 100644 --- a/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs +++ b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs @@ -343,26 +343,17 @@ private ReferenceViewModel ConvertToReference(ItemViewModel item) FullName = item.FullName, }; - if (item.Names.Count > 0) + foreach (var pair in item.Names) { - foreach (var pair in item.Names) - { - reference.NameInDevLangs[pair.Key] = pair.Value; - } + reference.NameInDevLangs[pair.Key] = pair.Value; } - if (item.FullNames.Count > 0) + foreach (var pair in item.FullNames) { - foreach (var pair in item.FullNames) - { - reference.FullNameInDevLangs[pair.Key] = pair.Value; - } + reference.FullNameInDevLangs[pair.Key] = pair.Value; } - if (item.NamesWithType.Count > 0) + foreach (var pair in item.NamesWithType) { - foreach (var pair in item.NamesWithType) - { - reference.NameWithTypeInDevLangs[pair.Key] = pair.Value; - } + reference.NameWithTypeInDevLangs[pair.Key] = pair.Value; } return reference; @@ -375,26 +366,17 @@ private static void MergeWithReference(ItemViewModel item, ReferenceViewModel re item.FullName = reference.FullName; item.CommentId = reference.CommentId; - if (reference.NameInDevLangs.Count > 0) + foreach (var pair in reference.NameInDevLangs) { - foreach (var pair in reference.NameInDevLangs) - { - item.Names[pair.Key] = pair.Value; - } + item.Names[pair.Key] = pair.Value; } - if (reference.FullNameInDevLangs.Count > 0) + foreach (var pair in reference.FullNameInDevLangs) { - foreach (var pair in reference.FullNameInDevLangs) - { - item.FullNames[pair.Key] = pair.Value; - } + item.FullNames[pair.Key] = pair.Value; } - if (reference.NameWithTypeInDevLangs.Count > 0) + foreach (var pair in reference.NameWithTypeInDevLangs) { - foreach (var pair in reference.NameWithTypeInDevLangs) - { - item.NamesWithType[pair.Key] = pair.Value; - } + item.NamesWithType[pair.Key] = pair.Value; } // SHOULD sync with ItemViewModel & ReferenceViewModel diff --git a/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs b/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs index 3f0a238d371..f79670c0425 100644 --- a/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs +++ b/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs @@ -20,16 +20,14 @@ public class FillReferenceInformation : BaseDocumentBuildStep public override void Postbuild(ImmutableList models, IHostService host) { - if (models.Count > 0) + foreach (var model in models) { - foreach (var model in models) + if (model.Type != DocumentType.Article) { - if (model.Type != DocumentType.Article) - { - continue; - } - FillCore((PageViewModel)model.Content, host); + continue; } + + FillCore((PageViewModel)model.Content, host); } } diff --git a/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs b/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs index 5b0ac2662bb..f8bfa207266 100644 --- a/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs +++ b/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs @@ -159,34 +159,25 @@ private static IEnumerable GetXRefInfo( Href = ((RelativePath)key).UrlEncode().ToString(), CommentId = item.CommentId, }; - if (item.Names.Count > 0) + foreach (var pair in item.Names) { - foreach (var pair in item.Names) - { - result["name." + pair.Key] = pair.Value; - } + result["name." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.FullName)) { result["fullName"] = item.FullName; } - if (item.FullNames.Count > 0) + foreach (var pair in item.FullNames) { - foreach (var pair in item.FullNames) - { - result["fullName." + pair.Key] = pair.Value; - } + result["fullName." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.NameWithType)) { result["nameWithType"] = item.NameWithType; } - if (item.NamesWithType.Count > 0) + foreach (var pair in item.NamesWithType) { - foreach (var pair in item.NamesWithType) - { - result["nameWithType." + pair.Key] = pair.Value; - } + result["nameWithType." + pair.Key] = pair.Value; } yield return result; @@ -217,34 +208,25 @@ private static XRefSpec GetXRefSpecFromReference(ReferenceViewModel item) Href = item.Href, CommentId = item.CommentId, }; - if (item.NameInDevLangs.Count > 0) + foreach (var pair in item.NameInDevLangs) { - foreach (var pair in item.NameInDevLangs) - { - result["name." + pair.Key] = pair.Value; - } + result["name." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.FullName)) { result["fullName"] = item.FullName; } - if (item.FullNameInDevLangs.Count > 0) + foreach (var pair in item.FullNameInDevLangs) { - foreach (var pair in item.FullNameInDevLangs) - { - result["fullName." + pair.Key] = pair.Value; - } + result["fullName." + pair.Key] = pair.Value; } if (!string.IsNullOrEmpty(item.NameWithType)) { result["nameWithType"] = item.NameWithType; } - if (item.NameWithTypeInDevLangs.Count > 0) + foreach (var pair in item.NameWithTypeInDevLangs) { - foreach (var pair in item.NameWithTypeInDevLangs) - { - result["nameWithType." + pair.Key] = pair.Value; - } + result["nameWithType." + pair.Key] = pair.Value; } if (item.Additional != null) { From 65f9bed2db039f09e67188265ae54193bb567fcf Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 5 Nov 2024 21:14:48 +0800 Subject: [PATCH 09/70] test: update test snapshots --- ...nterpolatedStrings.html.view.verified.json | 46 +- ...CSharp10.Issue7737.html.view.verified.json | 34 +- ...StructConstructors.html.view.verified.json | 46 +- ...adOnlyRecordStruct.html.view.verified.json | 46 +- ...harp10.RecordClass.html.view.verified.json | 46 +- ...arp10.RecordStruct.html.view.verified.json | 40 +- .../api/CSharp10.html.view.verified.json | 14 +- ...DefinedOperators-1.html.view.verified.json | 106 +- ...1.RequiredModifier.html.view.verified.json | 46 +- ...p11.ScopedModifier.html.view.verified.json | 34 +- ...erfaces.IGetNext-1.html.view.verified.json | 16 +- ...ces.RepeatSequence.html.view.verified.json | 44 +- ...embersInInterfaces.html.view.verified.json | 28 +- .../api/CSharp11.html.view.verified.json | 14 +- ...lectionExpressions.html.view.verified.json | 40 +- ...ltLambdaParameters.html.view.verified.json | 34 +- ...arp12.InlineArrays.html.view.verified.json | 22 +- ...uctors.BankAccount.html.view.verified.json | 54 +- ...ctors.CheckAccount.html.view.verified.json | 64 +- ...structors.Distance.html.view.verified.json | 40 +- ...rimaryConstructors.html.view.verified.json | 28 +- ...ReadOnlyParameters.html.view.verified.json | 34 +- .../api/CSharp12.html.view.verified.json | 18 +- ...nterfaceMembers.IA.html.view.verified.json | 16 +- ...faceMembers.Nested.html.view.verified.json | 28 +- ...ltInterfaceMembers.html.view.verified.json | 40 +- ...sposableRefStructs.html.view.verified.json | 34 +- .../CSharp8.Issue4007.html.view.verified.json | 40 +- .../api/CSharp8.Misc.html.view.verified.json | 82 +- ...ableReferenceTypes.html.view.verified.json | 46 +- ...p8.ReadOnlyMembers.html.view.verified.json | 50 +- .../api/CSharp8.html.view.verified.json | 18 +- ...9.FunctionPointers.html.view.verified.json | 34 +- ...p9.InitOnlySetters.html.view.verified.json | 46 +- ...ativeSizedIntegers.html.view.verified.json | 40 +- ...RecordTypes.Person.html.view.verified.json | 50 +- ...ecordTypes.Teacher.html.view.verified.json | 48 +- ...Sharp9.RecordTypes.html.view.verified.json | 28 +- .../api/CSharp9.html.view.verified.json | 14 +- .../api/toc.html.view.verified.json | 80 +- ...ExampleClass.-ctor.html.view.verified.json | 14 +- ...ampleClass.MyEvent.html.view.verified.json | 10 +- ...mpleClass.MyMethod.html.view.verified.json | 14 +- ...leClass.MyProperty.html.view.verified.json | 14 +- ...ample.ExampleClass.html.view.verified.json | 36 +- .../api/MyExample.html.view.verified.json | 4 +- .../api/toc.html.view.verified.json | 30 +- .../api/toc.json.view.verified.json | 2 +- .../api/toc.verified.json | 2 +- .../index.html.view.verified.json | 10 +- .../toc.html.view.verified.json | 4 +- ...romAssembly.Class1.html.view.verified.json | 40 +- ...Assembly.Issue5432.html.view.verified.json | 28 +- .../BuildFromAssembly.html.view.verified.json | 6 +- ...pSourceCode.CSharp.html.view.verified.json | 34 +- ...omCSharpSourceCode.html.view.verified.json | 4 +- ....Class1.IIssue8948.html.view.verified.json | 16 +- ...t.Class1.Issue8665.html.view.verified.json | 70 +- ...Issue8696Attribute.html.view.verified.json | 108 +- ...t.Class1.Issue8948.html.view.verified.json | 34 +- ...t.Class1.Issue9260.html.view.verified.json | 28 +- ...ject.Class1.Test-1.html.view.verified.json | 28 +- ...FromProject.Class1.html.view.verified.json | 94 +- ...ildFromProject.Dog.html.view.verified.json | 46 +- ...roject.IInheritdoc.html.view.verified.json | 16 +- ...Issue6366.Class1-1.html.view.verified.json | 38 +- ...c.Issue6366.Class2.html.view.verified.json | 38 +- ...heritdoc.Issue6366.html.view.verified.json | 28 +- ...heritdoc.Issue7035.html.view.verified.json | 40 +- ...heritdoc.Issue7484.html.view.verified.json | 46 +- ...heritdoc.Issue8101.html.view.verified.json | 40 +- ...heritdoc.Issue8129.html.view.verified.json | 28 +- ...Project.Inheritdoc.html.view.verified.json | 46 +- ...ject.Issue8540.A.A.html.view.verified.json | 28 +- ...roject.Issue8540.A.html.view.verified.json | 6 +- ...ject.Issue8540.B.B.html.view.verified.json | 28 +- ...roject.Issue8540.B.html.view.verified.json | 6 +- ...mProject.Issue8540.html.view.verified.json | 8 +- ...mProject.Issue8725.html.view.verified.json | 40 +- .../BuildFromProject.html.view.verified.json | 40 +- ...rceCode.BaseClass1.html.view.verified.json | 40 +- ...BSourceCode.Class1.html.view.verified.json | 58 +- ...ldFromVBSourceCode.html.view.verified.json | 6 +- .../CatLibrary.Cat-2.html.view.verified.json | 128 +- ...ary.CatException-1.html.view.verified.json | 101 +- ...tLibrary.Complex-2.html.view.verified.json | 28 +- ...sRefType.ColorType.html.view.verified.json | 28 +- ...ainersRefTypeChild.html.view.verified.json | 28 +- ...TypeChildInterface.html.view.verified.json | 10 +- ...ersRefTypeDelegate.html.view.verified.json | 10 +- ....ContainersRefType.html.view.verified.json | 50 +- ...xplicitLayoutClass.html.view.verified.json | 28 +- ...rary.Core.Issue231.html.view.verified.json | 40 +- .../CatLibrary.Core.html.view.verified.json | 18 +- ...ary.FakeDelegate-1.html.view.verified.json | 10 +- ...CatLibrary.IAnimal.html.view.verified.json | 44 +- .../CatLibrary.ICat.html.view.verified.json | 30 +- ...rary.ICatExtension.html.view.verified.json | 40 +- ...ary.MRefDelegate-3.html.view.verified.json | 10 +- ...MRefNormalDelegate.html.view.verified.json | 10 +- .../CatLibrary.Tom.html.view.verified.json | 38 +- ...y.TomFromBaseClass.html.view.verified.json | 40 +- .../api/CatLibrary.html.view.verified.json | 26 +- ...meration.ColorType.html.view.verified.json | 28 +- ...f.Demo.Enumeration.html.view.verified.json | 4 +- .../api/toc.html.view.verified.json | 112 +- .../api/toc.pdf.verified.json | 365 ++-- ...ary.CatException-1.html.view.verified.json | 2 +- .../apipage/toc.html.view.verified.json | 152 +- .../apipage/toc.pdf.verified.json | 850 ++++----- ...p_coding_standards.html.view.verified.json | 10 +- ...fx_getting_started.html.view.verified.json | 10 +- ...neering_guidelines.html.view.verified.json | 10 +- .../articles/markdown.html.view.verified.json | 10 +- .../articles/seed.pdf.verified.json | 63 +- .../articles/toc.html.view.verified.json | 18 +- .../index.html.view.verified.json | 10 +- .../SamplesTest.Seed/index.verified.json | 6 +- ...romAssembly.Class1.html.view.verified.json | 10 +- ...Assembly.Issue5432.html.view.verified.json | 10 +- .../BuildFromAssembly.html.view.verified.json | 10 +- ...pSourceCode.CSharp.html.view.verified.json | 10 +- ...omCSharpSourceCode.html.view.verified.json | 10 +- ....Class1.IIssue8948.html.view.verified.json | 10 +- ...t.Class1.Issue8665.html.view.verified.json | 10 +- ...Issue8696Attribute.html.view.verified.json | 10 +- ...t.Class1.Issue8948.html.view.verified.json | 10 +- ...t.Class1.Issue9260.html.view.verified.json | 10 +- ...ject.Class1.Test-1.html.view.verified.json | 10 +- ...FromProject.Class1.html.view.verified.json | 10 +- ...ildFromProject.Dog.html.view.verified.json | 10 +- ...roject.IInheritdoc.html.view.verified.json | 10 +- ...Issue6366.Class1-1.html.view.verified.json | 10 +- ...c.Issue6366.Class2.html.view.verified.json | 10 +- ...heritdoc.Issue6366.html.view.verified.json | 10 +- ...heritdoc.Issue7035.html.view.verified.json | 10 +- ...heritdoc.Issue7484.html.view.verified.json | 10 +- ...heritdoc.Issue8101.html.view.verified.json | 10 +- ...heritdoc.Issue8129.html.view.verified.json | 10 +- ...Project.Inheritdoc.html.view.verified.json | 10 +- ...ject.Issue8540.A.A.html.view.verified.json | 10 +- ...roject.Issue8540.A.html.view.verified.json | 10 +- ...ject.Issue8540.B.B.html.view.verified.json | 10 +- ...roject.Issue8540.B.html.view.verified.json | 10 +- ...mProject.Issue8540.html.view.verified.json | 10 +- ...mProject.Issue8725.html.view.verified.json | 10 +- .../BuildFromProject.html.view.verified.json | 10 +- ...rceCode.BaseClass1.html.view.verified.json | 10 +- ...BSourceCode.Class1.html.view.verified.json | 10 +- ...ldFromVBSourceCode.html.view.verified.json | 10 +- .../CatLibrary.Cat-2.html.view.verified.json | 10 +- ...ary.CatException-1.html.view.verified.json | 12 +- ...tLibrary.Complex-2.html.view.verified.json | 10 +- ...sRefType.ColorType.html.view.verified.json | 10 +- ...ainersRefTypeChild.html.view.verified.json | 10 +- ...TypeChildInterface.html.view.verified.json | 10 +- ...ersRefTypeDelegate.html.view.verified.json | 10 +- ....ContainersRefType.html.view.verified.json | 10 +- ...xplicitLayoutClass.html.view.verified.json | 10 +- ...rary.Core.Issue231.html.view.verified.json | 10 +- .../CatLibrary.Core.html.view.verified.json | 10 +- ...ary.FakeDelegate-1.html.view.verified.json | 10 +- ...CatLibrary.IAnimal.html.view.verified.json | 10 +- .../CatLibrary.ICat.html.view.verified.json | 10 +- ...rary.ICatExtension.html.view.verified.json | 10 +- ...ary.MRefDelegate-3.html.view.verified.json | 10 +- ...MRefNormalDelegate.html.view.verified.json | 10 +- .../md/CatLibrary.Tom.html.view.verified.json | 10 +- ...y.TomFromBaseClass.html.view.verified.json | 10 +- .../md/CatLibrary.html.view.verified.json | 10 +- ...meration.ColorType.html.view.verified.json | 10 +- ...f.Demo.Enumeration.html.view.verified.json | 10 +- .../md/MRef.Demo.html.view.verified.json | 10 +- .../md/MRef.html.view.verified.json | 10 +- .../md/toc.html.view.verified.json | 152 +- .../SamplesTest.Seed/md/toc.pdf.verified.json | 232 ++- .../pdf/cover.html.view.verified.json | 10 +- .../pdf/toc.html.view.verified.json | 136 +- .../pdf/toc.pdf.verified.json | 1697 ++++++++--------- .../restapi/contacts.html.view.verified.json | 40 +- .../restapi/petstore.html.view.verified.json | 94 +- .../restapi/toc.html.view.verified.json | 8 +- .../restapi/toc.pdf.verified.json | 63 +- .../toc.html.view.verified.json | 16 +- .../SamplesTest.Seed/toc.pdf.verified.json | 20 +- 185 files changed, 4058 insertions(+), 4183 deletions(-) diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json index de79d905e9e..a94c1350a01 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,14 +167,14 @@ }, "id": "S1", "path": "src/CSharp10.cs", - "startLine": 22.0, - "endLine": 0.0 + "startLine": 22, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp10", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -302,14 +302,14 @@ }, "id": "S2", "path": "src/CSharp10.cs", - "startLine": 23.0, - "endLine": 0.0 + "startLine": 23, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp10", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -437,14 +437,14 @@ }, "id": "S3", "path": "src/CSharp10.cs", - "startLine": 24.0, - "endLine": 0.0 + "startLine": 24, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp10", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -506,8 +506,8 @@ }, "id": "ConstantInterpolatedStrings", "path": "src/CSharp10.cs", - "startLine": 20.0, - "endLine": 0.0 + "startLine": 20, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -557,7 +557,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -619,11 +619,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -672,7 +672,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -721,7 +721,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -770,7 +770,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -819,7 +819,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -868,7 +868,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -917,7 +917,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -966,7 +966,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json index 7ab742996db..8854e5e002d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "Foo", "path": "src/CSharp10.cs", - "startLine": 32.0, - "endLine": 0.0 + "startLine": 32, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -173,7 +173,7 @@ ], "id": "CSharp10_Issue7737_Foo_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

\n", "platform": null, @@ -234,8 +234,8 @@ }, "id": "Issue7737", "path": "src/CSharp10.cs", - "startLine": 27.0, - "endLine": 0.0 + "startLine": 27, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -285,7 +285,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -347,11 +347,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -400,7 +400,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -449,7 +449,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -498,7 +498,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -547,7 +547,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -596,7 +596,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -645,7 +645,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -694,7 +694,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json index 45ee43fbb50..d401e5142ad 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": ".ctor", "path": "src/CSharp10.cs", - "startLine": 14.0, - "endLine": 0.0 + "startLine": 14, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -172,7 +172,7 @@ ], "id": "CSharp10_ParameterlessStructConstructors__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -307,14 +307,14 @@ }, "id": "X", "path": "src/CSharp10.cs", - "startLine": 10.0, - "endLine": 0.0 + "startLine": 10, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp10", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -450,8 +450,8 @@ }, "id": "Description", "path": "src/CSharp10.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -501,7 +501,7 @@ ], "id": "CSharp10_ParameterlessStructConstructors_Description_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -630,8 +630,8 @@ }, "id": "Y", "path": "src/CSharp10.cs", - "startLine": 11.0, - "endLine": 0.0 + "startLine": 11, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -681,7 +681,7 @@ ], "id": "CSharp10_ParameterlessStructConstructors_Y_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -743,8 +743,8 @@ }, "id": "ParameterlessStructConstructors", "path": "src/CSharp10.cs", - "startLine": 8.0, - "endLine": 0.0 + "startLine": 8, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -794,7 +794,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -808,7 +808,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -857,7 +857,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -906,7 +906,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -955,7 +955,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1004,7 +1004,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1053,7 +1053,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1102,7 +1102,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json index 0abcbe11a26..60e89ac13e6 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -261,8 +261,8 @@ }, "id": ".ctor", "path": "src/CSharp10.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -312,7 +312,7 @@ ], "id": "CSharp10_ReadOnlyRecordStruct__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -448,8 +448,8 @@ }, "id": "X", "path": "src/CSharp10.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -499,7 +499,7 @@ ], "id": "CSharp10_ReadOnlyRecordStruct_X_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -628,8 +628,8 @@ }, "id": "Y", "path": "src/CSharp10.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -679,7 +679,7 @@ ], "id": "CSharp10_ReadOnlyRecordStruct_Y_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -808,8 +808,8 @@ }, "id": "Z", "path": "src/CSharp10.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -859,7 +859,7 @@ ], "id": "CSharp10_ReadOnlyRecordStruct_Z_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -921,8 +921,8 @@ }, "id": "ReadOnlyRecordStruct", "path": "src/CSharp10.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -972,7 +972,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -986,7 +986,7 @@ } ] }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "System.IEquatable{CSharp10.ReadOnlyRecordStruct}", @@ -1081,7 +1081,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -1130,7 +1130,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -1179,7 +1179,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1228,7 +1228,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1277,7 +1277,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1326,7 +1326,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json index faed9c9445f..f220a6403d0 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -215,8 +215,8 @@ }, "id": ".ctor", "path": "src/CSharp10.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -266,7 +266,7 @@ ], "id": "CSharp10_RecordClass__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -402,8 +402,8 @@ }, "id": "FirstName", "path": "src/CSharp10.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -453,7 +453,7 @@ ], "id": "CSharp10_RecordClass_FirstName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -582,8 +582,8 @@ }, "id": "LastName", "path": "src/CSharp10.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -633,7 +633,7 @@ ], "id": "CSharp10_RecordClass_LastName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -695,8 +695,8 @@ }, "id": "RecordClass", "path": "src/CSharp10.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -746,7 +746,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -808,11 +808,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "implements": [ { "uid": "System.IEquatable{CSharp10.RecordClass}", @@ -907,7 +907,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -956,7 +956,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1005,7 +1005,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1054,7 +1054,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1103,7 +1103,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1152,7 +1152,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1201,7 +1201,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json index 4a89929685e..48674001240 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -215,8 +215,8 @@ }, "id": ".ctor", "path": "src/CSharp10.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -266,7 +266,7 @@ ], "id": "CSharp10_RecordStruct__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -402,8 +402,8 @@ }, "id": "Measurement", "path": "src/CSharp10.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -453,7 +453,7 @@ ], "id": "CSharp10_RecordStruct_Measurement_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -582,8 +582,8 @@ }, "id": "TakenAt", "path": "src/CSharp10.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -633,7 +633,7 @@ ], "id": "CSharp10_RecordStruct_TakenAt_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -695,8 +695,8 @@ }, "id": "RecordStruct", "path": "src/CSharp10.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -746,7 +746,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -760,7 +760,7 @@ } ] }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "System.IEquatable{CSharp10.RecordStruct}", @@ -855,7 +855,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -904,7 +904,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -953,7 +953,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1002,7 +1002,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1051,7 +1051,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1100,7 +1100,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json index 97072c31bef..0fb9df76e65 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json @@ -52,7 +52,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -114,7 +114,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -176,7 +176,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -245,7 +245,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -307,7 +307,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -369,7 +369,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -428,7 +428,7 @@ "assemblies": [ "CSharp" ], - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json index 5e068241f70..d85ec317d74 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -263,8 +263,8 @@ }, "id": "op_Addition", "path": "src/CSharp11.cs", - "startLine": 28.0, - "endLine": 0.0 + "startLine": 28, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -310,7 +310,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Addition_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -534,8 +534,8 @@ }, "id": "op_CheckedAddition", "path": "src/CSharp11.cs", - "startLine": 37.0, - "endLine": 0.0 + "startLine": 37, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -581,7 +581,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedAddition_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -758,8 +758,8 @@ }, "id": "op_CheckedDecrement", "path": "src/CSharp11.cs", - "startLine": 35.0, - "endLine": 0.0 + "startLine": 35, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -805,7 +805,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedDecrement_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -1029,8 +1029,8 @@ }, "id": "op_CheckedDivision", "path": "src/CSharp11.cs", - "startLine": 40.0, - "endLine": 0.0 + "startLine": 40, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1076,7 +1076,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedDivision_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -1252,8 +1252,8 @@ }, "id": "op_CheckedExplicit", "path": "src/CSharp11.cs", - "startLine": 41.0, - "endLine": 0.0 + "startLine": 41, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1299,7 +1299,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedExplicit_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -1476,8 +1476,8 @@ }, "id": "op_CheckedIncrement", "path": "src/CSharp11.cs", - "startLine": 34.0, - "endLine": 0.0 + "startLine": 34, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1523,7 +1523,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedIncrement_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -1747,8 +1747,8 @@ }, "id": "op_CheckedMultiply", "path": "src/CSharp11.cs", - "startLine": 39.0, - "endLine": 0.0 + "startLine": 39, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1794,7 +1794,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedMultiply_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -2018,8 +2018,8 @@ }, "id": "op_CheckedSubtraction", "path": "src/CSharp11.cs", - "startLine": 38.0, - "endLine": 0.0 + "startLine": 38, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -2065,7 +2065,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedSubtraction_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -2242,8 +2242,8 @@ }, "id": "op_CheckedUnaryNegation", "path": "src/CSharp11.cs", - "startLine": 36.0, - "endLine": 0.0 + "startLine": 36, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -2289,7 +2289,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedUnaryNegation_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -2466,8 +2466,8 @@ }, "id": "op_Decrement", "path": "src/CSharp11.cs", - "startLine": 26.0, - "endLine": 0.0 + "startLine": 26, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -2513,7 +2513,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Decrement_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -2737,8 +2737,8 @@ }, "id": "op_Division", "path": "src/CSharp11.cs", - "startLine": 31.0, - "endLine": 0.0 + "startLine": 31, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -2784,7 +2784,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Division_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -2960,8 +2960,8 @@ }, "id": "op_Explicit", "path": "src/CSharp11.cs", - "startLine": 32.0, - "endLine": 0.0 + "startLine": 32, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -3007,7 +3007,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Explicit_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -3184,8 +3184,8 @@ }, "id": "op_Increment", "path": "src/CSharp11.cs", - "startLine": 25.0, - "endLine": 0.0 + "startLine": 25, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -3231,7 +3231,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Increment_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -3455,8 +3455,8 @@ }, "id": "op_Multiply", "path": "src/CSharp11.cs", - "startLine": 30.0, - "endLine": 0.0 + "startLine": 30, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -3502,7 +3502,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Multiply_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -3726,8 +3726,8 @@ }, "id": "op_Subtraction", "path": "src/CSharp11.cs", - "startLine": 29.0, - "endLine": 0.0 + "startLine": 29, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -3773,7 +3773,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_Subtraction_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -3950,8 +3950,8 @@ }, "id": "op_UnaryNegation", "path": "src/CSharp11.cs", - "startLine": 27.0, - "endLine": 0.0 + "startLine": 27, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -3997,7 +3997,7 @@ ], "id": "CSharp11_CheckedUserDefinedOperators_1_op_UnaryNegation_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -4059,8 +4059,8 @@ }, "id": "CheckedUserDefinedOperators", "path": "src/CSharp11.cs", - "startLine": 23.0, - "endLine": 0.0 + "startLine": 23, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -4110,7 +4110,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -4130,7 +4130,7 @@ } ] }, - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json index fff7a030c5f..2fb26bb3d91 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -168,8 +168,8 @@ }, "id": "FirstName", "path": "src/CSharp11.cs", - "startLine": 46.0, - "endLine": 0.0 + "startLine": 46, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -219,7 +219,7 @@ ], "id": "CSharp11_RequiredModifier_FirstName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -348,8 +348,8 @@ }, "id": "LastName", "path": "src/CSharp11.cs", - "startLine": 48.0, - "endLine": 0.0 + "startLine": 48, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -399,7 +399,7 @@ ], "id": "CSharp11_RequiredModifier_LastName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -528,8 +528,8 @@ }, "id": "MiddleName", "path": "src/CSharp11.cs", - "startLine": 47.0, - "endLine": 0.0 + "startLine": 47, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -579,7 +579,7 @@ ], "id": "CSharp11_RequiredModifier_MiddleName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -641,8 +641,8 @@ }, "id": "RequiredModifier", "path": "src/CSharp11.cs", - "startLine": 44.0, - "endLine": 0.0 + "startLine": 44, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -692,7 +692,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -754,11 +754,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -807,7 +807,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -856,7 +856,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -905,7 +905,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -954,7 +954,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1003,7 +1003,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1052,7 +1052,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1101,7 +1101,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json index a214f90d045..c411c1ba1a7 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -215,8 +215,8 @@ }, "id": "CreateSpan", "path": "src/CSharp11.cs", - "startLine": 58.0, - "endLine": 0.0 + "startLine": 58, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -266,7 +266,7 @@ ], "id": "CSharp11_ScopedModifier_CreateSpan_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -328,8 +328,8 @@ }, "id": "ScopedModifier", "path": "src/CSharp11.cs", - "startLine": 56.0, - "endLine": 0.0 + "startLine": 56, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -379,7 +379,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -441,11 +441,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -494,7 +494,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -543,7 +543,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -592,7 +592,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -641,7 +641,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -690,7 +690,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -739,7 +739,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -788,7 +788,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json index 4de941f98e6..a550122c93e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -216,8 +216,8 @@ }, "id": "op_Increment", "path": "src/CSharp11.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -263,7 +263,7 @@ ], "id": "CSharp11_StaticAbstractMembersInInterfaces_IGetNext_1_op_Increment_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -325,8 +325,8 @@ }, "id": "IGetNext", "path": "src/CSharp11.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -376,7 +376,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -396,7 +396,7 @@ } ] }, - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json index 3d1bdad3e27..860002b2edd 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": ".ctor", "path": "src/CSharp11.cs", - "startLine": 14.0, - "endLine": 0.0 + "startLine": 14, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -172,7 +172,7 @@ ], "id": "CSharp11_StaticAbstractMembersInInterfaces_RepeatSequence__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -307,14 +307,14 @@ }, "id": "Text", "path": "src/CSharp11.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp11", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -449,8 +449,8 @@ }, "id": "ToString", "path": "src/CSharp11.cs", - "startLine": 19.0, - "endLine": 0.0 + "startLine": 19, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -544,7 +544,7 @@ ], "id": "CSharp11_StaticAbstractMembersInInterfaces_RepeatSequence_ToString_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Returns the fully qualified type name of this instance.

\n", "platform": null, @@ -725,8 +725,8 @@ }, "id": "op_Increment", "path": "src/CSharp11.cs", - "startLine": 16.0, - "endLine": 0.0 + "startLine": 16, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -773,7 +773,7 @@ ], "id": "CSharp11_StaticAbstractMembersInInterfaces_RepeatSequence_op_Increment_" }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "CSharp11.StaticAbstractMembersInInterfaces.IGetNext{CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence}.op_Increment(CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence)", @@ -879,8 +879,8 @@ }, "id": "RepeatSequence", "path": "src/CSharp11.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -930,7 +930,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -944,7 +944,7 @@ } ] }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "CSharp11.StaticAbstractMembersInInterfaces.IGetNext{CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence}", @@ -1039,7 +1039,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -1088,7 +1088,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1137,7 +1137,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1186,7 +1186,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1235,7 +1235,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json index 31a0ae34e11..fd42de24f2d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "StaticAbstractMembersInInterfaces", "path": "src/CSharp11.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json index f76b47fcb2f..a49916a65fc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json @@ -52,7 +52,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -114,7 +114,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -176,7 +176,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -246,7 +246,7 @@ "value": "StaticAbstractMembersInInterfaces.RepeatSequence" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -315,7 +315,7 @@ "value": "CheckedUserDefinedOperators(Of T)" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -377,7 +377,7 @@ "value": "StaticAbstractMembersInInterfaces.IGetNext(Of T)" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -436,7 +436,7 @@ "assemblies": [ "CSharp" ], - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json index cb13688b7bf..9c75483ff4e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,14 +167,14 @@ }, "id": "a", "path": "src/CSharp12.cs", - "startLine": 57.0, - "endLine": 0.0 + "startLine": 57, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp12", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -302,14 +302,14 @@ }, "id": "twoD", "path": "src/CSharp12.cs", - "startLine": 59.0, - "endLine": 0.0 + "startLine": 59, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp12", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -371,8 +371,8 @@ }, "id": "CollectionExpressions", "path": "src/CSharp12.cs", - "startLine": 50.0, - "endLine": 0.0 + "startLine": 50, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -422,7 +422,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -484,11 +484,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -537,7 +537,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -586,7 +586,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -635,7 +635,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -684,7 +684,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -733,7 +733,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -782,7 +782,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -831,7 +831,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json index 2358c442fc8..277a81f0c29 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "Foo", "path": "src/CSharp12.cs", - "startLine": 64.0, - "endLine": 0.0 + "startLine": 64, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -172,7 +172,7 @@ ], "id": "CSharp12_DefaultLambdaParameters_Foo_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -234,8 +234,8 @@ }, "id": "DefaultLambdaParameters", "path": "src/CSharp12.cs", - "startLine": 62.0, - "endLine": 0.0 + "startLine": 62, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -285,7 +285,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -347,11 +347,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -400,7 +400,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -449,7 +449,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -498,7 +498,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -547,7 +547,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -596,7 +596,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -645,7 +645,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -694,7 +694,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json index 62039967536..e76fd359300 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "InlineArrays", "path": "src/CSharp12.cs", - "startLine": 76.0, - "endLine": 0.0 + "startLine": 76, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -158,7 +158,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -207,7 +207,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -256,7 +256,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -305,7 +305,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -354,7 +354,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -403,7 +403,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -452,7 +452,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json index 5c46da3df70..71fbcd38f1c 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -215,8 +215,8 @@ }, "id": ".ctor", "path": "src/CSharp12.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -266,7 +266,7 @@ ], "id": "CSharp12_PrimaryConstructors_BankAccount__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -402,8 +402,8 @@ }, "id": "AccountID", "path": "src/CSharp12.cs", - "startLine": 14.0, - "endLine": 0.0 + "startLine": 14, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -453,7 +453,7 @@ ], "id": "CSharp12_PrimaryConstructors_BankAccount_AccountID_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -582,8 +582,8 @@ }, "id": "Owner", "path": "src/CSharp12.cs", - "startLine": 15.0, - "endLine": 0.0 + "startLine": 15, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -633,7 +633,7 @@ ], "id": "CSharp12_PrimaryConstructors_BankAccount_Owner_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -768,8 +768,8 @@ }, "id": "ToString", "path": "src/CSharp12.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -863,7 +863,7 @@ ], "id": "CSharp12_PrimaryConstructors_BankAccount_ToString_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Returns a string that represents the current object.

\n", "platform": null, @@ -924,8 +924,8 @@ }, "id": "BankAccount", "path": "src/CSharp12.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -975,7 +975,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -1037,8 +1037,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], "derivedClasses": [ @@ -1055,11 +1055,11 @@ "value": "" } ], - "level": 0.0, - "index": 2.0 + "level": 0, + "index": 2 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -1108,7 +1108,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1157,7 +1157,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1206,7 +1206,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1255,7 +1255,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1304,7 +1304,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1353,7 +1353,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json index 366e44552f3..c3a0471c485 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -261,8 +261,8 @@ }, "id": ".ctor", "path": "src/CSharp12.cs", - "startLine": 20.0, - "endLine": 0.0 + "startLine": 20, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -312,7 +312,7 @@ ], "id": "CSharp12_PrimaryConstructors_CheckAccount__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -448,8 +448,8 @@ }, "id": "CurrentBalance", "path": "src/CSharp12.cs", - "startLine": 22.0, - "endLine": 0.0 + "startLine": 22, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -499,7 +499,7 @@ ], "id": "CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -636,8 +636,8 @@ }, "id": "Deposit", "path": "src/CSharp12.cs", - "startLine": 24.0, - "endLine": 0.0 + "startLine": 24, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -687,7 +687,7 @@ ], "id": "CSharp12_PrimaryConstructors_CheckAccount_Deposit_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -815,8 +815,8 @@ }, "id": "ToString", "path": "src/CSharp12.cs", - "startLine": 46.0, - "endLine": 0.0 + "startLine": 46, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -910,7 +910,7 @@ ], "id": "CSharp12_PrimaryConstructors_CheckAccount_ToString_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Returns a string that represents the current object.

\n", "platform": null, @@ -1039,8 +1039,8 @@ }, "id": "Withdrawal", "path": "src/CSharp12.cs", - "startLine": 33.0, - "endLine": 0.0 + "startLine": 33, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1090,7 +1090,7 @@ ], "id": "CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1152,8 +1152,8 @@ }, "id": "CheckAccount", "path": "src/CSharp12.cs", - "startLine": 20.0, - "endLine": 0.0 + "startLine": 20, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1203,7 +1203,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -1265,8 +1265,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "CSharp12.PrimaryConstructors.BankAccount", @@ -1314,11 +1314,11 @@ "value": "PrimaryConstructors.BankAccount" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "inheritedMembers": [ { "uid": "CSharp12.PrimaryConstructors.BankAccount.AccountID", @@ -1365,7 +1365,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": null, "type": "property", "platform": null, @@ -1416,7 +1416,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": null, "type": "property", "platform": null, @@ -1469,7 +1469,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1518,7 +1518,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1567,7 +1567,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1616,7 +1616,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1665,7 +1665,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1714,7 +1714,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json index 3a70cb950bf..d412ff83fe4 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -215,8 +215,8 @@ }, "id": ".ctor", "path": "src/CSharp12.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -266,7 +266,7 @@ ], "id": "CSharp12_PrimaryConstructors_Distance__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -401,14 +401,14 @@ }, "id": "Direction", "path": "src/CSharp12.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp12", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -536,14 +536,14 @@ }, "id": "Magnitude", "path": "src/CSharp12.cs", - "startLine": 8.0, - "endLine": 0.0 + "startLine": 8, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp12", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -605,8 +605,8 @@ }, "id": "Distance", "path": "src/CSharp12.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -656,7 +656,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -670,7 +670,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -719,7 +719,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -768,7 +768,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -817,7 +817,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -866,7 +866,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -915,7 +915,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -964,7 +964,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json index bc6729c96fa..049f9b1d965 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "PrimaryConstructors", "path": "src/CSharp12.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json index d05dcc5dbcc..aced61c15cc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -169,8 +169,8 @@ }, "id": "Foo", "path": "src/CSharp12.cs", - "startLine": 84.0, - "endLine": 0.0 + "startLine": 84, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -220,7 +220,7 @@ ], "id": "CSharp12_RefReadOnlyParameters_Foo_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -282,8 +282,8 @@ }, "id": "RefReadOnlyParameters", "path": "src/CSharp12.cs", - "startLine": 82.0, - "endLine": 0.0 + "startLine": 82, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -333,7 +333,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -395,11 +395,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -448,7 +448,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -497,7 +497,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -546,7 +546,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -595,7 +595,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -644,7 +644,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -693,7 +693,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -742,7 +742,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json index 90daa0d0b52..f84da674252 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json @@ -52,7 +52,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -114,7 +114,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -176,7 +176,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -239,7 +239,7 @@ "value": "PrimaryConstructors.BankAccount" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -301,7 +301,7 @@ "value": "PrimaryConstructors.CheckAccount" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -363,7 +363,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -432,7 +432,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -494,7 +494,7 @@ "value": "PrimaryConstructors.Distance" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -553,7 +553,7 @@ "assemblies": [ "CSharp" ], - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json index 58a9a043cde..485e75519da 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "M", "path": "src/CSharp8.cs", - "startLine": 50.0, - "endLine": 0.0 + "startLine": 50, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -172,7 +172,7 @@ ], "id": "CSharp8_DefaultInterfaceMembers_IA_M_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -234,8 +234,8 @@ }, "id": "IA", "path": "src/CSharp8.cs", - "startLine": 48.0, - "endLine": 0.0 + "startLine": 48, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -285,7 +285,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -299,7 +299,7 @@ } ] }, - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json index cba9456b9b8..e24fc58de06 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "Nested", "path": "src/CSharp8.cs", - "startLine": 40.0, - "endLine": 0.0 + "startLine": 40, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json index 11845406e5b..6626e4aca54 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,14 +167,14 @@ }, "id": "GravitationalConstant", "path": "src/CSharp8.cs", - "startLine": 30.0, - "endLine": 0.0 + "startLine": 30, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp8", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -302,14 +302,14 @@ }, "id": "X", "path": "src/CSharp8.cs", - "startLine": 29.0, - "endLine": 0.0 + "startLine": 29, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp8", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -398,8 +398,8 @@ }, "id": "DoSomething", "path": "src/CSharp8.cs", - "startLine": 45.0, - "endLine": 0.0 + "startLine": 45, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -449,7 +449,7 @@ ], "id": "CSharp8_DefaultInterfaceMembers_DoSomething_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -531,8 +531,8 @@ }, "id": "DoSomethingElse", "path": "src/CSharp8.cs", - "startLine": 46.0, - "endLine": 0.0 + "startLine": 46, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -582,7 +582,7 @@ ], "id": "CSharp8_DefaultInterfaceMembers_DoSomethingElse_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -764,8 +764,8 @@ }, "id": "op_UnaryPlus", "path": "src/CSharp8.cs", - "startLine": 33.0, - "endLine": 0.0 + "startLine": 33, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -811,7 +811,7 @@ ], "id": "CSharp8_DefaultInterfaceMembers_op_UnaryPlus_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "", "platform": null, @@ -873,8 +873,8 @@ }, "id": "DefaultInterfaceMembers", "path": "src/CSharp8.cs", - "startLine": 27.0, - "endLine": 0.0 + "startLine": 27, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -924,7 +924,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -938,7 +938,7 @@ } ] }, - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json index 832c1323191..ed654fc6ce5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "Dispose", "path": "src/CSharp8.cs", - "startLine": 56.0, - "endLine": 0.0 + "startLine": 56, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -172,7 +172,7 @@ ], "id": "CSharp8_DisposableRefStructs_Dispose_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -254,8 +254,8 @@ }, "id": "DoSomething", "path": "src/CSharp8.cs", - "startLine": 60.0, - "endLine": 0.0 + "startLine": 60, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -305,7 +305,7 @@ ], "id": "CSharp8_DisposableRefStructs_DoSomething_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -367,8 +367,8 @@ }, "id": "DisposableRefStructs", "path": "src/CSharp8.cs", - "startLine": 54.0, - "endLine": 0.0 + "startLine": 54, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -418,7 +418,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -432,7 +432,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -481,7 +481,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -530,7 +530,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -579,7 +579,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -628,7 +628,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -677,7 +677,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -726,7 +726,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json index 01027e10755..575e8fc1f42 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -169,8 +169,8 @@ }, "id": "SomeMethod", "path": "src/CSharp8.cs", - "startLine": 147.0, - "endLine": 0.0 + "startLine": 147, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -220,7 +220,7 @@ ], "id": "CSharp8_Issue4007_SomeMethod_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -302,8 +302,8 @@ }, "id": "SomeOtherMethod", "path": "src/CSharp8.cs", - "startLine": 157.0, - "endLine": 0.0 + "startLine": 157, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -353,7 +353,7 @@ ], "id": "CSharp8_Issue4007_SomeOtherMethod_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -415,8 +415,8 @@ }, "id": "Issue4007", "path": "src/CSharp8.cs", - "startLine": 145.0, - "endLine": 0.0 + "startLine": 145, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -466,7 +466,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

This works: .\nThis does not work: .

\n", "example": [], @@ -530,11 +530,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -583,7 +583,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -632,7 +632,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -681,7 +681,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -730,7 +730,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -779,7 +779,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -828,7 +828,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -877,7 +877,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json index dd76ba34033..a391b9d41e7 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -166,8 +166,8 @@ }, "id": "AsynchronousStreams", "path": "src/CSharp8.cs", - "startLine": 97.0, - "endLine": 0.0 + "startLine": 97, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -217,7 +217,7 @@ ], "id": "CSharp8_Misc_AsynchronousStreams_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -345,8 +345,8 @@ }, "id": "GenerateSequence", "path": "src/CSharp8.cs", - "startLine": 105.0, - "endLine": 0.0 + "startLine": 105, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -396,7 +396,7 @@ ], "id": "CSharp8_Misc_GenerateSequence_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -478,8 +478,8 @@ }, "id": "IndicesAndRanges", "path": "src/CSharp8.cs", - "startLine": 119.0, - "endLine": 0.0 + "startLine": 119, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -529,7 +529,7 @@ ], "id": "CSharp8_Misc_IndicesAndRanges_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -704,8 +704,8 @@ }, "id": "IsExpression", "path": "src/CSharp8.cs", - "startLine": 77.0, - "endLine": 0.0 + "startLine": 77, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -755,7 +755,7 @@ ], "id": "CSharp8_Misc_IsExpression_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -837,8 +837,8 @@ }, "id": "NullCoalescingAssignment", "path": "src/CSharp8.cs", - "startLine": 127.0, - "endLine": 0.0 + "startLine": 127, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -888,7 +888,7 @@ ], "id": "CSharp8_Misc_NullCoalescingAssignment_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -970,8 +970,8 @@ }, "id": "StackallocInNestedExpressions", "path": "src/CSharp8.cs", - "startLine": 133.0, - "endLine": 0.0 + "startLine": 133, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1021,7 +1021,7 @@ ], "id": "CSharp8_Misc_StackallocInNestedExpressions_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1196,8 +1196,8 @@ }, "id": "StaticLocalFunctions", "path": "src/CSharp8.cs", - "startLine": 88.0, - "endLine": 0.0 + "startLine": 88, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1247,7 +1247,7 @@ ], "id": "CSharp8_Misc_StaticLocalFunctions_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1422,8 +1422,8 @@ }, "id": "SwitchExpression", "path": "src/CSharp8.cs", - "startLine": 80.0, - "endLine": 0.0 + "startLine": 80, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1473,7 +1473,7 @@ ], "id": "CSharp8_Misc_SwitchExpression_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1555,8 +1555,8 @@ }, "id": "UsingDeclaration", "path": "src/CSharp8.cs", - "startLine": 114.0, - "endLine": 0.0 + "startLine": 114, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1606,7 +1606,7 @@ ], "id": "CSharp8_Misc_UsingDeclaration_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1668,8 +1668,8 @@ }, "id": "Misc", "path": "src/CSharp8.cs", - "startLine": 75.0, - "endLine": 0.0 + "startLine": 75, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1719,7 +1719,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -1781,11 +1781,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -1834,7 +1834,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1883,7 +1883,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1932,7 +1932,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1981,7 +1981,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -2030,7 +2030,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -2079,7 +2079,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -2128,7 +2128,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json index ffb55fb5a22..9e6a22b32b2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,14 +167,14 @@ }, "id": "Field", "path": "src/CSharp8.cs", - "startLine": 70.0, - "endLine": 0.0 + "startLine": 70, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp8", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -310,8 +310,8 @@ }, "id": "Property", "path": "src/CSharp8.cs", - "startLine": 68.0, - "endLine": 0.0 + "startLine": 68, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -361,7 +361,7 @@ ], "id": "CSharp8_NullableReferenceTypes_Property_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -545,8 +545,8 @@ }, "id": "DoSomething", "path": "src/CSharp8.cs", - "startLine": 72.0, - "endLine": 0.0 + "startLine": 72, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -596,7 +596,7 @@ ], "id": "CSharp8_NullableReferenceTypes_DoSomething_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -658,8 +658,8 @@ }, "id": "NullableReferenceTypes", "path": "src/CSharp8.cs", - "startLine": 66.0, - "endLine": 0.0 + "startLine": 66, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -709,7 +709,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -771,11 +771,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -824,7 +824,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -873,7 +873,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -922,7 +922,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -971,7 +971,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1020,7 +1020,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1069,7 +1069,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1118,7 +1118,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json index 55dad054b6b..f97b8abe3cd 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -168,8 +168,8 @@ }, "id": "Counter", "path": "src/CSharp8.cs", - "startLine": 20.0, - "endLine": 0.0 + "startLine": 20, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -219,7 +219,7 @@ ], "id": "CSharp8_ReadOnlyMembers_Counter_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -348,8 +348,8 @@ }, "id": "X", "path": "src/CSharp8.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -399,7 +399,7 @@ ], "id": "CSharp8_ReadOnlyMembers_X_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -528,8 +528,8 @@ }, "id": "Y", "path": "src/CSharp8.cs", - "startLine": 10.0, - "endLine": 0.0 + "startLine": 10, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -579,7 +579,7 @@ ], "id": "CSharp8_ReadOnlyMembers_Y_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -713,8 +713,8 @@ }, "id": "Sum", "path": "src/CSharp8.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -764,7 +764,7 @@ ], "id": "CSharp8_ReadOnlyMembers_Sum_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -892,8 +892,8 @@ }, "id": "ToString", "path": "src/CSharp8.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -987,7 +987,7 @@ ], "id": "CSharp8_ReadOnlyMembers_ToString_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Returns the fully qualified type name of this instance.

\n", "platform": null, @@ -1048,8 +1048,8 @@ }, "id": "ReadOnlyMembers", "path": "src/CSharp8.cs", - "startLine": 7.0, - "endLine": 0.0 + "startLine": 7, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -1099,7 +1099,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -1113,7 +1113,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -1162,7 +1162,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -1211,7 +1211,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1260,7 +1260,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1309,7 +1309,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1358,7 +1358,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json index 5a0fcddbdbe..e2ee2121cfa 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json @@ -52,7 +52,7 @@ "value": "DefaultInterfaceMembers.Nested" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -114,7 +114,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

This works: .\nThis does not work: .

\n", "type": "class", "platform": null, @@ -176,7 +176,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -238,7 +238,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -307,7 +307,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -369,7 +369,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -439,7 +439,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -501,7 +501,7 @@ "value": "DefaultInterfaceMembers.IA" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -560,7 +560,7 @@ "assemblies": [ "CSharp" ], - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json index be2c8d1ff10..e40adbcc0d8 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -380,8 +380,8 @@ }, "id": "Example", "path": "src/CSharp9.cs", - "startLine": 29.0, - "endLine": 0.0 + "startLine": 29, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -431,7 +431,7 @@ ], "id": "CSharp9_FunctionPointers_Example_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -493,8 +493,8 @@ }, "id": "FunctionPointers", "path": "src/CSharp9.cs", - "startLine": 27.0, - "endLine": 0.0 + "startLine": 27, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -544,7 +544,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -606,11 +606,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -659,7 +659,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -708,7 +708,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -757,7 +757,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -806,7 +806,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -855,7 +855,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -904,7 +904,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -953,7 +953,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json index ba727f72bbc..f218d93fe6b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -168,8 +168,8 @@ }, "id": "PressureInMillibars", "path": "src/CSharp9.cs", - "startLine": 18.0, - "endLine": 0.0 + "startLine": 18, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -219,7 +219,7 @@ ], "id": "CSharp9_InitOnlySetters_PressureInMillibars_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -348,8 +348,8 @@ }, "id": "RecordedAt", "path": "src/CSharp9.cs", - "startLine": 16.0, - "endLine": 0.0 + "startLine": 16, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -399,7 +399,7 @@ ], "id": "CSharp9_InitOnlySetters_RecordedAt_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -528,8 +528,8 @@ }, "id": "TemperatureInCelsius", "path": "src/CSharp9.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -579,7 +579,7 @@ ], "id": "CSharp9_InitOnlySetters_TemperatureInCelsius_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -641,8 +641,8 @@ }, "id": "InitOnlySetters", "path": "src/CSharp9.cs", - "startLine": 14.0, - "endLine": 0.0 + "startLine": 14, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -692,7 +692,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -754,11 +754,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -807,7 +807,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -856,7 +856,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -905,7 +905,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -954,7 +954,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1003,7 +1003,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1052,7 +1052,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1101,7 +1101,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json index c1455a23e00..40cd74678dc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,14 +167,14 @@ }, "id": "X", "path": "src/CSharp9.cs", - "startLine": 23.0, - "endLine": 0.0 + "startLine": 23, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp9", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -302,14 +302,14 @@ }, "id": "Y", "path": "src/CSharp9.cs", - "startLine": 24.0, - "endLine": 0.0 + "startLine": 24, + "endLine": 0 }, "assemblies": [ "CSharp" ], "namespace": "CSharp9", - "level": 0.0, + "level": 0, "type": "field", "summary": "", "platform": null, @@ -371,8 +371,8 @@ }, "id": "NativeSizedIntegers", "path": "src/CSharp9.cs", - "startLine": 21.0, - "endLine": 0.0 + "startLine": 21, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -422,7 +422,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -484,11 +484,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -537,7 +537,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -586,7 +586,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -635,7 +635,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -684,7 +684,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -733,7 +733,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -782,7 +782,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -831,7 +831,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json index 370c50f219a..4649d1c1fcf 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -215,8 +215,8 @@ }, "id": ".ctor", "path": "src/CSharp9.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -266,7 +266,7 @@ ], "id": "CSharp9_RecordTypes_Person__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -402,8 +402,8 @@ }, "id": "FirstName", "path": "src/CSharp9.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -453,7 +453,7 @@ ], "id": "CSharp9_RecordTypes_Person_FirstName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -582,8 +582,8 @@ }, "id": "LastName", "path": "src/CSharp9.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -633,7 +633,7 @@ ], "id": "CSharp9_RecordTypes_Person_LastName_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -695,8 +695,8 @@ }, "id": "Person", "path": "src/CSharp9.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -746,7 +746,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -808,8 +808,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], "derivedClasses": [ @@ -826,11 +826,11 @@ "value": "" } ], - "level": 0.0, - "index": 2.0 + "level": 0, + "index": 2 } ], - "level": 1.0, + "level": 1, "implements": [ { "uid": "System.IEquatable{CSharp9.RecordTypes.Person}", @@ -925,7 +925,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -974,7 +974,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1023,7 +1023,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1072,7 +1072,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1121,7 +1121,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1170,7 +1170,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1219,7 +1219,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json index 679c13743dd..e224a426372 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -261,8 +261,8 @@ }, "id": ".ctor", "path": "src/CSharp9.cs", - "startLine": 11.0, - "endLine": 0.0 + "startLine": 11, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -312,7 +312,7 @@ ], "id": "CSharp9_RecordTypes_Teacher__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -448,8 +448,8 @@ }, "id": "Grade", "path": "src/CSharp9.cs", - "startLine": 11.0, - "endLine": 0.0 + "startLine": 11, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -499,7 +499,7 @@ ], "id": "CSharp9_RecordTypes_Teacher_Grade_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -561,8 +561,8 @@ }, "id": "Teacher", "path": "src/CSharp9.cs", - "startLine": 11.0, - "endLine": 0.0 + "startLine": 11, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -612,7 +612,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -674,8 +674,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "CSharp9.RecordTypes.Person", @@ -723,11 +723,11 @@ "value": "RecordTypes.Person" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "implements": [ { "uid": "System.IEquatable{CSharp9.RecordTypes.Person}", @@ -864,7 +864,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": null, "type": "property", "platform": null, @@ -915,7 +915,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": null, "type": "property", "platform": null, @@ -968,7 +968,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1017,7 +1017,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1066,7 +1066,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1115,7 +1115,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1164,7 +1164,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1213,7 +1213,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1262,7 +1262,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json index b145ff3ca8f..22b96cccfab 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "RecordTypes", "path": "src/CSharp9.cs", - "startLine": 7.0, - "endLine": 0.0 + "startLine": 7, + "endLine": 0 }, "assemblies": [ "CSharp" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json index ca55d6f8aa6..05f8ed54522 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json @@ -52,7 +52,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -114,7 +114,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -176,7 +176,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -238,7 +238,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -301,7 +301,7 @@ "value": "RecordTypes.Person" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -363,7 +363,7 @@ "value": "RecordTypes.Teacher" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -422,7 +422,7 @@ "assemblies": [ "CSharp" ], - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json index a1f14443979..ee35c5361e0 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json @@ -14,7 +14,7 @@ "topicUid": "CSharp10.ConstantInterpolatedStrings", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -25,7 +25,7 @@ "topicUid": "CSharp10.Issue7737", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -36,7 +36,7 @@ "topicUid": "CSharp10.ParameterlessStructConstructors", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -47,7 +47,7 @@ "topicUid": "CSharp10.ReadOnlyRecordStruct", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -58,7 +58,7 @@ "topicUid": "CSharp10.RecordClass", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -69,13 +69,13 @@ "topicUid": "CSharp10.RecordStruct", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CSharp11", @@ -91,7 +91,7 @@ "topicUid": "CSharp11.CheckedUserDefinedOperators`1", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -102,7 +102,7 @@ "topicUid": "CSharp11.RequiredModifier", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -113,7 +113,7 @@ "topicUid": "CSharp11.ScopedModifier", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -124,7 +124,7 @@ "topicUid": "CSharp11.StaticAbstractMembersInInterfaces", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -135,7 +135,7 @@ "topicUid": "CSharp11.StaticAbstractMembersInInterfaces.IGetNext`1", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -146,13 +146,13 @@ "topicUid": "CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CSharp12", @@ -168,7 +168,7 @@ "topicUid": "CSharp12.CollectionExpressions", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -179,7 +179,7 @@ "topicUid": "CSharp12.DefaultLambdaParameters", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -190,7 +190,7 @@ "topicUid": "CSharp12.InlineArrays", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -201,7 +201,7 @@ "topicUid": "CSharp12.PrimaryConstructors", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -212,7 +212,7 @@ "topicUid": "CSharp12.PrimaryConstructors.BankAccount", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -223,7 +223,7 @@ "topicUid": "CSharp12.PrimaryConstructors.CheckAccount", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -234,7 +234,7 @@ "topicUid": "CSharp12.PrimaryConstructors.Distance", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -245,13 +245,13 @@ "topicUid": "CSharp12.RefReadOnlyParameters", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CSharp8", @@ -267,7 +267,7 @@ "topicUid": "CSharp8.DefaultInterfaceMembers", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -278,7 +278,7 @@ "topicUid": "CSharp8.DefaultInterfaceMembers.IA", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -289,7 +289,7 @@ "topicUid": "CSharp8.DefaultInterfaceMembers.Nested", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -300,7 +300,7 @@ "topicUid": "CSharp8.DisposableRefStructs", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -311,7 +311,7 @@ "topicUid": "CSharp8.Issue4007", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -322,7 +322,7 @@ "topicUid": "CSharp8.Misc", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -333,7 +333,7 @@ "topicUid": "CSharp8.NullableReferenceTypes", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -344,13 +344,13 @@ "topicUid": "CSharp8.ReadOnlyMembers", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CSharp9", @@ -366,7 +366,7 @@ "topicUid": "CSharp9.FunctionPointers", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -377,7 +377,7 @@ "topicUid": "CSharp9.InitOnlySetters", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -388,7 +388,7 @@ "topicUid": "CSharp9.NativeSizedIntegers", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -399,7 +399,7 @@ "topicUid": "CSharp9.RecordTypes", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -410,7 +410,7 @@ "topicUid": "CSharp9.RecordTypes.Person", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -421,13 +421,13 @@ "topicUid": "CSharp9.RecordTypes.Teacher", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 } ], "memberLayout": "SamePage", @@ -514,7 +514,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json index 0a605557221..cc8d7fb788e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json @@ -74,8 +74,8 @@ }, "id": ".ctor", "path": "src/ExampleClass.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "namespace": "MyExample", "overload": { @@ -122,7 +122,7 @@ ], "id": "MyExample_ExampleClass__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -184,8 +184,8 @@ }, "id": ".ctor", "path": "src/ExampleClass.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "namespace": { "uid": "MyExample", @@ -232,9 +232,9 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, - "level": 0.0, + "level": 0, "_isOverload": true, "_systemKeys": [ "uid", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json index 8736290000f..ffcf7f9b9d6 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json @@ -15,7 +15,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "langs": [ "csharp", @@ -60,8 +60,8 @@ }, "id": "MyEvent", "path": "src/ExampleClass.cs", - "startLine": 6.0, - "endLine": 0.0 + "startLine": 6, + "endLine": 0 }, "namespace": { "uid": "MyExample", @@ -108,7 +108,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -168,7 +168,7 @@ } } }, - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json index 0854ce48696..8cd78ca04ed 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json @@ -119,8 +119,8 @@ }, "id": "MyMethod", "path": "src/ExampleClass.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "namespace": "MyExample", "overload": { @@ -167,7 +167,7 @@ ], "id": "MyExample_ExampleClass_MyMethod_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -229,8 +229,8 @@ }, "id": "MyMethod", "path": "src/ExampleClass.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "namespace": { "uid": "MyExample", @@ -277,9 +277,9 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, - "level": 0.0, + "level": 0, "_isOverload": true, "_systemKeys": [ "uid", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json index 8416fe5b609..699bb50d822 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json @@ -121,8 +121,8 @@ }, "id": "MyProperty", "path": "src/ExampleClass.cs", - "startLine": 10.0, - "endLine": 0.0 + "startLine": 10, + "endLine": 0 }, "namespace": "MyExample", "overload": { @@ -169,7 +169,7 @@ ], "id": "MyExample_ExampleClass_MyProperty_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -231,8 +231,8 @@ }, "id": "MyProperty", "path": "src/ExampleClass.cs", - "startLine": 10.0, - "endLine": 0.0 + "startLine": 10, + "endLine": 0 }, "namespace": { "uid": "MyExample", @@ -279,9 +279,9 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, - "level": 0.0, + "level": 0, "_isOverload": true, "_systemKeys": [ "uid", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json index 6d49da0a41c..100120bb55b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -99,7 +99,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "constructor", "platform": null, @@ -168,7 +168,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "property", "platform": null, @@ -237,7 +237,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "method", "platform": null, @@ -306,7 +306,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "event", "platform": null, @@ -370,8 +370,8 @@ }, "id": "ExampleClass", "path": "src/ExampleClass.cs", - "startLine": 4.0, - "endLine": 0.0 + "startLine": 4, + "endLine": 0 }, "namespace": { "uid": "MyExample", @@ -418,7 +418,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -480,11 +480,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -533,7 +533,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -582,7 +582,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -631,7 +631,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -680,7 +680,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -729,7 +729,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -778,7 +778,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -827,7 +827,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_systemKeys": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json index 6cab3f84175..83af7255625 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json @@ -52,7 +52,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -108,7 +108,7 @@ } ], "type": "namespace", - "level": 0.0, + "level": 0, "_systemKeys": [ "uid", "isEii", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json index 2d644e1e7a6..d028027f4bb 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json @@ -1,7 +1,7 @@ { "items": [ { - "name": "Namespaces", + "name": "Namespace", "items": [ { "name": "MyExample", @@ -11,7 +11,7 @@ "type": "Namespace", "items": [ { - "name": "Classes", + "name": "Class", "items": [ { "name": "ExampleClass", @@ -33,14 +33,14 @@ "nameWithType": "ExampleClass.ExampleClass", "isEii": false, "tocHref": null, - "level": 7.0, + "level": 7, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 6.0, + "level": 6, "leaf": false }, { @@ -56,14 +56,14 @@ "nameWithType": "ExampleClass.MyProperty", "isEii": false, "tocHref": null, - "level": 7.0, + "level": 7, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 6.0, + "level": 6, "leaf": false }, { @@ -79,14 +79,14 @@ "nameWithType": "ExampleClass.MyMethod", "isEii": false, "tocHref": null, - "level": 7.0, + "level": 7, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 6.0, + "level": 6, "leaf": false }, { @@ -102,36 +102,36 @@ "nameWithType": "ExampleClass.MyEvent", "isEii": false, "tocHref": null, - "level": 7.0, + "level": 7, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 6.0, + "level": 6, "leaf": false } ], "tocHref": null, - "level": 5.0, + "level": 5, "leaf": false } ], "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "leaf": false } ], "tocHref": null, - "level": 3.0, + "level": 3, "leaf": false } ], "topicHref": null, "tocHref": null, - "level": 2.0, + "level": 2, "leaf": false } ], @@ -222,6 +222,6 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false } \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json index 9445945054e..b3a0f4e5638 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json @@ -1,3 +1,3 @@ { - "content": "{\"items\":[{\"name\":\"Namespaces\",\"items\":[{\"name\":\"MyExample\",\"href\":\"MyExample.html\",\"topicHref\":\"MyExample.html\",\"topicUid\":\"MyExample\",\"type\":\"Namespace\",\"items\":[{\"name\":\"Classes\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.html\",\"topicHref\":\"MyExample.ExampleClass.html\",\"topicUid\":\"MyExample.ExampleClass\",\"type\":\"Class\",\"items\":[{\"name\":\"Constructors\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.-ctor.html\",\"topicHref\":\"MyExample.ExampleClass.-ctor.html\",\"topicUid\":\"MyExample.ExampleClass.#ctor*\",\"type\":\"Constructor\",\"fullName\":\"MyExample.ExampleClass.ExampleClass\",\"nameWithType\":\"ExampleClass.ExampleClass\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Properties\",\"items\":[{\"name\":\"MyProperty\",\"href\":\"MyExample.ExampleClass.MyProperty.html\",\"topicHref\":\"MyExample.ExampleClass.MyProperty.html\",\"topicUid\":\"MyExample.ExampleClass.MyProperty*\",\"type\":\"Property\",\"fullName\":\"MyExample.ExampleClass.MyProperty\",\"nameWithType\":\"ExampleClass.MyProperty\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Methods\",\"items\":[{\"name\":\"MyMethod\",\"href\":\"MyExample.ExampleClass.MyMethod.html\",\"topicHref\":\"MyExample.ExampleClass.MyMethod.html\",\"topicUid\":\"MyExample.ExampleClass.MyMethod*\",\"type\":\"Method\",\"fullName\":\"MyExample.ExampleClass.MyMethod\",\"nameWithType\":\"ExampleClass.MyMethod\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Events\",\"items\":[{\"name\":\"MyEvent\",\"href\":\"MyExample.ExampleClass.MyEvent.html\",\"topicHref\":\"MyExample.ExampleClass.MyEvent.html\",\"topicUid\":\"MyExample.ExampleClass.MyEvent\",\"type\":\"Event\",\"fullName\":\"MyExample.ExampleClass.MyEvent\",\"nameWithType\":\"ExampleClass.MyEvent\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false}],\"tocHref\":null,\"level\":5,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":4,\"leaf\":false}],\"tocHref\":null,\"level\":3,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":2,\"leaf\":false}],\"memberLayout\":\"SeparatePages\",\"topicHref\":null,\"tocHref\":null,\"name\":null,\"level\":1,\"leaf\":false}" + "content": "{\"items\":[{\"name\":\"Namespace\",\"items\":[{\"name\":\"MyExample\",\"href\":\"MyExample.html\",\"topicHref\":\"MyExample.html\",\"topicUid\":\"MyExample\",\"type\":\"Namespace\",\"items\":[{\"name\":\"Class\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.html\",\"topicHref\":\"MyExample.ExampleClass.html\",\"topicUid\":\"MyExample.ExampleClass\",\"type\":\"Class\",\"items\":[{\"name\":\"Constructors\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.-ctor.html\",\"topicHref\":\"MyExample.ExampleClass.-ctor.html\",\"topicUid\":\"MyExample.ExampleClass.#ctor*\",\"type\":\"Constructor\",\"fullName\":\"MyExample.ExampleClass.ExampleClass\",\"nameWithType\":\"ExampleClass.ExampleClass\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Properties\",\"items\":[{\"name\":\"MyProperty\",\"href\":\"MyExample.ExampleClass.MyProperty.html\",\"topicHref\":\"MyExample.ExampleClass.MyProperty.html\",\"topicUid\":\"MyExample.ExampleClass.MyProperty*\",\"type\":\"Property\",\"fullName\":\"MyExample.ExampleClass.MyProperty\",\"nameWithType\":\"ExampleClass.MyProperty\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Methods\",\"items\":[{\"name\":\"MyMethod\",\"href\":\"MyExample.ExampleClass.MyMethod.html\",\"topicHref\":\"MyExample.ExampleClass.MyMethod.html\",\"topicUid\":\"MyExample.ExampleClass.MyMethod*\",\"type\":\"Method\",\"fullName\":\"MyExample.ExampleClass.MyMethod\",\"nameWithType\":\"ExampleClass.MyMethod\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Events\",\"items\":[{\"name\":\"MyEvent\",\"href\":\"MyExample.ExampleClass.MyEvent.html\",\"topicHref\":\"MyExample.ExampleClass.MyEvent.html\",\"topicUid\":\"MyExample.ExampleClass.MyEvent\",\"type\":\"Event\",\"fullName\":\"MyExample.ExampleClass.MyEvent\",\"nameWithType\":\"ExampleClass.MyEvent\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false}],\"tocHref\":null,\"level\":5,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":4,\"leaf\":false}],\"tocHref\":null,\"level\":3,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":2,\"leaf\":false}],\"memberLayout\":\"SeparatePages\",\"topicHref\":null,\"tocHref\":null,\"name\":null,\"level\":1,\"leaf\":false}" } \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json index 853804b3f61..dea3aeee56b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json @@ -1,2 +1,2 @@  -{"items":[{"name":"Namespaces","items":[{"name":"MyExample","href":"MyExample.html","topicHref":"MyExample.html","topicUid":"MyExample","type":"Namespace","items":[{"name":"Classes","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.html","topicHref":"MyExample.ExampleClass.html","topicUid":"MyExample.ExampleClass","type":"Class","items":[{"name":"Constructors","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.-ctor.html","topicHref":"MyExample.ExampleClass.-ctor.html","topicUid":"MyExample.ExampleClass.#ctor*","type":"Constructor","fullName":"MyExample.ExampleClass.ExampleClass","nameWithType":"ExampleClass.ExampleClass","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Properties","items":[{"name":"MyProperty","href":"MyExample.ExampleClass.MyProperty.html","topicHref":"MyExample.ExampleClass.MyProperty.html","topicUid":"MyExample.ExampleClass.MyProperty*","type":"Property","fullName":"MyExample.ExampleClass.MyProperty","nameWithType":"ExampleClass.MyProperty","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Methods","items":[{"name":"MyMethod","href":"MyExample.ExampleClass.MyMethod.html","topicHref":"MyExample.ExampleClass.MyMethod.html","topicUid":"MyExample.ExampleClass.MyMethod*","type":"Method","fullName":"MyExample.ExampleClass.MyMethod","nameWithType":"ExampleClass.MyMethod","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Events","items":[{"name":"MyEvent","href":"MyExample.ExampleClass.MyEvent.html","topicHref":"MyExample.ExampleClass.MyEvent.html","topicUid":"MyExample.ExampleClass.MyEvent","type":"Event","fullName":"MyExample.ExampleClass.MyEvent","nameWithType":"ExampleClass.MyEvent","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false}],"tocHref":null,"level":5,"leaf":false}],"topicHref":null,"tocHref":null,"level":4,"leaf":false}],"tocHref":null,"level":3,"leaf":false}],"topicHref":null,"tocHref":null,"level":2,"leaf":false}],"memberLayout":"SeparatePages","topicHref":null,"tocHref":null,"name":null,"level":1,"leaf":false} +{"items":[{"name":"Namespace","items":[{"name":"MyExample","href":"MyExample.html","topicHref":"MyExample.html","topicUid":"MyExample","type":"Namespace","items":[{"name":"Class","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.html","topicHref":"MyExample.ExampleClass.html","topicUid":"MyExample.ExampleClass","type":"Class","items":[{"name":"Constructors","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.-ctor.html","topicHref":"MyExample.ExampleClass.-ctor.html","topicUid":"MyExample.ExampleClass.#ctor*","type":"Constructor","fullName":"MyExample.ExampleClass.ExampleClass","nameWithType":"ExampleClass.ExampleClass","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Properties","items":[{"name":"MyProperty","href":"MyExample.ExampleClass.MyProperty.html","topicHref":"MyExample.ExampleClass.MyProperty.html","topicUid":"MyExample.ExampleClass.MyProperty*","type":"Property","fullName":"MyExample.ExampleClass.MyProperty","nameWithType":"ExampleClass.MyProperty","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Methods","items":[{"name":"MyMethod","href":"MyExample.ExampleClass.MyMethod.html","topicHref":"MyExample.ExampleClass.MyMethod.html","topicUid":"MyExample.ExampleClass.MyMethod*","type":"Method","fullName":"MyExample.ExampleClass.MyMethod","nameWithType":"ExampleClass.MyMethod","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Events","items":[{"name":"MyEvent","href":"MyExample.ExampleClass.MyEvent.html","topicHref":"MyExample.ExampleClass.MyEvent.html","topicUid":"MyExample.ExampleClass.MyEvent","type":"Event","fullName":"MyExample.ExampleClass.MyEvent","nameWithType":"ExampleClass.MyEvent","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false}],"tocHref":null,"level":5,"leaf":false}],"topicHref":null,"tocHref":null,"level":4,"leaf":false}],"tocHref":null,"level":3,"leaf":false}],"topicHref":null,"tocHref":null,"level":2,"leaf":false}],"memberLayout":"SeparatePages","topicHref":null,"tocHref":null,"name":null,"level":1,"leaf":false} diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json index 5341ee17951..6f32123cbb1 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "index.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_systemKeys": [ "conceptual", @@ -32,7 +32,7 @@ ], "rawTitle": "

This is the HOMEPAGE.

", "title": "This is the HOMEPAGE.", - "wordCount": 33.0, + "wordCount": 33, "_key": "index.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json index ecb94a71a7d..522c3407343 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json @@ -6,7 +6,7 @@ "tocHref": "api/toc.html", "topicHref": "api/MyExample.html", "topicUid": "MyExample", - "level": 2.0, + "level": 2, "items": [], "leaf": true } @@ -97,7 +97,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json index 6f11582a542..cbbe00183bd 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json @@ -48,7 +48,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -116,8 +116,8 @@ }, "source": { "href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs", - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "assemblies": [ "BuildFromAssembly" @@ -167,7 +167,7 @@ ], "id": "BuildFromAssembly_Class1__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -250,8 +250,8 @@ }, "source": { "href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs", - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "assemblies": [ "BuildFromAssembly" @@ -302,7 +302,7 @@ ], "id": "BuildFromAssembly_Class1_HelloWorld_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Hello World.

\n", "platform": null, @@ -357,8 +357,8 @@ "type": "class", "source": { "href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs", - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "assemblies": [ "BuildFromAssembly" @@ -409,7 +409,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

This is a test class.

\n", "example": [], @@ -473,11 +473,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.GetType", @@ -526,7 +526,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -575,7 +575,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -624,7 +624,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object)", @@ -673,7 +673,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -722,7 +722,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -771,7 +771,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -820,7 +820,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json index 60a61ea8689..caa875b273b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json @@ -48,7 +48,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -163,8 +163,8 @@ }, "source": { "href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs", - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "assemblies": [ "BuildFromAssembly" @@ -214,7 +214,7 @@ ], "id": "BuildFromAssembly_Issue5432_Name_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -270,8 +270,8 @@ "type": "struct", "source": { "href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs", - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "assemblies": [ "BuildFromAssembly" @@ -322,7 +322,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -336,7 +336,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -385,7 +385,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -434,7 +434,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -483,7 +483,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -532,7 +532,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -581,7 +581,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -630,7 +630,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json index 26aa7bfe56d..4d747b5b7a2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json @@ -53,7 +53,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

This is a test class.

\n", "type": "class", "platform": null, @@ -123,7 +123,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -182,7 +182,7 @@ "assemblies": [ "BuildFromAssembly" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json index 391a0e71fbc..0333fb815c1 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -169,8 +169,8 @@ }, "id": "Main", "path": "dotnet/csharp/CSharp.cs", - "startLine": 9.0, - "endLine": 0.0 + "startLine": 9, + "endLine": 0 }, "namespace": "BuildFromCSharpSourceCode", "overload": { @@ -217,7 +217,7 @@ ], "id": "BuildFromCSharpSourceCode_CSharp_Main_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -279,8 +279,8 @@ }, "id": "CSharp", "path": "dotnet/csharp/CSharp.cs", - "startLine": 7.0, - "endLine": 0.0 + "startLine": 7, + "endLine": 0 }, "namespace": { "uid": "BuildFromCSharpSourceCode", @@ -327,7 +327,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -389,11 +389,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -442,7 +442,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -491,7 +491,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -540,7 +540,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -589,7 +589,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -638,7 +638,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -687,7 +687,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -736,7 +736,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json index b7a766be7f9..a2a4d7331e5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json @@ -52,7 +52,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -108,7 +108,7 @@ } ], "type": "namespace", - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json index 9012ed6467d..29157d2d34e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -127,8 +127,8 @@ }, "id": "DoNothing", "path": "dotnet/project/Project/Class1.cs", - "startLine": 139.0, - "endLine": 0.0 + "startLine": 139, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -179,7 +179,7 @@ ], "id": "BuildFromProject_Class1_IIssue8948_DoNothing_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Does nothing with generic type T.

\n", "platform": null, @@ -240,8 +240,8 @@ }, "id": "IIssue8948", "path": "dotnet/project/Project/Class1.cs", - "startLine": 133.0, - "endLine": 0.0 + "startLine": 133, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -291,7 +291,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -305,7 +305,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json index 22944257e87..54ecb7a8cd5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Class1.cs", - "startLine": 111.0, - "endLine": 0.0 + "startLine": 111, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -172,7 +172,7 @@ ], "id": "BuildFromProject_Class1_Issue8665__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -302,8 +302,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Class1.cs", - "startLine": 113.0, - "endLine": 0.0 + "startLine": 113, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -353,7 +353,7 @@ ], "id": "BuildFromProject_Class1_Issue8665__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -529,8 +529,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Class1.cs", - "startLine": 115.0, - "endLine": 0.0 + "startLine": 115, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -580,7 +580,7 @@ ], "id": "BuildFromProject_Class1_Issue8665__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -802,8 +802,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Class1.cs", - "startLine": 117.0, - "endLine": 0.0 + "startLine": 117, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -853,7 +853,7 @@ ], "id": "BuildFromProject_Class1_Issue8665__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -989,8 +989,8 @@ }, "id": "Bar", "path": "dotnet/project/Project/Class1.cs", - "startLine": 108.0, - "endLine": 0.0 + "startLine": 108, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1040,7 +1040,7 @@ ], "id": "BuildFromProject_Class1_Issue8665_Bar_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -1169,8 +1169,8 @@ }, "id": "Baz", "path": "dotnet/project/Project/Class1.cs", - "startLine": 109.0, - "endLine": 0.0 + "startLine": 109, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1220,7 +1220,7 @@ ], "id": "BuildFromProject_Class1_Issue8665_Baz_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -1349,8 +1349,8 @@ }, "id": "Foo", "path": "dotnet/project/Project/Class1.cs", - "startLine": 107.0, - "endLine": 0.0 + "startLine": 107, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1400,7 +1400,7 @@ ], "id": "BuildFromProject_Class1_Issue8665_Foo_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "", "platform": null, @@ -1462,8 +1462,8 @@ }, "id": "Issue8665", "path": "dotnet/project/Project/Class1.cs", - "startLine": 105.0, - "endLine": 0.0 + "startLine": 105, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1513,7 +1513,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -1575,11 +1575,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -1628,7 +1628,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1677,7 +1677,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1726,7 +1726,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1775,7 +1775,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1824,7 +1824,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1873,7 +1873,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1922,7 +1922,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json index b54ecc130b2..c38ba60ac32 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -399,8 +399,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Class1.cs", - "startLine": 127.0, - "endLine": 0.0 + "startLine": 127, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -450,7 +450,7 @@ ], "id": "BuildFromProject_Class1_Issue8696Attribute__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -512,8 +512,8 @@ }, "id": "Issue8696Attribute", "path": "dotnet/project/Project/Class1.cs", - "startLine": 125.0, - "endLine": 0.0 + "startLine": 125, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -563,7 +563,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -625,8 +625,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "System.Attribute", @@ -675,11 +675,11 @@ "value": "" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "inheritedMembers": [ { "uid": "System.Attribute.Equals(System.Object)", @@ -728,7 +728,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.Assembly,System.Type)", @@ -777,7 +777,7 @@ "value": "GetCustomAttribute(Assembly, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.Assembly,System.Type,System.Boolean)", @@ -826,7 +826,7 @@ "value": "GetCustomAttribute(Assembly, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)", @@ -875,7 +875,7 @@ "value": "GetCustomAttribute(MemberInfo, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo,System.Type,System.Boolean)", @@ -924,7 +924,7 @@ "value": "GetCustomAttribute(MemberInfo, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.Module,System.Type)", @@ -973,7 +973,7 @@ "value": "GetCustomAttribute(Module, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.Module,System.Type,System.Boolean)", @@ -1022,7 +1022,7 @@ "value": "GetCustomAttribute(Module, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type)", @@ -1071,7 +1071,7 @@ "value": "GetCustomAttribute(ParameterInfo, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type,System.Boolean)", @@ -1120,7 +1120,7 @@ "value": "GetCustomAttribute(ParameterInfo, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly)", @@ -1169,7 +1169,7 @@ "value": "GetCustomAttributes(Assembly)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly,System.Boolean)", @@ -1218,7 +1218,7 @@ "value": "GetCustomAttributes(Assembly, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly,System.Type)", @@ -1267,7 +1267,7 @@ "value": "GetCustomAttributes(Assembly, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly,System.Type,System.Boolean)", @@ -1316,7 +1316,7 @@ "value": "GetCustomAttributes(Assembly, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)", @@ -1365,7 +1365,7 @@ "value": "GetCustomAttributes(MemberInfo)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo,System.Boolean)", @@ -1414,7 +1414,7 @@ "value": "GetCustomAttributes(MemberInfo, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo,System.Type)", @@ -1463,7 +1463,7 @@ "value": "GetCustomAttributes(MemberInfo, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo,System.Type,System.Boolean)", @@ -1512,7 +1512,7 @@ "value": "GetCustomAttributes(MemberInfo, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module)", @@ -1561,7 +1561,7 @@ "value": "GetCustomAttributes(Module)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module,System.Boolean)", @@ -1610,7 +1610,7 @@ "value": "GetCustomAttributes(Module, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module,System.Type)", @@ -1659,7 +1659,7 @@ "value": "GetCustomAttributes(Module, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module,System.Type,System.Boolean)", @@ -1708,7 +1708,7 @@ "value": "GetCustomAttributes(Module, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)", @@ -1757,7 +1757,7 @@ "value": "GetCustomAttributes(ParameterInfo)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo,System.Boolean)", @@ -1806,7 +1806,7 @@ "value": "GetCustomAttributes(ParameterInfo, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type)", @@ -1855,7 +1855,7 @@ "value": "GetCustomAttributes(ParameterInfo, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type,System.Boolean)", @@ -1904,7 +1904,7 @@ "value": "GetCustomAttributes(ParameterInfo, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.GetHashCode", @@ -1953,7 +1953,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefaultAttribute", @@ -2002,7 +2002,7 @@ "value": "IsDefaultAttribute()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.Assembly,System.Type)", @@ -2051,7 +2051,7 @@ "value": "IsDefined(Assembly, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.Assembly,System.Type,System.Boolean)", @@ -2100,7 +2100,7 @@ "value": "IsDefined(Assembly, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.MemberInfo,System.Type)", @@ -2149,7 +2149,7 @@ "value": "IsDefined(MemberInfo, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.MemberInfo,System.Type,System.Boolean)", @@ -2198,7 +2198,7 @@ "value": "IsDefined(MemberInfo, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.Module,System.Type)", @@ -2247,7 +2247,7 @@ "value": "IsDefined(Module, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.Module,System.Type,System.Boolean)", @@ -2296,7 +2296,7 @@ "value": "IsDefined(Module, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.ParameterInfo,System.Type)", @@ -2345,7 +2345,7 @@ "value": "IsDefined(ParameterInfo, Type)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.IsDefined(System.Reflection.ParameterInfo,System.Type,System.Boolean)", @@ -2394,7 +2394,7 @@ "value": "IsDefined(ParameterInfo, Type, Boolean)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.Match(System.Object)", @@ -2443,7 +2443,7 @@ "value": "Match(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Attribute.TypeId", @@ -2492,7 +2492,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -2541,7 +2541,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -2590,7 +2590,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -2639,7 +2639,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -2688,7 +2688,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -2737,7 +2737,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json index d41e2fd1752..a0064b481a4 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -127,8 +127,8 @@ }, "id": "DoNothing", "path": "dotnet/project/Project/Class1.cs", - "startLine": 145.0, - "endLine": 0.0 + "startLine": 145, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -179,7 +179,7 @@ ], "id": "BuildFromProject_Class1_Issue8948_DoNothing_" }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "BuildFromProject.Class1.IIssue8948.DoNothing``1", @@ -284,8 +284,8 @@ }, "id": "Issue8948", "path": "dotnet/project/Project/Class1.cs", - "startLine": 142.0, - "endLine": 0.0 + "startLine": 142, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -335,7 +335,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -397,11 +397,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "implements": [ { "uid": "BuildFromProject.Class1.IIssue8948", @@ -495,7 +495,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -544,7 +544,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -593,7 +593,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -642,7 +642,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -691,7 +691,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -740,7 +740,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -789,7 +789,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json index 5d70683fef7..595de67fc4b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,8 +167,8 @@ }, "id": "Value", "path": "dotnet/project/Project/Class1.cs", - "startLine": 173.0, - "endLine": 0.0 + "startLine": 173, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -176,7 +176,7 @@ "namespace": "BuildFromProject", "remarks": "

This is a remarks section. Very important remarks about Value go here.

\n", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

This is a regular enum value.

\n", "platform": null, @@ -302,8 +302,8 @@ }, "id": "OldAndUnusedValue", "path": "dotnet/project/Project/Class1.cs", - "startLine": 181.0, - "endLine": 0.0 + "startLine": 181, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -311,7 +311,7 @@ "namespace": "BuildFromProject", "remarks": "

Don't use this, seriously! Use Value instead.

\n", "example": [], - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.ObsoleteAttribute", @@ -444,8 +444,8 @@ }, "id": "OldAndUnusedValue2", "path": "dotnet/project/Project/Class1.cs", - "startLine": 190.0, - "endLine": 0.0 + "startLine": 190, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -453,7 +453,7 @@ "namespace": "BuildFromProject", "remarks": "

Don't use this, seriously! Use Value instead.

\n", "example": [], - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.ObsoleteAttribute", @@ -525,8 +525,8 @@ }, "id": "Issue9260", "path": "dotnet/project/Project/Class1.cs", - "startLine": 165.0, - "endLine": 0.0 + "startLine": 165, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -576,7 +576,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -590,7 +590,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json index 0b88184fc68..b89ae5d388c 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "Test", "path": "dotnet/project/Project/Class1.cs", - "startLine": 5.0, - "endLine": 0.0 + "startLine": 5, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -212,11 +212,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -265,7 +265,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -314,7 +314,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -363,7 +363,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -412,7 +412,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -461,7 +461,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -510,7 +510,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -559,7 +559,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json index 1cfe6667fae..617b1ddd964 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "Issue1651", "path": "dotnet/project/Project/Class1.cs", - "startLine": 32.0, - "endLine": 0.0 + "startLine": 32, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -173,7 +173,7 @@ ], "id": "BuildFromProject_Class1_Issue1651_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Pricing models are used to calculate theoretical option values

\n
  • 1Black Scholes
  • 2Black76
  • 3Black76Fut
  • 4Equity Tree
  • 5Variance Swap
  • 6Dividend Forecast
\n", "platform": null, @@ -254,8 +254,8 @@ }, "id": "Issue1887", "path": "dotnet/project/Project/Class1.cs", - "startLine": 151.0, - "endLine": 0.0 + "startLine": 151, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -306,7 +306,7 @@ ], "id": "BuildFromProject_Class1_Issue1887_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

IConfiguration related helper and extension routines.

\n", "platform": null, @@ -387,8 +387,8 @@ }, "id": "Issue2623", "path": "dotnet/project/Project/Class1.cs", - "startLine": 77.0, - "endLine": 0.0 + "startLine": 77, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -442,7 +442,7 @@ ], "id": "BuildFromProject_Class1_Issue2623_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -522,8 +522,8 @@ }, "id": "Issue2723", "path": "dotnet/project/Project/Class1.cs", - "startLine": 96.0, - "endLine": 0.0 + "startLine": 96, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -575,7 +575,7 @@ ], "id": "BuildFromProject_Class1_Issue2723_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -655,8 +655,8 @@ }, "id": "Issue4017", "path": "dotnet/project/Project/Class1.cs", - "startLine": 55.0, - "endLine": 0.0 + "startLine": 55, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -710,7 +710,7 @@ ], "id": "BuildFromProject_Class1_Issue4017_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -790,8 +790,8 @@ }, "id": "Issue4392", "path": "dotnet/project/Project/Class1.cs", - "startLine": 101.0, - "endLine": 0.0 + "startLine": 101, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -843,7 +843,7 @@ ], "id": "BuildFromProject_Class1_Issue4392_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -923,8 +923,8 @@ }, "id": "Issue7484", "path": "dotnet/project/Project/Class1.cs", - "startLine": 42.0, - "endLine": 0.0 + "startLine": 42, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -976,7 +976,7 @@ ], "id": "BuildFromProject_Class1_Issue7484_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1062,8 +1062,8 @@ }, "id": "Issue8764", "path": "dotnet/project/Project/Class1.cs", - "startLine": 103.0, - "endLine": 0.0 + "startLine": 103, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1113,7 +1113,7 @@ ], "id": "BuildFromProject_Class1_Issue8764_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -1195,8 +1195,8 @@ }, "id": "Issue896", "path": "dotnet/project/Project/Class1.cs", - "startLine": 19.0, - "endLine": 0.0 + "startLine": 19, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1343,7 +1343,7 @@ "isCref": true } ], - "level": 0.0, + "level": 0, "type": "method", "summary": "

Test

\n", "platform": null, @@ -1468,8 +1468,8 @@ }, "id": "Issue9216", "path": "dotnet/project/Project/Class1.cs", - "startLine": 163.0, - "endLine": 0.0 + "startLine": 163, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1520,7 +1520,7 @@ ], "id": "BuildFromProject_Class1_Issue9216_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Calculates the determinant of a 3-dimensional matrix:

\n

\\(A = \\begin{vmatrix} a_{11} & a_{12} & a_{13} \\\\ a_{21} & a_{22} & a_{23} \\\\ a_{31} & a_{32} & a_{33} \\end{vmatrix}\\)

\n

Returns the smallest value:

\n

\\(\\left\\{\\begin{matrix}a, a<b \\\\ b, b>a\\\\ \\end{matrix} \\right.\\)

\n", "platform": null, @@ -1601,8 +1601,8 @@ }, "id": "XmlCommentIncludeTag", "path": "dotnet/project/Project/Class1.cs", - "startLine": 11.0, - "endLine": 0.0 + "startLine": 11, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1654,7 +1654,7 @@ ], "id": "BuildFromProject_Class1_XmlCommentIncludeTag_" }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "BuildFromProject.IClass1.XmlCommentIncludeTag", @@ -1758,8 +1758,8 @@ }, "id": "Class1", "path": "dotnet/project/Project/Class1.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -1809,7 +1809,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -1871,11 +1871,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "implements": [ { "uid": "BuildFromProject.IClass1", @@ -1969,7 +1969,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -2018,7 +2018,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -2067,7 +2067,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -2116,7 +2116,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -2165,7 +2165,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -2214,7 +2214,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -2263,7 +2263,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json index adbb442528a..ea4123c2930 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -217,8 +217,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Class1.cs", - "startLine": 237.0, - "endLine": 0.0 + "startLine": 237, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -269,7 +269,7 @@ ], "id": "BuildFromProject_Dog__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "

Constructor.

\n", "platform": null, @@ -404,8 +404,8 @@ }, "id": "Age", "path": "dotnet/project/Project/Class1.cs", - "startLine": 230.0, - "endLine": 0.0 + "startLine": 230, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -456,7 +456,7 @@ ], "id": "BuildFromProject_Dog_Age_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

Age of the dog.

\n", "platform": null, @@ -584,8 +584,8 @@ }, "id": "Name", "path": "dotnet/project/Project/Class1.cs", - "startLine": 225.0, - "endLine": 0.0 + "startLine": 225, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -636,7 +636,7 @@ ], "id": "BuildFromProject_Dog_Name_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

Name of the dog.

\n", "platform": null, @@ -697,8 +697,8 @@ }, "id": "Dog", "path": "dotnet/project/Project/Class1.cs", - "startLine": 220.0, - "endLine": 0.0 + "startLine": 220, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -748,7 +748,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Class representing a dog.

\n", "example": [], @@ -812,11 +812,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -865,7 +865,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -914,7 +914,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -963,7 +963,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1012,7 +1012,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1061,7 +1061,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1110,7 +1110,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1159,7 +1159,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json index 077f7eb4387..2204fa88ed4 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "Issue7629", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 7.0, - "endLine": 0.0 + "startLine": 7, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -173,7 +173,7 @@ ], "id": "BuildFromProject_IInheritdoc_Issue7629_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

This method should do something...

\n", "platform": null, @@ -234,8 +234,8 @@ }, "id": "IInheritdoc", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -285,7 +285,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -299,7 +299,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json index b8406fd280b..0eb2e933bbd 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -265,8 +265,8 @@ }, "id": "TestMethod1", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 101.0, - "endLine": 0.0 + "startLine": 101, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -317,7 +317,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue6366_Class1_1_TestMethod1_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

This text inherited.

\n", "platform": null, @@ -378,8 +378,8 @@ }, "id": "Class1", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 93.0, - "endLine": 0.0 + "startLine": 93, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -429,7 +429,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -497,8 +497,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], "derivedClasses": [ @@ -515,11 +515,11 @@ "value": "" } ], - "level": 0.0, - "index": 2.0 + "level": 0, + "index": 2 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -568,7 +568,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -617,7 +617,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -666,7 +666,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -715,7 +715,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -764,7 +764,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -813,7 +813,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -862,7 +862,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json index a0e244c9522..d499557fb30 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -263,8 +263,8 @@ }, "id": "TestMethod1", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 107.0, - "endLine": 0.0 + "startLine": 107, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -359,7 +359,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue6366_Class2_TestMethod1_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

This text inherited.

\n", "platform": null, @@ -420,8 +420,8 @@ }, "id": "Class2", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 104.0, - "endLine": 0.0 + "startLine": 104, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -471,7 +471,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -533,8 +533,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "BuildFromProject.Inheritdoc.Issue6366.Class1{System.Boolean}", @@ -583,11 +583,11 @@ "value": "Inheritdoc.Issue6366.Class1(Of Boolean)" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -636,7 +636,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -685,7 +685,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -734,7 +734,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -783,7 +783,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -832,7 +832,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -881,7 +881,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -930,7 +930,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json index d7cdb5acc8e..5ae1b120924 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "Issue6366", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 91.0, - "endLine": 0.0 + "startLine": 91, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json index ff637cd9194..bf2647e64c5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "A", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 85.0, - "endLine": 0.0 + "startLine": 85, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -173,7 +173,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7035_A_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -254,8 +254,8 @@ }, "id": "B", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 88.0, - "endLine": 0.0 + "startLine": 88, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -306,7 +306,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7035_B_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -367,8 +367,8 @@ }, "id": "Issue7035", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 82.0, - "endLine": 0.0 + "startLine": 82, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -418,7 +418,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -480,11 +480,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -533,7 +533,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -582,7 +582,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -631,7 +631,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -680,7 +680,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -729,7 +729,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -778,7 +778,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -827,7 +827,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json index 38204442c1a..8a2b554a78f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 63.0, - "endLine": 0.0 + "startLine": 63, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -173,7 +173,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7484__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "

This is a constructor to document.

\n", "platform": null, @@ -308,8 +308,8 @@ }, "id": "DoDad", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 68.0, - "endLine": 0.0 + "startLine": 68, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -360,7 +360,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7484_DoDad_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

A string that could have something.

\n", "platform": null, @@ -543,8 +543,8 @@ }, "id": "BoolReturningMethod", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 79.0, - "endLine": 0.0 + "startLine": 79, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -596,7 +596,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7484_BoolReturningMethod_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Simple method to generate docs for.

\n", "platform": null, @@ -656,8 +656,8 @@ }, "id": "Issue7484", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 58.0, - "endLine": 0.0 + "startLine": 58, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -707,7 +707,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

This is a test class to have something for DocFX to document.

\n", "remarks": "

We're going to talk about things now.

\n
\nSimple method to generate docs for.\n
\nA string that could have something.\n
\n", @@ -772,11 +772,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -825,7 +825,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -874,7 +874,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -923,7 +923,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -972,7 +972,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1021,7 +1021,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1070,7 +1070,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1119,7 +1119,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json index 330d2aab6bc..e52ec25d755 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -358,8 +358,8 @@ }, "id": "Tween", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 32.0, - "endLine": 0.0 + "startLine": 32, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -410,7 +410,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue8101_Tween_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Create a new tween.

\n", "platform": null, @@ -728,8 +728,8 @@ }, "id": "Tween", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 29.0, - "endLine": 0.0 + "startLine": 29, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -780,7 +780,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue8101_Tween_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Create a new tween.

\n", "platform": null, @@ -841,8 +841,8 @@ }, "id": "Issue8101", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 19.0, - "endLine": 0.0 + "startLine": 19, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -892,7 +892,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -954,11 +954,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -1007,7 +1007,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1056,7 +1056,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1105,7 +1105,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1154,7 +1154,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1203,7 +1203,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1252,7 +1252,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1301,7 +1301,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json index b8669808a3c..61bd737956a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -169,8 +169,8 @@ }, "id": ".ctor", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 38.0, - "endLine": 0.0 + "startLine": 38, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -221,7 +221,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue8129__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "", "platform": null, @@ -282,8 +282,8 @@ }, "id": "Issue8129", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 35.0, - "endLine": 0.0 + "startLine": 35, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -333,7 +333,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -347,7 +347,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -396,7 +396,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -445,7 +445,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -494,7 +494,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -543,7 +543,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -592,7 +592,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -641,7 +641,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json index dd0f0fc2033..48320e04658 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "Dispose", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 12.0, - "endLine": 0.0 + "startLine": 12, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -173,7 +173,7 @@ ], "id": "BuildFromProject_Inheritdoc_Dispose_" }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "System.IDisposable.Dispose", @@ -298,8 +298,8 @@ }, "id": "Issue7628", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -350,7 +350,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7628_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

This method should do something...

\n", "platform": null, @@ -431,8 +431,8 @@ }, "id": "Issue7629", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 14.0, - "endLine": 0.0 + "startLine": 14, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -483,7 +483,7 @@ ], "id": "BuildFromProject_Inheritdoc_Issue7629_" }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "BuildFromProject.IInheritdoc.Issue7629", @@ -588,8 +588,8 @@ }, "id": "Inheritdoc", "path": "dotnet/project/Project/Inheritdoc.cs", - "startLine": 10.0, - "endLine": 0.0 + "startLine": 10, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -639,7 +639,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -701,11 +701,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "implements": [ { "uid": "BuildFromProject.IInheritdoc", @@ -842,7 +842,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -891,7 +891,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -940,7 +940,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -989,7 +989,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1038,7 +1038,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1087,7 +1087,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1136,7 +1136,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json index 3e90e1be86a..d64695236c0 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json @@ -47,7 +47,7 @@ "value": "BuildFromProject.Issue8540.A" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "A", "path": "dotnet/project/Project/Namespace.cs", - "startLine": 2.0, - "endLine": 0.0 + "startLine": 2, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -144,7 +144,7 @@ "value": "BuildFromProject.Issue8540.A" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json index e346eb1fdb1..452b14f9da8 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json @@ -15,7 +15,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -67,7 +67,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -126,7 +126,7 @@ "assemblies": [ "BuildFromProject" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json index 0f4a61cd40d..85d18dba219 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json @@ -47,7 +47,7 @@ "value": "BuildFromProject.Issue8540.B" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "B", "path": "dotnet/project/Project/Namespace.cs", - "startLine": 7.0, - "endLine": 0.0 + "startLine": 7, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -144,7 +144,7 @@ "value": "BuildFromProject.Issue8540.B" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json index ef7bb78d3b7..09616ee2573 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json @@ -15,7 +15,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -67,7 +67,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -126,7 +126,7 @@ "assemblies": [ "BuildFromProject" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json index c15a99d2654..5f5dfdf07cf 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json @@ -15,7 +15,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -67,7 +67,7 @@ "value": "BuildFromProject.Issue8540.A" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "namespace", "platform": null, @@ -129,7 +129,7 @@ "value": "BuildFromProject.Issue8540.B" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "namespace", "platform": null, @@ -165,7 +165,7 @@ } ], "type": "namespace", - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json index f868a813549..cd0c8bf70de 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": "MoreOperations", "path": "dotnet/project/Project/Class1.cs", - "startLine": 214.0, - "endLine": 0.0 + "startLine": 214, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -173,7 +173,7 @@ ], "id": "BuildFromProject_Issue8725_MoreOperations_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Another nice operation

\n", "platform": null, @@ -254,8 +254,8 @@ }, "id": "MyOperation", "path": "dotnet/project/Project/Class1.cs", - "startLine": 211.0, - "endLine": 0.0 + "startLine": 211, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -306,7 +306,7 @@ ], "id": "BuildFromProject_Issue8725_MyOperation_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

A nice operation

\n", "platform": null, @@ -367,8 +367,8 @@ }, "id": "Issue8725", "path": "dotnet/project/Project/Class1.cs", - "startLine": 208.0, - "endLine": 0.0 + "startLine": 208, + "endLine": 0 }, "assemblies": [ "BuildFromProject" @@ -418,7 +418,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

A nice class

\n", "example": [], @@ -531,11 +531,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -584,7 +584,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -633,7 +633,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -682,7 +682,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -731,7 +731,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -780,7 +780,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -829,7 +829,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -878,7 +878,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json index c6c39d60214..329625210cb 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json @@ -22,7 +22,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "namespace", "platform": null, @@ -91,7 +91,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -153,7 +153,7 @@ "value": "Class1.Issue8665" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -216,7 +216,7 @@ "value": "Class1.Issue8696Attribute" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -278,7 +278,7 @@ "value": "Class1.Issue8948" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -340,7 +340,7 @@ "value": "Class1.Test(Of T)" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -402,7 +402,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

Class representing a dog.

\n", "type": "class", "platform": null, @@ -464,7 +464,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -526,7 +526,7 @@ "value": "Inheritdoc.Issue6366" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -588,7 +588,7 @@ "value": "Inheritdoc.Issue6366.Class1(Of T)" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -650,7 +650,7 @@ "value": "Inheritdoc.Issue6366.Class2" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -712,7 +712,7 @@ "value": "Inheritdoc.Issue7035" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -774,7 +774,7 @@ "value": "Inheritdoc.Issue7484" } ], - "level": 0.0, + "level": 0, "summary": "

This is a test class to have something for DocFX to document.

\n", "type": "class", "platform": null, @@ -836,7 +836,7 @@ "value": "Inheritdoc.Issue8101" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -898,7 +898,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

A nice class

\n", "type": "class", "platform": null, @@ -967,7 +967,7 @@ "value": "Inheritdoc.Issue8129" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "struct", "platform": null, @@ -1037,7 +1037,7 @@ "value": "Class1.IIssue8948" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -1100,7 +1100,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -1170,7 +1170,7 @@ "value": "Class1.Issue9260" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "enum", "platform": null, @@ -1229,7 +1229,7 @@ "assemblies": [ "BuildFromProject" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json index b7b7875a81d..4e8f6256346 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -214,8 +214,8 @@ }, "id": "WithDeclarationKeyword", "path": "dotnet/vb/Class1.vb", - "startLine": 45.0, - "endLine": 0.0 + "startLine": 45, + "endLine": 0 }, "namespace": "BuildFromVBSourceCode", "overload": { @@ -262,7 +262,7 @@ ], "id": "BuildFromVBSourceCode_BaseClass1_WithDeclarationKeyword_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -324,8 +324,8 @@ }, "id": "BaseClass1", "path": "dotnet/vb/Class1.vb", - "startLine": 44.0, - "endLine": 0.0 + "startLine": 44, + "endLine": 0 }, "namespace": { "uid": "BuildFromVBSourceCode", @@ -372,7 +372,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

This is the BaseClass

\n", "example": [], @@ -436,8 +436,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], "derivedClasses": [ @@ -487,11 +487,11 @@ "value": "" } ], - "level": 0.0, - "index": 2.0 + "level": 0, + "index": 2 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -540,7 +540,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -589,7 +589,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Finalize", @@ -638,7 +638,7 @@ "value": "Finalize()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -687,7 +687,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -736,7 +736,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -785,7 +785,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -834,7 +834,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -883,7 +883,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json index c5457d78f3c..e3ad0bbc116 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,12 +167,12 @@ }, "id": "ValueClass", "path": "dotnet/vb/Class1.vb", - "startLine": 13.0, - "endLine": 0.0 + "startLine": 13, + "endLine": 0 }, "namespace": "BuildFromVBSourceCode", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

This is a Value type

\n", "platform": null, @@ -307,8 +307,8 @@ }, "id": "Keyword", "path": "dotnet/vb/Class1.vb", - "startLine": 15.0, - "endLine": 0.0 + "startLine": 15, + "endLine": 0 }, "namespace": "BuildFromVBSourceCode", "overload": { @@ -355,7 +355,7 @@ ], "id": "BuildFromVBSourceCode_Class1_Keyword_" }, - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.ObsoleteAttribute", @@ -555,8 +555,8 @@ }, "id": "Value", "path": "dotnet/vb/Class1.vb", - "startLine": 36.0, - "endLine": 0.0 + "startLine": 36, + "endLine": 0 }, "namespace": "BuildFromVBSourceCode", "example": [], @@ -604,7 +604,7 @@ ], "id": "BuildFromVBSourceCode_Class1_Value_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

This is a Function

\n", "platform": null, @@ -778,8 +778,8 @@ }, "id": "WithDeclarationKeyword", "path": "dotnet/vb/Class1.vb", - "startLine": 25.0, - "endLine": 0.0 + "startLine": 25, + "endLine": 0 }, "namespace": "BuildFromVBSourceCode", "example": [], @@ -870,7 +870,7 @@ ], "id": "BuildFromVBSourceCode_Class1_WithDeclarationKeyword_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

What is Sub?

\n", "platform": null, @@ -931,8 +931,8 @@ }, "id": "Class1", "path": "dotnet/vb/Class1.vb", - "startLine": 5.0, - "endLine": 0.0 + "startLine": 5, + "endLine": 0 }, "namespace": { "uid": "BuildFromVBSourceCode", @@ -979,7 +979,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

This is summary from vb class...

\n", "example": [], @@ -1043,8 +1043,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "BuildFromVBSourceCode.BaseClass1", @@ -1092,11 +1092,11 @@ "value": "" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -1145,7 +1145,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1194,7 +1194,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Finalize", @@ -1243,7 +1243,7 @@ "value": "Finalize()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1292,7 +1292,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1341,7 +1341,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1390,7 +1390,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1439,7 +1439,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1488,7 +1488,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json index f6bb64c3d8d..4d46cdd9dfb 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json @@ -53,7 +53,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

This is the BaseClass

\n", "type": "class", "platform": null, @@ -116,7 +116,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

This is summary from vb class...

\n", "type": "class", "platform": null, @@ -172,7 +172,7 @@ } ], "type": "namespace", - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json index e302d5efb86..78923097e58 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -121,8 +121,8 @@ }, "id": ".ctor", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 124.0, - "endLine": 0.0 + "startLine": 124, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -173,7 +173,7 @@ ], "id": "CatLibrary_Cat_2__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "

Default constructor.

\n", "platform": null, @@ -444,8 +444,8 @@ }, "id": ".ctor", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 139.0, - "endLine": 0.0 + "startLine": 139, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -496,7 +496,7 @@ ], "id": "CatLibrary_Cat_2__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "

It's a complex constructor. The parameter will have some attributes.

\n", "platform": null, @@ -627,8 +627,8 @@ }, "id": ".ctor", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 130.0, - "endLine": 0.0 + "startLine": 130, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -679,7 +679,7 @@ ], "id": "CatLibrary_Cat_2__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "

Constructor with one generic parameter.

\n", "platform": null, @@ -813,15 +813,15 @@ }, "id": "isHealthy", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 236.0, - "endLine": 0.0 + "startLine": 236, + "endLine": 0 }, "assemblies": [ "CatLibrary" ], "namespace": "CatLibrary", "example": [], - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.ContextStaticAttribute", @@ -973,8 +973,8 @@ }, "id": "Age", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 215.0, - "endLine": 0.0 + "startLine": 215, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -1025,7 +1025,7 @@ ], "id": "CatLibrary_Cat_2_Age_" }, - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.ObsoleteAttribute", @@ -1209,8 +1209,8 @@ }, "id": "this[]", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 206.0, - "endLine": 0.0 + "startLine": 206, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -1261,7 +1261,7 @@ ], "id": "CatLibrary_Cat_2_Item_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

This is index property of Cat. You can see that the visibility is different between get and set method.

\n", "platform": null, @@ -1389,8 +1389,8 @@ }, "id": "Name", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 260.0, - "endLine": 0.0 + "startLine": 260, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -1441,7 +1441,7 @@ ], "id": "CatLibrary_Cat_2_Name_" }, - "level": 0.0, + "level": 0, "implements": [ { "uid": "CatLibrary.IAnimal.Name", @@ -1669,8 +1669,8 @@ }, "id": "CalculateFood", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 147.0, - "endLine": 0.0 + "startLine": 147, + "endLine": 0 }, "documentation": { "remote": { @@ -1679,8 +1679,8 @@ "repo": "https://github.com/dotnet/docfx" }, "path": "specs/Cat.CalculateFood.md", - "startLine": 1.0, - "endLine": 15.0 + "startLine": 1, + "endLine": 15 }, "assemblies": [ "CatLibrary" @@ -1779,7 +1779,7 @@ "description": "

This is an overridden argument exception. you can add additional exception by adding different exception type.

\n" } ], - "level": 0.0, + "level": 0, "conceptual": "\n

This is overriding methods. You can override parameter descriptions for methods, you can even add exceptions to methods. Check the intermediate obj folder to see the data model of the generated method/class. Override Yaml header should follow the data structure.

\n", "type": "method", "summary": "

It's an overridden summary in markdown format

\n", @@ -1955,8 +1955,8 @@ }, "id": "Equals", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 167.0, - "endLine": 0.0 + "startLine": 167, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -2050,7 +2050,7 @@ ], "id": "CatLibrary_Cat_2_Equals_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Override the method of Object.Equals(object obj).

\n", "platform": null, @@ -2273,8 +2273,8 @@ }, "id": "GetTailLength", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 176.0, - "endLine": 0.0 + "startLine": 176, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -2325,7 +2325,7 @@ ], "id": "CatLibrary_Cat_2_GetTailLength_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

It's an unsafe method.\nAs you see, catName is a pointer, so we need to add unsafe keyword.

\n", "platform": null, @@ -2551,8 +2551,8 @@ }, "id": "Jump", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 156.0, - "endLine": 0.0 + "startLine": 156, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -2651,7 +2651,7 @@ "description": "

This is an argument exception

\n" } ], - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.Diagnostics.ConditionalAttribute", @@ -2797,15 +2797,15 @@ }, "id": "ownEat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 227.0, - "endLine": 0.0 + "startLine": 227, + "endLine": 0 }, "assemblies": [ "CatLibrary" ], "namespace": "CatLibrary", "example": [], - "level": 0.0, + "level": 0, "attributes": [ { "type": "System.ObsoleteAttribute", @@ -3047,8 +3047,8 @@ }, "id": "op_Addition", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 185.0, - "endLine": 0.0 + "startLine": 185, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -3095,7 +3095,7 @@ ], "id": "CatLibrary_Cat_2_op_Addition_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "

Addition operator of this class.

\n", "platform": null, @@ -3271,8 +3271,8 @@ }, "id": "op_Explicit", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 198.0, - "endLine": 0.0 + "startLine": 198, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -3319,7 +3319,7 @@ ], "id": "CatLibrary_Cat_2_op_Explicit_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "

Expilicit operator of this class.

\n

It means this cat can evolve to change to Tom. Tom and Jerry.

\n", "platform": null, @@ -3539,8 +3539,8 @@ }, "id": "op_Subtraction", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 190.0, - "endLine": 0.0 + "startLine": 190, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -3587,7 +3587,7 @@ ], "id": "CatLibrary_Cat_2_op_Subtraction_" }, - "level": 0.0, + "level": 0, "type": "operator", "summary": "

Similar with operaotr +, refer to that topic.

\n", "platform": null, @@ -3648,8 +3648,8 @@ }, "id": "Cat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 114.0, - "endLine": 0.0 + "startLine": 114, + "endLine": 0 }, "documentation": { "remote": { @@ -3658,8 +3658,8 @@ "repo": "https://github.com/dotnet/docfx" }, "path": "specs/Cat.md", - "startLine": 1.0, - "endLine": 4.0 + "startLine": 1, + "endLine": 4 }, "assemblies": [ "CatLibrary" @@ -3709,7 +3709,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Here's main class of this Demo.

\n

You can see mostly type of article within this class and you for more detail, please see the remarks.

\n

\n

this class is a template class. It has two Generic parameter. they are: T and K.

\n

The extension method of this class can refer to class

\n", "remarks": "

THIS is remarks overridden in MARKDWON file

\n", @@ -3786,11 +3786,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "implements": [ { "uid": "CatLibrary.ICat", @@ -3927,7 +3927,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -3976,7 +3976,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -4025,7 +4025,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -4074,7 +4074,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -4123,7 +4123,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -4172,7 +4172,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "extensionMethods": [ @@ -4223,7 +4223,7 @@ "value": "Play(ICat, ColorType)" } ], - "level": 0.0 + "level": 0 }, { "uid": "CatLibrary.ICat.CatLibrary.ICatExtension.Sleep(System.Int64)", @@ -4272,7 +4272,7 @@ "value": "Sleep(ICat, Long)" } ], - "level": 0.0 + "level": 0 } ], "conceptual": "\n

This is a class talking about CAT.

\n
\n

NOTE\nThis is a CAT class

\n
\n

Refer to to see other animals.

\n", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json index 23052f25a53..a8880b6b1ce 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "CatException", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 322.0, - "endLine": 0.0 + "startLine": 322, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -212,8 +212,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "System.Exception", @@ -262,11 +262,11 @@ "value": "" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "implements": [ { "uid": "System.Runtime.Serialization.ISerializable", @@ -360,56 +360,7 @@ "value": "GetBaseException()" } ], - "level": 0.0 - }, - { - "uid": "System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)", - "isEii": false, - "isExtensionMethod": false, - "parent": "System.Exception", - "isExternal": true, - "href": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata", - "name": [ - { - "lang": "csharp", - "value": "GetObjectData(SerializationInfo, StreamingContext)" - }, - { - "lang": "vb", - "value": "GetObjectData(SerializationInfo, StreamingContext)" - } - ], - "nameWithType": [ - { - "lang": "csharp", - "value": "Exception.GetObjectData(SerializationInfo, StreamingContext)" - }, - { - "lang": "vb", - "value": "Exception.GetObjectData(SerializationInfo, StreamingContext)" - } - ], - "fullName": [ - { - "lang": "csharp", - "value": "System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" - }, - { - "lang": "vb", - "value": "System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" - } - ], - "specName": [ - { - "lang": "csharp", - "value": "GetObjectData(SerializationInfo, StreamingContext)" - }, - { - "lang": "vb", - "value": "GetObjectData(SerializationInfo, StreamingContext)" - } - ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.GetType", @@ -458,7 +409,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.ToString", @@ -507,7 +458,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.Data", @@ -556,7 +507,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.HelpLink", @@ -605,7 +556,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.HResult", @@ -654,7 +605,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.InnerException", @@ -703,7 +654,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.Message", @@ -752,7 +703,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.Source", @@ -801,7 +752,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.StackTrace", @@ -850,7 +801,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.TargetSite", @@ -899,7 +850,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Exception.SerializeObjectState", @@ -948,7 +899,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object)", @@ -997,7 +948,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1046,7 +997,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -1095,7 +1046,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -1144,7 +1095,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1193,7 +1144,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json index 3dd47f43ed2..7abc4283fb8 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "Complex", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 280.0, - "endLine": 0.0 + "startLine": 280, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -216,11 +216,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -269,7 +269,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -318,7 +318,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -367,7 +367,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -416,7 +416,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -465,7 +465,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -514,7 +514,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -563,7 +563,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json index 8dc4df68705..44ccca08d63 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,15 +167,15 @@ }, "id": "Red", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 28.0, - "endLine": 0.0 + "startLine": 28, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" ], "namespace": "CatLibrary.Core", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

red

\n", "platform": null, @@ -302,15 +302,15 @@ }, "id": "Blue", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 32.0, - "endLine": 0.0 + "startLine": 32, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" ], "namespace": "CatLibrary.Core", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

blue

\n", "platform": null, @@ -437,15 +437,15 @@ }, "id": "Yellow", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 36.0, - "endLine": 0.0 + "startLine": 36, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" ], "namespace": "CatLibrary.Core", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

yellow

\n", "platform": null, @@ -506,8 +506,8 @@ }, "id": "ColorType", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 23.0, - "endLine": 0.0 + "startLine": 23, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -557,7 +557,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "summary": "

Enumeration ColorType

\n", "example": [], @@ -573,7 +573,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json index 452dbcd0bd9..67d3ff8b744 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "ContainersRefTypeChild", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 79.0, - "endLine": 0.0 + "startLine": 79, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -144,7 +144,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json index a4dd8ff2a29..546a8e77f77 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "ContainersRefTypeChildInterface", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 73.0, - "endLine": 0.0 + "startLine": 73, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -144,7 +144,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -158,7 +158,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json index 8df5effdd7a..c5032107a20 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "ContainersRefTypeDelegate", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 43.0, - "endLine": 0.0 + "startLine": 43, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -144,7 +144,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "summary": "

Delegate ContainersRefTypeDelegate

\n", "example": [], @@ -160,7 +160,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.html.view.verified.json index 91457d15c12..c45cc553ba3 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ContainersRefType.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,15 +167,15 @@ }, "id": "ColorCount", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" ], "namespace": "CatLibrary.Core", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

ColorCount

\n", "platform": null, @@ -310,8 +310,8 @@ }, "id": "GetColorCount", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 49.0, - "endLine": 0.0 + "startLine": 49, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -362,7 +362,7 @@ ], "id": "CatLibrary_Core_ContainersRefType_GetColorCount_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

GetColorCount

\n", "platform": null, @@ -543,8 +543,8 @@ }, "id": "ContainersRefTypeNonRefMethod", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 67.0, - "endLine": 0.0 + "startLine": 67, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -595,7 +595,7 @@ ], "id": "CatLibrary_Core_ContainersRefType_ContainersRefTypeNonRefMethod_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

ContainersRefTypeNonRefMethod

\narray\n", "platform": null, @@ -729,14 +729,14 @@ }, "id": "ContainersRefTypeEventHandler", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 85.0, - "endLine": 0.0 + "startLine": 85, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" ], "namespace": "CatLibrary.Core", - "level": 0.0, + "level": 0, "type": "event", "summary": "", "platform": null, @@ -798,8 +798,8 @@ }, "id": "ContainersRefType", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 11.0, - "endLine": 0.0 + "startLine": 11, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -849,7 +849,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "summary": "

Struct ContainersRefType

\n", "example": [], @@ -865,7 +865,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "System.ValueType.Equals(System.Object)", @@ -914,7 +914,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.GetHashCode", @@ -963,7 +963,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.ValueType.ToString", @@ -1012,7 +1012,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -1061,7 +1061,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -1110,7 +1110,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -1159,7 +1159,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 } ], "extensionMethods": [ @@ -1210,7 +1210,7 @@ "value": "Bar(ContainersRefType)" } ], - "level": 0.0 + "level": 0 }, { "uid": "CatLibrary.Core.ContainersRefType.CatLibrary.Core.Issue231.Foo", @@ -1259,7 +1259,7 @@ "value": "Foo(ContainersRefType)" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json index 05a073a143b..56aa76214a4 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "ExplicitLayoutClass", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 93.0, - "endLine": 0.0 + "startLine": 93, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -144,7 +144,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -206,11 +206,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -259,7 +259,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -308,7 +308,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -357,7 +357,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -406,7 +406,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -455,7 +455,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -504,7 +504,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -553,7 +553,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.Issue231.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.Issue231.html.view.verified.json index 3c9ed26d600..360284f2b4a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.Issue231.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.Issue231.html.view.verified.json @@ -47,7 +47,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -169,8 +169,8 @@ }, "id": "Bar", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 426.0, - "endLine": 0.0 + "startLine": 426, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -220,7 +220,7 @@ ], "id": "CatLibrary_Core_Issue231_Bar_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -350,8 +350,8 @@ }, "id": "Foo", "path": "dotnet/solution/CatLibrary.Core/BaseClass.cs", - "startLine": 104.0, - "endLine": 0.0 + "startLine": 104, + "endLine": 0 }, "assemblies": [ "CatLibrary.Core" @@ -401,7 +401,7 @@ ], "id": "CatLibrary_Core_Issue231_Foo_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "", "platform": null, @@ -463,8 +463,8 @@ }, "id": "Issue231", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 424.0, - "endLine": 0.0 + "startLine": 424, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -514,7 +514,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0 + "level": 0 }, "syntax": { "content": [ @@ -576,11 +576,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -629,7 +629,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -678,7 +678,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -727,7 +727,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -776,7 +776,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -825,7 +825,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -874,7 +874,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -923,7 +923,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.html.view.verified.json index 1e64af35e25..1628a8f74bc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Core.html.view.verified.json @@ -15,7 +15,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -67,7 +67,7 @@ "value": "ContainersRefType.ContainersRefTypeChild" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -129,7 +129,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -192,7 +192,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -262,7 +262,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

Struct ContainersRefType

\n", "type": "struct", "platform": null, @@ -331,7 +331,7 @@ "value": "ContainersRefType.ContainersRefTypeChildInterface" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "interface", "platform": null, @@ -401,7 +401,7 @@ "value": "ContainersRefType.ColorType" } ], - "level": 0.0, + "level": 0, "summary": "

Enumeration ColorType

\n", "type": "enum", "platform": null, @@ -470,7 +470,7 @@ "value": "ContainersRefType.ContainersRefTypeDelegate" } ], - "level": 0.0, + "level": 0, "summary": "

Delegate ContainersRefTypeDelegate

\n", "type": "delegate", "platform": null, @@ -529,7 +529,7 @@ "assemblies": [ "CatLibrary" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.FakeDelegate-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.FakeDelegate-1.html.view.verified.json index 68176419022..4ea45d719f5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.FakeDelegate-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.FakeDelegate-1.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "FakeDelegate", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 379.0, - "endLine": 0.0 + "startLine": 379, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Fake delegate

\n", "example": [], @@ -355,7 +355,7 @@ "description": "

Return a fake number to confuse you.

\n" } }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.IAnimal.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.IAnimal.html.view.verified.json index 54e831e18de..3d76c107a9a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.IAnimal.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.IAnimal.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -217,8 +217,8 @@ }, "id": "this[]", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 30.0, - "endLine": 0.0 + "startLine": 30, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -269,7 +269,7 @@ ], "id": "CatLibrary_IAnimal_Item_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

Return specific number animal's name.

\n", "platform": null, @@ -397,8 +397,8 @@ }, "id": "Name", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 23.0, - "endLine": 0.0 + "startLine": 23, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -449,7 +449,7 @@ ], "id": "CatLibrary_IAnimal_Name_" }, - "level": 0.0, + "level": 0, "type": "property", "summary": "

Name of Animal.

\n", "platform": null, @@ -537,8 +537,8 @@ }, "id": "Eat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 35.0, - "endLine": 0.0 + "startLine": 35, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -589,7 +589,7 @@ ], "id": "CatLibrary_IAnimal_Eat_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Animal's eat method.

\n", "platform": null, @@ -719,8 +719,8 @@ }, "id": "Eat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 49.0, - "endLine": 0.0 + "startLine": 49, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -771,7 +771,7 @@ ], "id": "CatLibrary_IAnimal_Eat_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Feed the animal with some food

\n", "platform": null, @@ -908,8 +908,8 @@ }, "id": "Eat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 42.0, - "endLine": 0.0 + "startLine": 42, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -960,7 +960,7 @@ ], "id": "CatLibrary_IAnimal_Eat_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Overload method of eat. This define the animal eat by which tool.

\n", "platform": null, @@ -1021,8 +1021,8 @@ }, "id": "IAnimal", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 17.0, - "endLine": 0.0 + "startLine": 17, + "endLine": 0 }, "documentation": { "remote": { @@ -1031,8 +1031,8 @@ "repo": "https://github.com/dotnet/docfx" }, "path": "specs/CatLibrary.IAnimal.md", - "startLine": 1.0, - "endLine": 4.0 + "startLine": 1, + "endLine": 4 }, "assemblies": [ "CatLibrary" @@ -1082,7 +1082,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

This is basic interface of all animal.

\n", "remarks": "

THIS is remarks overridden in MARKDWON file

\n", @@ -1099,7 +1099,7 @@ } ] }, - "level": 0.0, + "level": 0, "conceptual": "

Welcome to the Animal world!

\n", "_appName": "Seed", "_appTitle": "docfx seed website", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICat.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICat.html.view.verified.json index a58e987e2b1..be167bcca68 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICat.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICat.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,15 +167,15 @@ }, "id": "eat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 61.0, - "endLine": 0.0 + "startLine": 61, + "endLine": 0 }, "assemblies": [ "CatLibrary" ], "namespace": "CatLibrary", "example": [], - "level": 0.0, + "level": 0, "type": "event", "summary": "

eat event of cat. Every cat must implement this event.

\n", "platform": null, @@ -236,8 +236,8 @@ }, "id": "ICat", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 55.0, - "endLine": 0.0 + "startLine": 55, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -287,7 +287,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Cat's interface

\n", "example": [], @@ -303,7 +303,7 @@ } ] }, - "level": 0.0, + "level": 0, "inheritedMembers": [ { "uid": "CatLibrary.IAnimal.Name", @@ -350,7 +350,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

Name of Animal.

\n", "type": "property", "platform": null, @@ -402,7 +402,7 @@ "value": "this[](Integer)" } ], - "level": 0.0, + "level": 0, "summary": "

Return specific number animal's name.

\n", "type": "property", "platform": null, @@ -453,7 +453,7 @@ "value": "Eat()" } ], - "level": 0.0, + "level": 0, "summary": "

Animal's eat method.

\n", "type": "method", "platform": null, @@ -506,7 +506,7 @@ "value": "Eat(Of Tool)(Tool)" } ], - "level": 0.0 + "level": 0 }, { "uid": "CatLibrary.IAnimal.Eat(System.String)", @@ -554,7 +554,7 @@ "value": "Eat(String)" } ], - "level": 0.0, + "level": 0, "summary": "

Feed the animal with some food

\n", "type": "method", "platform": null, @@ -609,7 +609,7 @@ "value": "Play(ICat, ColorType)" } ], - "level": 0.0 + "level": 0 }, { "uid": "CatLibrary.ICat.CatLibrary.ICatExtension.Sleep(System.Int64)", @@ -658,7 +658,7 @@ "value": "Sleep(ICat, Long)" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICatExtension.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICatExtension.html.view.verified.json index 626f9b67e07..f750baa946d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICatExtension.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.ICatExtension.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -217,8 +217,8 @@ }, "id": "Play", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 346.0, - "endLine": 0.0 + "startLine": 346, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -269,7 +269,7 @@ ], "id": "CatLibrary_ICatExtension_Play_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Extension method to let cat play

\n", "platform": null, @@ -446,8 +446,8 @@ }, "id": "Sleep", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 339.0, - "endLine": 0.0 + "startLine": 339, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -498,7 +498,7 @@ ], "id": "CatLibrary_ICatExtension_Sleep_" }, - "level": 0.0, + "level": 0, "type": "method", "summary": "

Extension method hint that how long the cat can sleep.

\n", "platform": null, @@ -559,8 +559,8 @@ }, "id": "ICatExtension", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 332.0, - "endLine": 0.0 + "startLine": 332, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -610,7 +610,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

It's the class that contains ICat interface's extension method.

\n

This class must be public and static.

Also it shouldn't be a geneic class

\n", "example": [], @@ -674,11 +674,11 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -727,7 +727,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -776,7 +776,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -825,7 +825,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -874,7 +874,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -923,7 +923,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -972,7 +972,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -1021,7 +1021,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefDelegate-3.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefDelegate-3.html.view.verified.json index 520d9fa8bd9..dba0da91cc7 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefDelegate-3.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefDelegate-3.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "MRefDelegate", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 366.0, - "endLine": 0.0 + "startLine": 366, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Generic delegate with many constrains.

\n", "example": [], @@ -320,7 +320,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefNormalDelegate.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefNormalDelegate.html.view.verified.json index 2d30bb5caaa..b95bd914960 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefNormalDelegate.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.MRefNormalDelegate.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [], "langs": [ @@ -93,8 +93,8 @@ }, "id": "MRefNormalDelegate", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 355.0, - "endLine": 0.0 + "startLine": 355, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -144,7 +144,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Delegate in the namespace

\n", "example": [], @@ -257,7 +257,7 @@ } ] }, - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Tom.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Tom.html.view.verified.json index 590b3a0662f..84d0c7012bc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Tom.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Tom.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -266,8 +266,8 @@ }, "id": "TomMethod", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 299.0, - "endLine": 0.0 + "startLine": 299, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -458,7 +458,7 @@ "description": "

This is the exception in current documentation

\n" } ], - "level": 0.0, + "level": 0, "type": "method", "summary": "

This is a Tom Method with complex type as return

\n", "platform": null, @@ -519,8 +519,8 @@ }, "id": "Tom", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 288.0, - "endLine": 0.0 + "startLine": 288, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -570,7 +570,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

Tom class is only inherit from Object. Not any member inside itself.

\n", "example": [], @@ -634,8 +634,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 } ], "derivedClasses": [ @@ -652,11 +652,11 @@ "value": "" } ], - "level": 0.0, - "index": 2.0 + "level": 0, + "index": 2 } ], - "level": 1.0, + "level": 1, "inheritedMembers": [ { "uid": "System.Object.Equals(System.Object)", @@ -705,7 +705,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -754,7 +754,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -803,7 +803,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -852,7 +852,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -901,7 +901,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -950,7 +950,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -999,7 +999,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.TomFromBaseClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.TomFromBaseClass.html.view.verified.json index 449e34012f1..ce442068d8e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.TomFromBaseClass.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.TomFromBaseClass.html.view.verified.json @@ -47,7 +47,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -170,8 +170,8 @@ }, "id": ".ctor", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 315.0, - "endLine": 0.0 + "startLine": 315, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -222,7 +222,7 @@ ], "id": "CatLibrary_TomFromBaseClass__ctor_" }, - "level": 0.0, + "level": 0, "type": "constructor", "summary": "

This is a #ctor with parameter

\n", "platform": null, @@ -283,8 +283,8 @@ }, "id": "TomFromBaseClass", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 308.0, - "endLine": 0.0 + "startLine": 308, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -334,7 +334,7 @@ "value": "" } ], - "level": 0.0 + "level": 0 }, "summary": "

TomFromBaseClass inherits from @

\n", "example": [], @@ -398,8 +398,8 @@ "value": "" } ], - "level": 0.0, - "index": 0.0 + "level": 0, + "index": 0 }, { "uid": "CatLibrary.Tom", @@ -447,11 +447,11 @@ "value": "" } ], - "level": 0.0, - "index": 1.0 + "level": 0, + "index": 1 } ], - "level": 2.0, + "level": 2, "inheritedMembers": [ { "uid": "CatLibrary.Tom.TomMethod(CatLibrary.Complex{CatLibrary.TomFromBaseClass,CatLibrary.TomFromBaseClass},System.Tuple{System.String,CatLibrary.Tom})", @@ -499,7 +499,7 @@ "value": "TomMethod(Complex(Of TomFromBaseClass, TomFromBaseClass), Tuple(Of String, Tom))" } ], - "level": 0.0, + "level": 0, "summary": "

This is a Tom Method with complex type as return

\n", "type": "method", "platform": null, @@ -552,7 +552,7 @@ "value": "Equals(Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.Equals(System.Object,System.Object)", @@ -601,7 +601,7 @@ "value": "Equals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetHashCode", @@ -650,7 +650,7 @@ "value": "GetHashCode()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.GetType", @@ -699,7 +699,7 @@ "value": "GetType()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.MemberwiseClone", @@ -748,7 +748,7 @@ "value": "MemberwiseClone()" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", @@ -797,7 +797,7 @@ "value": "ReferenceEquals(Object, Object)" } ], - "level": 0.0 + "level": 0 }, { "uid": "System.Object.ToString", @@ -846,7 +846,7 @@ "value": "ToString()" } ], - "level": 0.0 + "level": 0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.html.view.verified.json index 9c9e275d16a..2c984888109 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.html.view.verified.json @@ -52,7 +52,7 @@ "value": "CatLibrary.Core" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "namespace", "platform": null, @@ -121,7 +121,7 @@ "value": "CatException(Of T)" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -184,7 +184,7 @@ "value": "Cat(Of T, K)" } ], - "level": 0.0, + "level": 0, "summary": "

Here's main class of this Demo.

\n

You can see mostly type of article within this class and you for more detail, please see the remarks.

\n

\n

this class is a template class. It has two Generic parameter. they are: T and K.

\n

The extension method of this class can refer to class

\n", "type": "class", "platform": null, @@ -246,7 +246,7 @@ "value": "Complex(Of T, J)" } ], - "level": 0.0, + "level": 0, "summary": "", "type": "class", "platform": null, @@ -309,7 +309,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

It's the class that contains ICat interface's extension method.

\n

This class must be public and static.

Also it shouldn't be a geneic class

\n", "type": "class", "platform": null, @@ -372,7 +372,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

Tom class is only inherit from Object. Not any member inside itself.

\n", "type": "class", "platform": null, @@ -434,7 +434,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

TomFromBaseClass inherits from @

\n", "type": "class", "platform": null, @@ -504,7 +504,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

This is basic interface of all animal.

\n", "type": "interface", "platform": null, @@ -567,7 +567,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

Cat's interface

\n", "type": "interface", "platform": null, @@ -636,7 +636,7 @@ "value": "FakeDelegate(Of T)" } ], - "level": 0.0, + "level": 0, "summary": "

Fake delegate

\n", "type": "delegate", "platform": null, @@ -698,7 +698,7 @@ "value": "MRefDelegate(Of K, T, L)" } ], - "level": 0.0, + "level": 0, "summary": "

Generic delegate with many constrains.

\n", "type": "delegate", "platform": null, @@ -760,7 +760,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

Delegate in the namespace

\n", "type": "delegate", "platform": null, @@ -819,7 +819,7 @@ "assemblies": [ "CatLibrary" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.ColorType.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.ColorType.html.view.verified.json index 8df31d57d1d..a39f369d4ef 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.ColorType.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.ColorType.html.view.verified.json @@ -47,7 +47,7 @@ "value": "MRef.Demo.Enumeration" } ], - "level": 0.0 + "level": 0 }, "children": [ { @@ -167,15 +167,15 @@ }, "id": "Red", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 410.0, - "endLine": 0.0 + "startLine": 410, + "endLine": 0 }, "assemblies": [ "CatLibrary" ], "namespace": "MRef.Demo.Enumeration", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

this color is red

\n", "platform": null, @@ -302,15 +302,15 @@ }, "id": "Blue", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 414.0, - "endLine": 0.0 + "startLine": 414, + "endLine": 0 }, "assemblies": [ "CatLibrary" ], "namespace": "MRef.Demo.Enumeration", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

blue like river

\n", "platform": null, @@ -437,15 +437,15 @@ }, "id": "Yellow", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 418.0, - "endLine": 0.0 + "startLine": 418, + "endLine": 0 }, "assemblies": [ "CatLibrary" ], "namespace": "MRef.Demo.Enumeration", "example": [], - "level": 0.0, + "level": 0, "type": "field", "summary": "

yellow comes from desert

\n", "platform": null, @@ -506,8 +506,8 @@ }, "id": "ColorType", "path": "dotnet/solution/CatLibrary/Class1.cs", - "startLine": 405.0, - "endLine": 0.0 + "startLine": 405, + "endLine": 0 }, "assemblies": [ "CatLibrary" @@ -557,7 +557,7 @@ "value": "MRef.Demo.Enumeration" } ], - "level": 0.0 + "level": 0 }, "summary": "

Enumeration ColorType

\n", "remarks": "

\nRed/Blue/Yellow can become all color you want.\n

\n
    \n", @@ -623,7 +623,7 @@ "isCref": true } ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.html.view.verified.json index 99983e91838..03dd843fe06 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/MRef.Demo.Enumeration.html.view.verified.json @@ -53,7 +53,7 @@ "value": "" } ], - "level": 0.0, + "level": 0, "summary": "

    Enumeration ColorType

    \n", "type": "enum", "platform": null, @@ -112,7 +112,7 @@ "assemblies": [ "CatLibrary" ], - "level": 0.0, + "level": 0, "_appName": "Seed", "_appTitle": "docfx seed website", "_enableSearch": true, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.html.view.verified.json index 6117a65dcbf..63d9153bd40 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.html.view.verified.json @@ -1,5 +1,5 @@ { - "order": 100.0, + "order": 100, "items": [ { "name": "BuildFromAssembly", @@ -15,7 +15,7 @@ "topicUid": "BuildFromAssembly.Class1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -26,13 +26,13 @@ "topicUid": "BuildFromAssembly.Issue5432", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromCSharpSourceCode", @@ -48,13 +48,13 @@ "topicUid": "BuildFromCSharpSourceCode.CSharp", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromProject", @@ -84,13 +84,13 @@ "topicUid": "BuildFromProject.Issue8540.A.A", "type": "Class", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 }, { "name": "B", @@ -106,17 +106,17 @@ "topicUid": "BuildFromProject.Issue8540.B.B", "type": "Class", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "Class1", @@ -125,7 +125,7 @@ "topicUid": "BuildFromProject.Class1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -136,7 +136,7 @@ "topicUid": "BuildFromProject.Class1.IIssue8948", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -147,7 +147,7 @@ "topicUid": "BuildFromProject.Class1.Issue8665", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -158,7 +158,7 @@ "topicUid": "BuildFromProject.Class1.Issue8696Attribute", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -169,7 +169,7 @@ "topicUid": "BuildFromProject.Class1.Issue8948", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -180,7 +180,7 @@ "topicUid": "BuildFromProject.Class1.Issue9260", "type": "Enum", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -191,7 +191,7 @@ "topicUid": "BuildFromProject.Class1.Test`1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -202,7 +202,7 @@ "topicUid": "BuildFromProject.Dog", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -213,7 +213,7 @@ "topicUid": "BuildFromProject.IInheritdoc", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -224,7 +224,7 @@ "topicUid": "BuildFromProject.Inheritdoc", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -235,7 +235,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue6366", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -246,7 +246,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue6366.Class1`1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -257,7 +257,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue6366.Class2", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -268,7 +268,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue7035", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -279,7 +279,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue7484", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -290,7 +290,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue8101", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -301,7 +301,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue8129", "type": "Struct", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -312,13 +312,13 @@ "topicUid": "BuildFromProject.Issue8725", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromVBSourceCode", @@ -334,7 +334,7 @@ "topicUid": "BuildFromVBSourceCode.BaseClass1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -345,13 +345,13 @@ "topicUid": "BuildFromVBSourceCode.Class1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CatLibrary", @@ -374,7 +374,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType", "type": "Struct", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -385,7 +385,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ColorType", "type": "Enum", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -396,7 +396,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChild", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -407,7 +407,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface", "type": "Interface", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -418,7 +418,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate", "type": "Delegate", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -429,7 +429,7 @@ "topicUid": "CatLibrary.Core.ExplicitLayoutClass", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -440,13 +440,13 @@ "topicUid": "CatLibrary.Core.Issue231", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "CatException", @@ -455,7 +455,7 @@ "topicUid": "CatLibrary.CatException`1", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -466,7 +466,7 @@ "topicUid": "CatLibrary.Cat`2", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -477,7 +477,7 @@ "topicUid": "CatLibrary.Complex`2", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -488,7 +488,7 @@ "topicUid": "CatLibrary.FakeDelegate`1", "type": "Delegate", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -499,7 +499,7 @@ "topicUid": "CatLibrary.IAnimal", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -510,7 +510,7 @@ "topicUid": "CatLibrary.ICat", "type": "Interface", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -521,7 +521,7 @@ "topicUid": "CatLibrary.ICatExtension", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -532,7 +532,7 @@ "topicUid": "CatLibrary.MRefDelegate`3", "type": "Delegate", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -543,7 +543,7 @@ "topicUid": "CatLibrary.MRefNormalDelegate", "type": "Delegate", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -554,7 +554,7 @@ "topicUid": "CatLibrary.Tom", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -565,13 +565,13 @@ "topicUid": "CatLibrary.TomFromBaseClass", "type": "Class", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "MRef.Demo.Enumeration", @@ -587,13 +587,13 @@ "topicUid": "MRef.Demo.Enumeration.ColorType", "type": "Enum", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 } ], "memberLayout": "SamePage", @@ -614,7 +614,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json index 32314e21e25..db387f9892c 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json @@ -525,7 +525,7 @@ }, { "Number": 4, - "Text": "4 / 84Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 Class1Inherited Membersobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ToString()\uF1C5 ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.GetHashCode()\uF1C5ConstructorsMethodsHello World.Class Class1public class Class1\uF12CClass1()public Class1()HelloWorld()public static void HelloWorld()", + "Text": "4 / 84Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 Class1Inherited Membersobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ToString()\uF1C5 , object.Equals(object)\uF1C5 ,object.Equals(object, object)\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.GetHashCode()\uF1C5ConstructorsMethodsHello World.Class Class1public class Class1\uF12CClass1()public Class1()HelloWorld()public static void HelloWorld()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -630,7 +630,7 @@ }, { "Number": 5, - "Text": "5 / 84Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.GetType()\uF1C5 , object.Equals(object, object)\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5PropertiesProperty Valuestring\uF1C5Struct Issue5432public struct Issue5432Namepublic string Name { get; }", + "Text": "5 / 84Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 , object.GetType()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.ReferenceEquals(object, object)\uF1C5PropertiesProperty Valuestring\uF1C5Struct Issue5432public struct Issue5432Namepublic string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals" @@ -741,7 +741,7 @@ }, { "Number": 7, - "Text": "7 / 84Namespace:BuildFromCSharpSourceCodeInheritanceobject\uF1C5 CSharpInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParametersargs string\uF1C5[]Class CSharppublic class CSharp\uF12CMain(string[])public static void Main(string[] args)", + "Text": "7 / 84Namespace:BuildFromCSharpSourceCodeInheritanceobject\uF1C5 CSharpInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParametersargs string\uF1C5[]Class CSharppublic class CSharp\uF12CMain(string[])public static void Main(string[] args)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1311,7 +1311,7 @@ }, { "Number": 12, - "Text": "12 / 84Namespace:BuildFromProject.Issue8540.AAssembly:BuildFromProject.dllInheritanceobject\uF1C5 AInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Apublic class A\uF12C", + "Text": "12 / 84Namespace:BuildFromProject.Issue8540.AAssembly:BuildFromProject.dllInheritanceobject\uF1C5 AInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Apublic class A\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1449,7 +1449,7 @@ }, { "Number": 14, - "Text": "14 / 84Namespace:BuildFromProject.Issue8540.BAssembly:BuildFromProject.dllInheritanceobject\uF1C5 BInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Bpublic class B\uF12C", + "Text": "14 / 84Namespace:BuildFromProject.Issue8540.BAssembly:BuildFromProject.dllInheritanceobject\uF1C5 BInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Bpublic class B\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1572,7 +1572,7 @@ }, { "Number": 15, - "Text": "15 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1ImplementsIClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsPricing models are used to calculate theoretical option values1-Black Scholes2-Black763-Black76Fut4-Equity Tree5-Variance Swap6-Dividend ForecastIConfiguration related helper and extension routines.Class Class1public class Class1 : IClass1\uF12CIssue1651()public void Issue1651()Issue1887()", + "Text": "15 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1ImplementsIClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsPricing models are used to calculate theoretical option values1-Black Scholes2-Black763-Black76Fut4-Equity Tree5-Variance Swap6-Dividend ForecastIConfiguration related helper and extension routines.Class Class1public class Class1 : IClass1\uF12CIssue1651()public void Issue1651()Issue1887()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1682,7 +1682,7 @@ }, { "Number": 17, - "Text": "17 / 84Inline .link\uF1C5ExamplesRemarksfor (var i = 0; i > 10; i++) // & \" 'var range = new Range { Min = 0, Max = 10 };var range = new Range { Min = 0, Max = 10 };Issue4017()public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content); return Task.CompletedTask;}void Update(){", + "Text": "17 / 84Inline .link\uF1C5ExamplesRemarksfor (var i = 0; i > 10; i++) // & \" 'var range = new Range { Min = 0, Max = 10 };var range = new Range { Min = 0, Max = 10 };Issue4017()public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content); return Task.CompletedTask;}void Update(){ myClass.Execute();}", "Links": [ { "Uri": "https://www.github.com/" @@ -1697,12 +1697,12 @@ }, { "Number": 18, - "Text": "18 / 84Remarks@\"\\\\?\\\" @\"\\\\?\\\"RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee DescriptionType ParametersT myClass.Execute();}Issue4392()public void Issue4392()Issue7484()public void Issue7484()Issue8764()public void Issue8764() where T : unmanagedIssue896()", + "Text": "18 / 84Remarks@\"\\\\?\\\" @\"\\\\?\\\"RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee DescriptionType ParametersTTestIssue4392()public void Issue4392()Issue7484()public void Issue7484()Issue8764()public void Issue8764() where T : unmanagedIssue896()public void Issue896()", "Links": [] }, { "Number": 19, - "Text": "19 / 84TestSee AlsoClass1.Test, Class1Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:Returnsdouble\uF1C5This method should do something...RemarksThis is remarks.public void Issue896()Issue9216()public static double Issue9216()XmlCommentIncludeTag()public void XmlCommentIncludeTag()", + "Text": "19 / 84See AlsoClass1.Test, Class1Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:Returnsdouble\uF1C5This method should do something...RemarksThis is remarks.Issue9216()public static double Issue9216()XmlCommentIncludeTag()public void XmlCommentIncludeTag()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.double" @@ -1777,7 +1777,7 @@ }, { "Number": 21, - "Text": "21 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8665Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ConstructorsParametersfoo int\uF1C5Class Class1.Issue8665public class Class1.Issue8665\uF12CIssue8665()public Issue8665()Issue8665(int)public Issue8665(int foo)Issue8665(int, char)public Issue8665(int foo, char bar)", + "Text": "21 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8665Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersfoo int\uF1C5ParametersClass Class1.Issue8665public class Class1.Issue8665\uF12CIssue8665()public Issue8665()Issue8665(int)public Issue8665(int foo)Issue8665(int, char)public Issue8665(int foo, char bar)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1891,7 +1891,7 @@ }, { "Number": 22, - "Text": "22 / 84Parametersfoo int\uF1C5bar char\uF1C5Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesProperty Valuechar\uF1C5Property Valuestring\uF1C5Issue8665(int, char, string)public Issue8665(int foo, char bar, string baz)Barpublic char Bar { get; }Bazpublic string Baz { get; }", + "Text": "22 / 84foo int\uF1C5bar char\uF1C5Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesProperty Valuechar\uF1C5Property Valuestring\uF1C5Issue8665(int, char, string)public Issue8665(int foo, char bar, string baz)Barpublic char Bar { get; }Bazpublic string Baz { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -1975,7 +1975,7 @@ }, { "Number": 24, - "Text": "24 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Attribute\uF1C5 Class1.Issue8696AttributeInherited MembersAttribute.Equals(object)\uF1C5 , Attribute.GetCustomAttribute(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(Assembly)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, bool)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(Module)\uF1C5 , Attribute.GetCustomAttributes(Module, bool)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetHashCode()\uF1C5 ,Attribute.IsDefaultAttribute()\uF1C5 , Attribute.IsDefined(Assembly, Type)\uF1C5 ,Attribute.IsDefined(Assembly, Type, bool)\uF1C5 , Attribute.IsDefined(MemberInfo, Type)\uF1C5 ,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5 , Attribute.IsDefined(Module, Type)\uF1C5 ,Attribute.IsDefined(Module, Type, bool)\uF1C5 , Attribute.IsDefined(ParameterInfo, Type)\uF1C5 ,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5 , Attribute.Match(object)\uF1C5 ,Class Class1.Issue8696Attributepublic class Class1.Issue8696Attribute : Attribute\uF12C\uF12C", + "Text": "24 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Attribute\uF1C5 Class1.Issue8696AttributeInherited MembersAttribute.Equals(object)\uF1C5 , Attribute.GetCustomAttribute(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type)\uF1C5 , Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(Assembly)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, bool)\uF1C5 , Attribute.GetCustomAttributes(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(MemberInfo)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(Module)\uF1C5 ,Attribute.GetCustomAttributes(Module, bool)\uF1C5 , Attribute.GetCustomAttributes(Module, Type)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(ParameterInfo)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetHashCode()\uF1C5 ,Attribute.IsDefaultAttribute()\uF1C5 , Attribute.IsDefined(Assembly, Type)\uF1C5 ,Attribute.IsDefined(Assembly, Type, bool)\uF1C5 , Attribute.IsDefined(MemberInfo, Type)\uF1C5 ,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5 , Attribute.IsDefined(Module, Type)\uF1C5 ,Attribute.IsDefined(Module, Type, bool)\uF1C5 , Attribute.IsDefined(ParameterInfo, Type)\uF1C5 ,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5 , Attribute.Match(object)\uF1C5 , Attribute.TypeId\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsClass Class1.Issue8696Attributepublic class Class1.Issue8696Attribute : Attribute\uF12C\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2319,39 +2319,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.match" }, - { - "Goto": { - "PageNumber": 8, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 8, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 8, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - } - ] - }, - { - "Number": 25, - "Text": "25 / 84Attribute.TypeId\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersdescription string\uF1C5boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]hasMultipleSelections bool\uF1C5enumType Type\uF1C5Issue8696Attribute(string?, int, int, string[]?, bool,Type?)[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", - "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.typeid" }, @@ -2406,6 +2373,39 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" }, + { + "Goto": { + "PageNumber": 8, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, + { + "Goto": { + "PageNumber": 8, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, + { + "Goto": { + "PageNumber": 8, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + } + ] + }, + { + "Number": 25, + "Text": "25 / 84Parametersdescription string\uF1C5boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]hasMultipleSelections bool\uF1C5enumType Type\uF1C5Issue8696Attribute(string?, int, int, string[]?, bool, Type?)[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, @@ -2464,7 +2464,7 @@ }, { "Number": 26, - "Text": "26 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsDoes nothing with generic type T.Type ParametersTA generic type.Class Class1.Issue8948public class Class1.Issue8948 : Class1.IIssue8948\uF12CDoNothing()public void DoNothing()", + "Text": "26 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsDoes nothing with generic type T.Type ParametersTA generic type.Class Class1.Issue8948public class Class1.Issue8948 : Class1.IIssue8948\uF12CDoNothing()public void DoNothing()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2620,7 +2620,7 @@ }, { "Number": 28, - "Text": "28 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Class1.TestInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Class1.Testpublic class Class1.Test\uF12C", + "Text": "28 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Class1.TestInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Class1.Testpublic class Class1.Test\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2725,7 +2725,7 @@ }, { "Number": 29, - "Text": "29 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 DogInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ConstructorsConstructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesClass Dogpublic class Dog\uF12CDog(string, int)public Dog(string name, int age)", + "Text": "29 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 DogInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsConstructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesClass Dogpublic class Dog\uF12CDog(string, int)public Dog(string name, int age)Age", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2848,7 +2848,7 @@ }, { "Number": 30, - "Text": "30 / 84Age of the dog.Property Valueint\uF1C5Name of the dog.Property Valuestring\uF1C5Agepublic int Age { get; }Namepublic string Name { get; }", + "Text": "30 / 84Age of the dog.Property Valueint\uF1C5Name of the dog.Property Valuestring\uF1C5public int Age { get; }Namepublic string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -2905,7 +2905,7 @@ }, { "Number": 32, - "Text": "32 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 InheritdocImplementsIInheritdoc, IDisposable\uF1C5Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsPerforms application-defined tasks associated with freeing, releasing, or resettingunmanaged resources.This method should do something...Class Inheritdocpublic class Inheritdoc : IInheritdoc, IDisposable\uF12CDispose()public void Dispose()Issue7628()public void Issue7628()Issue7629()", + "Text": "32 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 InheritdocImplementsIInheritdoc, IDisposable\uF1C5Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.This method should do something...This method should do something...Class Inheritdocpublic class Inheritdoc : IInheritdoc, IDisposable\uF12CDispose()public void Dispose()Issue7628()public void Issue7628()Issue7629()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3028,12 +3028,12 @@ }, { "Number": 33, - "Text": "33 / 84This method should do something...public void Issue7629()", + "Text": "33 / 84public void Issue7629()", "Links": [] }, { "Number": 34, - "Text": "34 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Inheritdoc.Issue6366public class Inheritdoc.Issue6366\uF12C", + "Text": "34 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Inheritdoc.Issue6366public class Inheritdoc.Issue6366\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3138,7 +3138,7 @@ }, { "Number": 35, - "Text": "35 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1DerivedInheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class1public abstract class Inheritdoc.Issue6366.Class1\uF12CTestMethod1(T, int)public abstract T TestMethod1(T parm1, int parm2)", + "Text": "35 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1DerivedInheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class1public abstract class Inheritdoc.Issue6366.Class1\uF12CTestMethod1(T, int)public abstract T TestMethod1(T parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3284,7 +3284,7 @@ }, { "Number": 37, - "Text": "37 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1 Inheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class2public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1\uF12C\uF12CTestMethod1(bool, int)public override bool TestMethod1(bool parm1, int parm2)", + "Text": "37 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1 Inheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class2public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1\uF12C\uF12CTestMethod1(bool, int)public override bool TestMethod1(bool parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3452,7 +3452,7 @@ }, { "Number": 38, - "Text": "38 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue7035Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsClass Inheritdoc.Issue7035public class Inheritdoc.Issue7035\uF12CA()public void A()B()public void B()", + "Text": "38 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue7035Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsClass Inheritdoc.Issue7035public class Inheritdoc.Issue7035\uF12CA()public void A()B()public void B()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3557,7 +3557,7 @@ }, { "Number": 39, - "Text": "39 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 Inheritdoc.Issue7484Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsThis is a constructor to document.PropertiesClass Inheritdoc.Issue7484public class Inheritdoc.Issue7484\uF12CIssue7484()public Issue7484()DoDad", + "Text": "39 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 Inheritdoc.Issue7484Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsThis is a constructor to document.PropertiesA string that could have something.Class Inheritdoc.Issue7484public class Inheritdoc.Issue7484\uF12CIssue7484()public Issue7484()DoDad", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3663,7 +3663,7 @@ "PageNumber": 40, "Coordinates": { "Left": 0, - "Top": 582.75 + "Top": 612.75 } } }, @@ -3672,7 +3672,7 @@ "PageNumber": 40, "Coordinates": { "Left": 0, - "Top": 582.75 + "Top": 612.75 } } }, @@ -3681,7 +3681,7 @@ "PageNumber": 40, "Coordinates": { "Left": 0, - "Top": 582.75 + "Top": 612.75 } } }, @@ -3690,7 +3690,7 @@ "PageNumber": 39, "Coordinates": { "Left": 0, - "Top": 89.25 + "Top": 108 } } }, @@ -3699,7 +3699,7 @@ "PageNumber": 39, "Coordinates": { "Left": 0, - "Top": 89.25 + "Top": 108 } } } @@ -3707,7 +3707,7 @@ }, { "Number": 40, - "Text": "40 / 84A string that could have something.Property Valuestring\uF1C5MethodsSimple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I canwrite documentation like this.public string DoDad { get; }BoolReturningMethod(bool)public bool BoolReturningMethod(bool source)", + "Text": "40 / 84Property Valuestring\uF1C5MethodsSimple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I can writedocumentation like this.public string DoDad { get; }BoolReturningMethod(bool)public bool BoolReturningMethod(bool source)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -3740,7 +3740,7 @@ }, { "Number": 41, - "Text": "41 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue8101Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsCreate a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5Class Inheritdoc.Issue8101public class Inheritdoc.Issue8101\uF12CTween(int, int, float, Action)public static object Tween(int from, int to, float duration, Action onChange)", + "Text": "41 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue8101Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsCreate a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Class Inheritdoc.Issue8101public class Inheritdoc.Issue8101\uF12CTween(int, int, float, Action)public static object Tween(int from, int to, float duration, Action onChange)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3890,7 +3890,7 @@ }, { "Number": 42, - "Text": "42 / 84A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Create a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5<float\uF1C5>A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Tween(float, float, float, Action<float>)public static object Tween(float from, float to, float duration, Action onChange)", + "Text": "42 / 84Returnsobject\uF1C5The newly created tween instance.Create a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Tween(float, float, float, Action)public static object Tween(float from, float to, float duration, Action onChange)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3959,7 +3959,7 @@ }, { "Number": 43, - "Text": "43 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5ConstructorsParametersfoo string\uF1C5Struct Inheritdoc.Issue8129public struct Inheritdoc.Issue8129Issue8129(string)public Issue8129(string foo)", + "Text": "43 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5ConstructorsParametersfoo string\uF1C5Struct Inheritdoc.Issue8129public struct Inheritdoc.Issue8129Issue8129(string)public Issue8129(string foo)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals" @@ -4055,7 +4055,7 @@ }, { "Number": 44, - "Text": "44 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllA nice classInheritanceobject\uF1C5 Issue8725Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsAnother nice operationA nice operationSee AlsoClass1Class Issue8725public class Issue8725\uF12CMoreOperations()public void MoreOperations()MyOperation()public void MyOperation()", + "Text": "44 / 84Namespace:BuildFromProjectAssembly:BuildFromProject.dllA nice classInheritanceobject\uF1C5 Issue8725Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsAnother nice operationA nice operationSee AlsoClass1Class Issue8725public class Issue8725\uF12CMoreOperations()public void MoreOperations()MyOperation()public void MyOperation()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4202,7 +4202,7 @@ }, { "Number": 46, - "Text": "46 / 84Namespace:BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 ,object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParameterskeyword Class1ReturnsDateTime\uF1C5Class BaseClass1public abstract class BaseClass1\uF12CWithDeclarationKeyword(Class1)public abstract DateTime WithDeclarationKeyword(Class1 keyword)", + "Text": "46 / 84Namespace:BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParameterskeyword Class1ReturnsDateTime\uF1C5Class BaseClass1public abstract class BaseClass1\uF12CWithDeclarationKeyword(Class1)public abstract DateTime WithDeclarationKeyword(Class1 keyword)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4352,7 +4352,7 @@ }, { "Number": 47, - "Text": "47 / 84Namespace:BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 BaseClass1 Class1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 ,object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5FieldsThis is a Value typeField ValueClass1PropertiesProperty ValueClass Class1public class Class1 : BaseClass1\uF12C\uF12CValueClasspublic Class1 ValueClassKeyword[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }", + "Text": "47 / 84Namespace:BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 BaseClass1 Class1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5FieldsThis is a Value typeField ValueClass1PropertiesProperty ValueClass Class1public class Class1 : BaseClass1\uF12C\uF12CValueClasspublic Class1 ValueClassKeyword[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4553,7 +4553,7 @@ }, { "Number": 49, - "Text": "49 / 84NamespacesCatLibrary.CoreClassesCatExceptionCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interfaceDelegatesFakeDelegateFake delegateNamespace CatLibrary", + "Text": "49 / 84NamespacesCatLibrary.CoreClassesCatExceptionCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interfaceDelegatesFakeDelegateFake delegateNamespace CatLibrary", "Links": [ { "Goto": { @@ -5075,7 +5075,7 @@ }, { "Number": 52, - "Text": "52 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllStruct ContainersRefTypeInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5Extension MethodsIssue231.Bar(ContainersRefType) , Issue231.Foo(ContainersRefType)FieldsColorCountField Valuelong\uF1C5PropertiesGetColorCountStruct ContainersRefTypepublic struct ContainersRefTypeColorCountpublic long ColorCountGetColorCountpublic long GetColorCount { get; }", + "Text": "52 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllStruct ContainersRefTypeInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5Extension MethodsIssue231.Bar(ContainersRefType) , Issue231.Foo(ContainersRefType)FieldsColorCountField Valuelong\uF1C5PropertiesGetColorCountStruct ContainersRefTypepublic struct ContainersRefTypeColorCountpublic long ColorCountGetColorCountpublic long GetColorCount { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals" @@ -5172,7 +5172,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, @@ -5181,7 +5181,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, @@ -5190,7 +5190,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, @@ -5199,7 +5199,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, @@ -5208,7 +5208,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } }, @@ -5217,7 +5217,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } }, @@ -5226,7 +5226,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } }, @@ -5235,7 +5235,7 @@ "PageNumber": 59, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } } @@ -5318,7 +5318,7 @@ }, { "Number": 55, - "Text": "55 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ClassContainersRefType.ContainersRefTypeChildpublic class ContainersRefType.ContainersRefTypeChild\uF12C", + "Text": "55 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ClassContainersRefType.ContainersRefTypeChildpublic class ContainersRefType.ContainersRefTypeChild\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5489,7 +5489,7 @@ }, { "Number": 58, - "Text": "58 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ExplicitLayoutClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class ExplicitLayoutClasspublic class ExplicitLayoutClass\uF12C", + "Text": "58 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ExplicitLayoutClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class ExplicitLayoutClasspublic class ExplicitLayoutClass\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5594,7 +5594,7 @@ }, { "Number": 59, - "Text": "59 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.dllInheritanceobject\uF1C5 Issue231Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParametersc ContainersRefTypeParametersc ContainersRefTypeClass Issue231public static class Issue231\uF12CBar(ContainersRefType)public static void Bar(this ContainersRefType c)Foo(ContainersRefType)public static void Foo(this ContainersRefType c)", + "Text": "59 / 84Namespace:CatLibrary.CoreAssembly:CatLibrary.dllInheritanceobject\uF1C5 Issue231Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParametersc ContainersRefTypeParametersc ContainersRefTypeClass Issue231public static class Issue231\uF12CBar(ContainersRefType)public static void Bar(this ContainersRefType c)Foo(ContainersRefType)public static void Foo(this ContainersRefType c)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5753,7 +5753,7 @@ }, { "Number": 60, - "Text": "60 / 84Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTInheritanceobject\uF1C5 Exception\uF1C5 CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5 ,Exception.GetObjectData(SerializationInfo, StreamingContext)\uF1C5 , Exception.GetType()\uF1C5 ,Exception.ToString()\uF1C5 , Exception.Data\uF1C5 , Exception.HelpLink\uF1C5 , Exception.HResult\uF1C5 ,Exception.InnerException\uF1C5 , Exception.Message\uF1C5 , Exception.Source\uF1C5 ,Exception.StackTrace\uF1C5 , Exception.TargetSite\uF1C5 , Exception.SerializeObjectState\uF1C5 ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5Class CatExceptionpublic class CatException : Exception, ISerializable\uF12C\uF12C", + "Text": "60 / 84Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTInheritanceobject\uF1C5 Exception\uF1C5 CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5 , Exception.GetType()\uF1C5 , Exception.ToString()\uF1C5 , Exception.Data\uF1C5 ,Exception.HelpLink\uF1C5 , Exception.HResult\uF1C5 , Exception.InnerException\uF1C5 , Exception.Message\uF1C5 ,Exception.Source\uF1C5 , Exception.StackTrace\uF1C5 , Exception.TargetSite\uF1C5 , Exception.SerializeObjectState\uF1C5 ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5Class CatExceptionpublic class CatException : Exception, ISerializable\uF12C\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5791,15 +5791,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.gettype" }, @@ -5966,7 +5957,7 @@ }, { "Number": 61, - "Text": "61 / 84Namespace:CatLibraryAssembly:CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classThis is a class talking about CAT\uF1C5.NOTE This is a CAT classRefer to IAnimal to see other animals.Type ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 CatImplementsICat, IAnimalInherited MembersClass Cat[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct\uF12C", + "Text": "61 / 84Namespace:CatLibraryAssembly:CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classThis is a class talking about CAT\uF1C5.NOTE This is a CAT classRefer to IAnimal to see other animals.Type ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 CatImplementsICat, IAnimalInherited Membersobject.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Cat[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct\uF12C", "Links": [ { "Uri": "https://en.wikipedia.org/wiki/Cat" @@ -5986,6 +5977,60 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + }, { "Goto": { "PageNumber": 49, @@ -6053,68 +6098,23 @@ }, { "Number": 62, - "Text": "62 / 84object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)ExamplesHere's example of how to create an instance of this class. As T is limited with class and K islimited with struct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksTHIS is remarks overridden in MARKDWON fileConstructorsDefault constructor.It's a complex constructor. The parameter will have some attributes.Parametersvar a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}Cat()public Cat()Cat(string, out int, string, bool)public Cat(string nickName, out int age, string realName, bool isHealthy)", + "Text": "62 / 84Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)ExamplesHere's example of how to create an instance of this class. As T is limited with class and K is limited withstruct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksTHIS is remarks overridden in MARKDWON fileConstructorsDefault constructor.It's a complex constructor. The parameter will have some attributes.ParametersnickName string\uF1C5var a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}Cat()public Cat()Cat(string, out int, string, bool)public Cat(string nickName, out int age, string realName, bool isHealthy)", "Links": [ { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, { "Goto": { "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6123,7 +6123,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6132,7 +6132,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6141,7 +6141,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6150,7 +6150,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6159,7 +6159,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6168,7 +6168,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6177,7 +6177,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6221,17 +6221,8 @@ }, { "Number": 63, - "Text": "63 / 84nickName string\uF1C5it's string type.age int\uF1C5It's an out and ref parameter.realName string\uF1C5It's an out paramter.isHealthy bool\uF1C5It's an in parameter.Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.FieldsField with attribute.Field ValueCat(T)public Cat(T ownType)isHealthy[ContextStatic][NonSerialized][Obsolete]public bool isHealthy", + "Text": "63 / 84it's string type.age int\uF1C5It's an out and ref parameter.realName string\uF1C5It's an out paramter.isHealthy bool\uF1C5It's an in parameter.Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.FieldsField with attribute.Field Valuebool\uF1C5Cat(T)public Cat(T ownType)isHealthy[ContextStatic][NonSerialized][Obsolete]public bool isHealthy", "Links": [ - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -6258,13 +6249,7 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - } - ] - }, - { - "Number": 64, - "Text": "64 / 84bool\uF1C5PropertiesHint cat's age.Property Valueint\uF1C5This is index property of Cat. You can see that the visibility is different between get and setmethod.Parametersa string\uF1C5Cat's name.Property Valueint\uF1C5Cat's number.EII property.Age[Obsolete]protected int Age { get; set; }this[string]public int this[string a] { protected get; set; }Name", - "Links": [ + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" }, @@ -6273,7 +6258,13 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - }, + } + ] + }, + { + "Number": 64, + "Text": "64 / 84PropertiesHint cat's age.Property Valueint\uF1C5This is index property of Cat. You can see that the visibility is different between get and set method.Parametersa string\uF1C5Cat's name.Property Valueint\uF1C5Cat's number.EII property.Age[Obsolete]protected int Age { get; set; }this[string]public int this[string a] { protected get; set; }Namepublic string Name { get; }", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -6305,7 +6296,7 @@ }, { "Number": 65, - "Text": "65 / 84Property Valuestring\uF1C5MethodsIt's an overridden summary in markdown formatThis is overriding methods. You can override parameter descriptions for methods, you caneven add exceptions to methods. Check the intermediate obj folder to see the data modelof the generated method/class. Override Yaml header should follow the data structure.Parametersdate DateTime\uF1C5This is overridden description for a parameter. id must be specified.ReturnsDictionary\uF1C5>It's overridden description for return. type must be specified.ExceptionsArgumentException\uF1C5This is an overridden argument exception. you can add additional exception by addingdifferent exception type.public string Name { get; }Override CalculateFood Namepublic Dictionary> CalculateFood(DateTime date)Equals(object)", + "Text": "65 / 84Property Valuestring\uF1C5MethodsIt's an overridden summary in markdown formatThis is overriding methods. You can override parameter descriptions for methods, you can even addexceptions to methods. Check the intermediate obj folder to see the data model of the generatedmethod/class. Override Yaml header should follow the data structure.Parametersdate DateTime\uF1C5This is overridden description for a parameter. id must be specified.ReturnsDictionary\uF1C5>It's overridden description for return. type must be specified.ExceptionsArgumentException\uF1C5This is an overridden argument exception. you can add additional exception by adding differentexception type.Override the method of Object.Equals(object obj).Override CalculateFood Namepublic Dictionary> CalculateFood(DateTime date)Equals(object)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -6374,7 +6365,7 @@ }, { "Number": 66, - "Text": "66 / 84Override the method of Object.Equals(object obj).Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.public override bool Equals(object obj)GetTailLength(int*, params object[])public long GetTailLength(int* catName, params object[] parameters)Jump(T, K, ref bool)", + "Text": "66 / 84Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.This method have attribute above it.public override bool Equals(object obj)GetTailLength(int*, params object[])public long GetTailLength(int* catName, params object[] parameters)Jump(T, K, ref bool)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -6425,7 +6416,7 @@ }, { "Number": 67, - "Text": "67 / 84This method have attribute above it.ParametersownType TType come from class define.anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionEventsEat event of this catEvent TypeEventHandler\uF1C5Operators[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)ownEat[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEat", + "Text": "67 / 84ParametersownType TType come from class define.anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionEventsEat event of this catEvent TypeEventHandler\uF1C5Operators[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)ownEat[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEatoperator +(Cat, int)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" @@ -6458,7 +6449,7 @@ }, { "Number": 68, - "Text": "68 / 84Addition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5Result with int type.Expilicit operator of this class.It means this cat can evolve to change to Tom. Tom and Jerry.Parameterssrc CatInstance of this class.ReturnsTomAdvanced class type of cat.operator +(Cat, int)public static int operator +(Cat lsr, int rsr)explicit operator Tom(Cat)public static explicit operator Tom(Cat src)", + "Text": "68 / 84Addition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5Result with int type.Expilicit operator of this class.It means this cat can evolve to change to Tom. Tom and Jerry.Parameterssrc CatInstance of this class.ReturnsTomAdvanced class type of cat.public static int operator +(Cat lsr, int rsr)explicit operator Tom(Cat)public static explicit operator Tom(Cat src)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -6542,7 +6533,7 @@ }, { "Number": 70, - "Text": "70 / 84Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ComplexInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Complexpublic class Complex\uF12C", + "Text": "70 / 84Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ComplexInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Complexpublic class Complex\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -6698,7 +6689,7 @@ }, { "Number": 72, - "Text": "72 / 84Namespace:CatLibraryAssembly:CatLibrary.dllThis is basic interface of all animal.Welcome to the Animal world!RemarksTHIS is remarks overridden in MARKDWON filePropertiesReturn specific number animal's name.Parametersindex int\uF1C5Animal number.Property Valuestring\uF1C5Animal name.Name of Animal.Interface IAnimalpublic interface IAnimalthis[int]string this[int index] { get; }Name", + "Text": "72 / 84Namespace:CatLibraryAssembly:CatLibrary.dllThis is basic interface of all animal.Welcome to the Animal world!RemarksTHIS is remarks overridden in MARKDWON filePropertiesReturn specific number animal's name.Parametersindex int\uF1C5Animal number.Property Valuestring\uF1C5Animal name.Name of Animal.Interface IAnimalpublic interface IAnimalthis[int]string this[int index] { get; }Name", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -6740,7 +6731,7 @@ }, { "Number": 73, - "Text": "73 / 84Property Valuestring\uF1C5MethodsAnimal's eat method.Feed the animal with some foodParametersfood string\uF1C5Food to eatOverload method of eat. This define the animal eat by which tool.Parameterstool Toolstring Name { get; }Eat()void Eat()Eat(string)void Eat(string food)Eat(Tool)void Eat(Tool tool) where Tool : class", + "Text": "73 / 84Property Valuestring\uF1C5MethodsAnimal's eat method.Feed the animal with some foodParametersfood string\uF1C5Food to eatOverload method of eat. This define the animal eat by which tool.Parameterstool Toolstring Name { get; }Eat()void Eat()Eat(string)void Eat(string food)Eat(Tool)void Eat(Tool tool) where Tool : class", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -6769,7 +6760,7 @@ }, { "Number": 75, - "Text": "75 / 84Namespace:CatLibraryAssembly:CatLibrary.dllCat's interfaceInherited MembersIAnimal.Name , IAnimal.this[int] , IAnimal.Eat() , IAnimal.Eat(Tool) ,IAnimal.Eat(string)Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)Eventseat event of cat. Every cat must implement this event.Event TypeEventHandler\uF1C5Interface ICatpublic interface ICat : IAnimaleatevent EventHandler eat", + "Text": "75 / 84Namespace:CatLibraryAssembly:CatLibrary.dllCat's interfaceInherited MembersIAnimal.Name , IAnimal.this[int] , IAnimal.Eat() , IAnimal.Eat(Tool) , IAnimal.Eat(string)Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)Eventseat event of cat. Every cat must implement this event.Event TypeEventHandler\uF1C5Interface ICatpublic interface ICat : IAnimaleatevent EventHandler eat", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.eventhandler" @@ -6884,7 +6875,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6893,7 +6884,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6902,7 +6893,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6911,7 +6902,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6920,7 +6911,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6929,7 +6920,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6938,7 +6929,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6947,7 +6938,7 @@ "PageNumber": 76, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, @@ -6991,7 +6982,7 @@ }, { "Number": 76, - "Text": "76 / 84Namespace:CatLibraryAssembly:CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ICatExtensionInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsExtension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playClass ICatExtensionpublic static class ICatExtension\uF12CPlay(ICat, ColorType)public static void Play(this ICat icat, ContainersRefType.ColorType toy)", + "Text": "76 / 84Namespace:CatLibraryAssembly:CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ICatExtensionInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsExtension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playClass ICatExtensionpublic static class ICatExtension\uF12CPlay(ICat, ColorType)public static void Play(this ICat icat, ContainersRefType.ColorType toy)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -7240,7 +7231,7 @@ }, { "Number": 80, - "Text": "80 / 84Namespace:CatLibraryAssembly:CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 TomDerivedTomFromBaseClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsThis is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Another complex inputClass Tompublic class Tom\uF12CTomMethod(Complex, Tuple)public Complex TomMethod(Complex a, Tuple b)", + "Text": "80 / 84Namespace:CatLibraryAssembly:CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 TomDerivedTomFromBaseClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsThis is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Another complex inputClass Tompublic class Tom\uF12CTomMethod(Complex, Tuple)public Complex TomMethod(Complex a, Tuple b)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -7612,7 +7603,7 @@ }, { "Number": 82, - "Text": "82 / 84Namespace:CatLibraryAssembly:CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 Tom TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple) ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ConstructorsThis is a #ctor with parameterParametersk int\uF1C5Class TomFromBaseClasspublic class TomFromBaseClass : Tom\uF12C\uF12CTomFromBaseClass(int)public TomFromBaseClass(int k)", + "Text": "82 / 84Namespace:CatLibraryAssembly:CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 Tom TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple) ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsThis is a #ctor with parameterParametersk int\uF1C5Class TomFromBaseClasspublic class TomFromBaseClass : Tom\uF12C\uF12CTomFromBaseClass(int)public TomFromBaseClass(int k)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -7727,7 +7718,7 @@ "PageNumber": 80, "Coordinates": { "Left": 0, - "Top": 360.75 + "Top": 379.5 } } } diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/CatLibrary.CatException-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/CatLibrary.CatException-1.html.view.verified.json index 9a53104878e..00df3163ad3 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/CatLibrary.CatException-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/CatLibrary.CatException-1.html.view.verified.json @@ -5,7 +5,7 @@ "pdf": true, "pdfTocPage": true, "title": "Class CatException", - "content": "

    Class CatException<T>

    \r\n
    \r\n
    Namespace
    CatLibrary
    Assembly
    CatLibrary.dll
    \r\n
    public class CatException<T> : Exception, ISerializable

    Type Parameters

    T
    \r\n
    \r\n\r\n\r\n\r\n

    Inheritance

    \r\n
    \nobject\n
    \n\n\n\r\n

    Implements

    \r\n\n\r\n

    Inherited Members

    \r\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n
    ", + "content": "

    Class CatException<T>

    \r\n
    \r\n
    Namespace
    CatLibrary
    Assembly
    CatLibrary.dll
    \r\n
    public class CatException<T> : Exception, ISerializable

    Type Parameters

    T
    \r\n
    \r\n\r\n\r\n\r\n

    Inheritance

    \r\n
    \nobject\n
    \n\n\n\r\n

    Implements

    \r\n\n\r\n

    Inherited Members

    \r\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n
    ", "yamlmime": "ApiPage", "_disableNextArticle": true, "_key": "obj/apipage/CatLibrary.CatException-1.yml", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.html.view.verified.json index 355a80d75e9..6f57af38f61 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.html.view.verified.json @@ -9,7 +9,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -18,7 +18,7 @@ "href": "BuildFromAssembly.Class1.html", "topicHref": "BuildFromAssembly.Class1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -26,7 +26,7 @@ "name": "Structs", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -35,13 +35,13 @@ "href": "BuildFromAssembly.Issue5432.html", "topicHref": "BuildFromAssembly.Issue5432.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromCSharpSourceCode", @@ -52,7 +52,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -61,13 +61,13 @@ "href": "BuildFromCSharpSourceCode.CSharp.html", "topicHref": "BuildFromCSharpSourceCode.CSharp.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromProject", @@ -88,7 +88,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -97,13 +97,13 @@ "href": "BuildFromProject.Issue8540.A.A.html", "topicHref": "BuildFromProject.Issue8540.A.A.html", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 }, { "name": "B", @@ -114,7 +114,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -123,23 +123,23 @@ "href": "BuildFromProject.Issue8540.B.B.html", "topicHref": "BuildFromProject.Issue8540.B.B.html", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -148,7 +148,7 @@ "href": "BuildFromProject.Class1.html", "topicHref": "BuildFromProject.Class1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -157,7 +157,7 @@ "href": "BuildFromProject.Class1.Issue8665.html", "topicHref": "BuildFromProject.Class1.Issue8665.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -166,7 +166,7 @@ "href": "BuildFromProject.Class1.Issue8696Attribute.html", "topicHref": "BuildFromProject.Class1.Issue8696Attribute.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -175,7 +175,7 @@ "href": "BuildFromProject.Class1.Issue8948.html", "topicHref": "BuildFromProject.Class1.Issue8948.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -184,7 +184,7 @@ "href": "BuildFromProject.Class1.Test-1.html", "topicHref": "BuildFromProject.Class1.Test-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -193,7 +193,7 @@ "href": "BuildFromProject.Dog.html", "topicHref": "BuildFromProject.Dog.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -202,7 +202,7 @@ "href": "BuildFromProject.Inheritdoc.html", "topicHref": "BuildFromProject.Inheritdoc.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -211,7 +211,7 @@ "href": "BuildFromProject.Inheritdoc.Issue6366.html", "topicHref": "BuildFromProject.Inheritdoc.Issue6366.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -220,7 +220,7 @@ "href": "BuildFromProject.Inheritdoc.Issue6366.Class1-1.html", "topicHref": "BuildFromProject.Inheritdoc.Issue6366.Class1-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -229,7 +229,7 @@ "href": "BuildFromProject.Inheritdoc.Issue6366.Class2.html", "topicHref": "BuildFromProject.Inheritdoc.Issue6366.Class2.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -238,7 +238,7 @@ "href": "BuildFromProject.Inheritdoc.Issue7035.html", "topicHref": "BuildFromProject.Inheritdoc.Issue7035.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -247,7 +247,7 @@ "href": "BuildFromProject.Inheritdoc.Issue7484.html", "topicHref": "BuildFromProject.Inheritdoc.Issue7484.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -256,7 +256,7 @@ "href": "BuildFromProject.Inheritdoc.Issue8101.html", "topicHref": "BuildFromProject.Inheritdoc.Issue8101.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -265,7 +265,7 @@ "href": "BuildFromProject.Issue8725.html", "topicHref": "BuildFromProject.Issue8725.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -273,7 +273,7 @@ "name": "Structs", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -282,7 +282,7 @@ "href": "BuildFromProject.Inheritdoc.Issue8129.html", "topicHref": "BuildFromProject.Inheritdoc.Issue8129.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -290,7 +290,7 @@ "name": "Interfaces", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -299,7 +299,7 @@ "href": "BuildFromProject.Class1.IIssue8948.html", "topicHref": "BuildFromProject.Class1.IIssue8948.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -308,7 +308,7 @@ "href": "BuildFromProject.IInheritdoc.html", "topicHref": "BuildFromProject.IInheritdoc.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -316,7 +316,7 @@ "name": "Enums", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -325,13 +325,13 @@ "href": "BuildFromProject.Class1.Issue9260.html", "topicHref": "BuildFromProject.Class1.Issue9260.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromVBSourceCode", @@ -342,7 +342,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -351,7 +351,7 @@ "href": "BuildFromVBSourceCode.BaseClass1.html", "topicHref": "BuildFromVBSourceCode.BaseClass1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -360,13 +360,13 @@ "href": "BuildFromVBSourceCode.Class1.html", "topicHref": "BuildFromVBSourceCode.Class1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CatLibrary", @@ -382,7 +382,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -391,7 +391,7 @@ "href": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html", "topicHref": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -400,7 +400,7 @@ "href": "CatLibrary.Core.ExplicitLayoutClass.html", "topicHref": "CatLibrary.Core.ExplicitLayoutClass.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -409,7 +409,7 @@ "href": "CatLibrary.Core.Issue231.html", "topicHref": "CatLibrary.Core.Issue231.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -417,7 +417,7 @@ "name": "Structs", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -426,7 +426,7 @@ "href": "CatLibrary.Core.ContainersRefType.html", "topicHref": "CatLibrary.Core.ContainersRefType.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -434,7 +434,7 @@ "name": "Interfaces", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -443,7 +443,7 @@ "href": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html", "topicHref": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -451,7 +451,7 @@ "name": "Enums", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -460,7 +460,7 @@ "href": "CatLibrary.Core.ContainersRefType.ColorType.html", "topicHref": "CatLibrary.Core.ContainersRefType.ColorType.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -468,7 +468,7 @@ "name": "Delegates", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -477,19 +477,19 @@ "href": "CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html", "topicHref": "CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -498,7 +498,7 @@ "href": "CatLibrary.Cat-2.html", "topicHref": "CatLibrary.Cat-2.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -507,7 +507,7 @@ "href": "CatLibrary.CatException-1.html", "topicHref": "CatLibrary.CatException-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -516,7 +516,7 @@ "href": "CatLibrary.Complex-2.html", "topicHref": "CatLibrary.Complex-2.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -525,7 +525,7 @@ "href": "CatLibrary.ICatExtension.html", "topicHref": "CatLibrary.ICatExtension.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -534,7 +534,7 @@ "href": "CatLibrary.Tom.html", "topicHref": "CatLibrary.Tom.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -543,7 +543,7 @@ "href": "CatLibrary.TomFromBaseClass.html", "topicHref": "CatLibrary.TomFromBaseClass.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -551,7 +551,7 @@ "name": "Interfaces", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -560,7 +560,7 @@ "href": "CatLibrary.IAnimal.html", "topicHref": "CatLibrary.IAnimal.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -569,7 +569,7 @@ "href": "CatLibrary.ICat.html", "topicHref": "CatLibrary.ICat.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -577,7 +577,7 @@ "name": "Delegates", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -586,7 +586,7 @@ "href": "CatLibrary.FakeDelegate-1.html", "topicHref": "CatLibrary.FakeDelegate-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -595,7 +595,7 @@ "href": "CatLibrary.MRefDelegate-3.html", "topicHref": "CatLibrary.MRefDelegate-3.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -604,13 +604,13 @@ "href": "CatLibrary.MRefNormalDelegate.html", "topicHref": "CatLibrary.MRefNormalDelegate.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "MRef", @@ -631,7 +631,7 @@ "name": "Enums", "topicHref": null, "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -640,21 +640,21 @@ "href": "MRef.Demo.Enumeration.ColorType.html", "topicHref": "MRef.Demo.Enumeration.ColorType.html", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 } ], "tocHref": null, - "level": 3.0 + "level": 3 } ], "tocHref": null, - "level": 2.0 + "level": 2 } ], "_appName": "Seed", @@ -674,7 +674,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json index d0847135977..df2f373e32b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json @@ -1,9 +1,9 @@ { - "NumberOfPages": 89, + "NumberOfPages": 87, "Pages": [ { "Number": 1, - "Text": "Table of ContentsBuildFromAssembly3ClassesClass14StructsIssue54325BuildFromCSharpSourceCode6ClassesCSharp7BuildFromProject8Issue854010A11ClassesA12B13ClassesB14ClassesClass115Class1.Issue866521Class1.Issue8696Attribute24Class1.Issue894826Class1.Test27Dog28Inheritdoc30Inheritdoc.Issue636632Inheritdoc.Issue6366.Class133Inheritdoc.Issue6366.Class235Inheritdoc.Issue703537Inheritdoc.Issue748438Inheritdoc.Issue810140Issue872542StructsInheritdoc.Issue812944InterfacesClass1.IIssue894845IInheritdoc46EnumsClass1.Issue926047", + "Text": "Table of ContentsBuildFromAssembly3ClassesClass14StructsIssue54325BuildFromCSharpSourceCode6ClassesCSharp7BuildFromProject8Issue854010A11ClassesA12B13ClassesB14ClassesClass115Class1.Issue866521Class1.Issue8696Attribute24Class1.Issue894826Class1.Test27Dog28Inheritdoc30Inheritdoc.Issue636632Inheritdoc.Issue6366.Class133Inheritdoc.Issue6366.Class235Inheritdoc.Issue703537Inheritdoc.Issue748438Inheritdoc.Issue810140Issue872542StructsInheritdoc.Issue812943InterfacesClass1.IIssue894844IInheritdoc45EnumsClass1.Issue926046", "Links": [ { "Goto": { @@ -232,7 +232,7 @@ }, { "Goto": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -241,7 +241,7 @@ }, { "Goto": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -250,7 +250,7 @@ }, { "Goto": { - "PageNumber": 46, + "PageNumber": 45, "Type": 2, "Coordinates": { "Top": 0 @@ -259,7 +259,7 @@ }, { "Goto": { - "PageNumber": 47, + "PageNumber": 46, "Type": 2, "Coordinates": { "Top": 0 @@ -270,8 +270,17 @@ }, { "Number": 2, - "Text": "BuildFromVBSourceCode48ClassesBaseClass149Class150CatLibrary53Core55ClassesContainersRefType.ContainersRefTypeChild56ExplicitLayoutClass57Issue23158StructsContainersRefType59InterfacesContainersRefType.ContainersRefTypeChildInterface61EnumsContainersRefType.ColorType62DelegatesContainersRefType.ContainersRefTypeDelegate63ClassesCat64CatException73Complex74ICatExtension75Tom77TomFromBaseClass79InterfacesIAnimal80ICat82DelegatesFakeDelegate83MRefDelegate84MRefNormalDelegate85MRef86Demo87Enumeration88EnumsColorType89", + "Text": "BuildFromVBSourceCode47ClassesBaseClass148Class149CatLibrary52Core54ClassesContainersRefType.ContainersRefTypeChild55ExplicitLayoutClass56Issue23157StructsContainersRefType58InterfacesContainersRefType.ContainersRefTypeChildInterface60EnumsContainersRefType.ColorType61DelegatesContainersRefType.ContainersRefTypeDelegate62ClassesCat63CatException71Complex72ICatExtension73Tom75TomFromBaseClass77InterfacesIAnimal78ICat80DelegatesFakeDelegate81MRefDelegate82MRefNormalDelegate83MRef84Demo85Enumeration86EnumsColorType87", "Links": [ + { + "Goto": { + "PageNumber": 47, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, { "Goto": { "PageNumber": 48, @@ -292,7 +301,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -301,7 +310,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -346,7 +355,7 @@ }, { "Goto": { - "PageNumber": 59, + "PageNumber": 60, "Type": 2, "Coordinates": { "Top": 0 @@ -382,7 +391,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -391,7 +400,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -400,7 +409,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -427,7 +436,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 78, "Type": 2, "Coordinates": { "Top": 0 @@ -445,16 +454,7 @@ }, { "Goto": { - "PageNumber": 82, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 83, + "PageNumber": 81, "Type": 2, "Coordinates": { "Top": 0 @@ -463,7 +463,7 @@ }, { "Goto": { - "PageNumber": 84, + "PageNumber": 82, "Type": 2, "Coordinates": { "Top": 0 @@ -472,7 +472,7 @@ }, { "Goto": { - "PageNumber": 85, + "PageNumber": 83, "Type": 2, "Coordinates": { "Top": 0 @@ -481,7 +481,7 @@ }, { "Goto": { - "PageNumber": 86, + "PageNumber": 84, "Type": 2, "Coordinates": { "Top": 0 @@ -490,7 +490,7 @@ }, { "Goto": { - "PageNumber": 87, + "PageNumber": 85, "Type": 2, "Coordinates": { "Top": 0 @@ -499,7 +499,7 @@ }, { "Goto": { - "PageNumber": 88, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -508,7 +508,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 87, "Type": 2, "Coordinates": { "Top": 0 @@ -519,7 +519,7 @@ }, { "Number": 3, - "Text": "3 / 89ClassesClass1This is a test class.StructsIssue5432Namespace BuildFromAssembly", + "Text": "3 / 87ClassesClass1This is a test class.StructsIssue5432Namespace BuildFromAssembly", "Links": [ { "Goto": { @@ -543,7 +543,7 @@ }, { "Number": 4, - "Text": "4 / 89Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 Class1Inherited Membersobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ToString()\uF1C5 ,object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5ConstructorsMethodsHello World.Class Class1public class Class1\uF12CClass1()public Class1()HelloWorld()public static void HelloWorld()", + "Text": "4 / 87Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 Class1Inherited Membersobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ToString()\uF1C5 , object.Equals(object?)\uF1C5 ,object.Equals(object?, object?)\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5ConstructorsMethodsHello World.Class Class1public class Class1\uF12CClass1()public Class1()HelloWorld()public static void HelloWorld()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -639,7 +639,7 @@ }, { "Number": 5, - "Text": "5 / 89Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllInherited Membersobject.GetType()\uF1C5 , object.ToString()\uF1C5 , object.Equals(object?)\uF1C5 ,object.Equals(object?, object?)\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 ,object.GetHashCode()\uF1C5PropertiesProperty Valuestring\uF1C5Struct Issue5432public struct Issue5432Namepublic string Name { get; }", + "Text": "5 / 87Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllInherited Membersobject.GetType()\uF1C5 , object.ToString()\uF1C5 , object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5PropertiesProperty Valuestring\uF1C5Struct Issue5432public struct Issue5432Namepublic string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" @@ -717,7 +717,7 @@ }, { "Number": 6, - "Text": "6 / 89ClassesCSharpNamespace BuildFromCSharpSourceCode", + "Text": "6 / 87ClassesCSharpNamespace BuildFromCSharpSourceCode", "Links": [ { "Goto": { @@ -732,7 +732,7 @@ }, { "Number": 7, - "Text": "7 / 89Namespace:BuildFromCSharpSourceCodeInheritanceobject\uF1C5 CSharpInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsParametersargs string\uF1C5[]Class CSharppublic class CSharp\uF12CMain(string[])public static void Main(string[] args)", + "Text": "7 / 87Namespace:BuildFromCSharpSourceCodeInheritanceobject\uF1C5 CSharpInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsParametersargs string\uF1C5[]Class CSharppublic class CSharp\uF12CMain(string[])public static void Main(string[] args)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -837,7 +837,7 @@ }, { "Number": 8, - "Text": "8 / 89NamespacesBuildFromProject.Issue8540ClassesInheritdoc.Issue6366.Class1Class1Inheritdoc.Issue6366.Class2DogClass representing a dog.InheritdocInheritdoc.Issue6366Inheritdoc.Issue7035Inheritdoc.Issue7484This is a test class to have something for DocFX to document.Inheritdoc.Issue8101Class1.Issue8665Class1.Issue8696AttributeIssue8725A nice classClass1.Issue8948Class1.TestStructsInheritdoc.Issue8129InterfacesNamespace BuildFromProject", + "Text": "8 / 87NamespacesBuildFromProject.Issue8540ClassesInheritdoc.Issue6366.Class1Class1Inheritdoc.Issue6366.Class2DogClass representing a dog.InheritdocInheritdoc.Issue6366Inheritdoc.Issue7035Inheritdoc.Issue7484This is a test class to have something for DocFX to document.Inheritdoc.Issue8101Class1.Issue8665Class1.Issue8696AttributeIssue8725A nice classClass1.Issue8948Class1.TestStructsInheritdoc.Issue8129InterfacesNamespace BuildFromProject", "Links": [ { "Goto": { @@ -976,7 +976,7 @@ }, { "Goto": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -987,11 +987,11 @@ }, { "Number": 9, - "Text": "9 / 89IInheritdocClass1.IIssue8948EnumsClass1.Issue9260", + "Text": "9 / 87IInheritdocClass1.IIssue8948EnumsClass1.Issue9260", "Links": [ { "Goto": { - "PageNumber": 46, + "PageNumber": 45, "Type": 2, "Coordinates": { "Top": 0 @@ -1000,7 +1000,7 @@ }, { "Goto": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -1009,7 +1009,7 @@ }, { "Goto": { - "PageNumber": 47, + "PageNumber": 46, "Type": 2, "Coordinates": { "Top": 0 @@ -1020,7 +1020,7 @@ }, { "Number": 10, - "Text": "10 / 89NamespacesBuildFromProject.Issue8540.ABuildFromProject.Issue8540.BNamespace BuildFromProject.Issue8540", + "Text": "10 / 87NamespacesBuildFromProject.Issue8540.ABuildFromProject.Issue8540.BNamespace BuildFromProject.Issue8540", "Links": [ { "Goto": { @@ -1044,7 +1044,7 @@ }, { "Number": 11, - "Text": "11 / 89ClassesANamespace BuildFromProject.Issue8540.A", + "Text": "11 / 87ClassesANamespace BuildFromProject.Issue8540.A", "Links": [ { "Goto": { @@ -1059,7 +1059,7 @@ }, { "Number": 12, - "Text": "12 / 89Namespace:BuildFromProject.Issue8540.AAssembly:BuildFromProject.dllInheritanceobject\uF1C5 AInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Apublic class A\uF12C", + "Text": "12 / 87Namespace:BuildFromProject.Issue8540.AAssembly:BuildFromProject.dllInheritanceobject\uF1C5 AInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Apublic class A\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1155,7 +1155,7 @@ }, { "Number": 13, - "Text": "13 / 89ClassesBNamespace BuildFromProject.Issue8540.B", + "Text": "13 / 87ClassesBNamespace BuildFromProject.Issue8540.B", "Links": [ { "Goto": { @@ -1170,7 +1170,7 @@ }, { "Number": 14, - "Text": "14 / 89Namespace:BuildFromProject.Issue8540.BAssembly:BuildFromProject.dllInheritanceobject\uF1C5 BInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Bpublic class B\uF12C", + "Text": "14 / 87Namespace:BuildFromProject.Issue8540.BAssembly:BuildFromProject.dllInheritanceobject\uF1C5 BInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Bpublic class B\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1266,7 +1266,7 @@ }, { "Number": 15, - "Text": "15 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1ImplementsIClass1Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsPricing models are used to calculate theoretical option values1-Black Scholes2-Black763-Black76Fut4-Equity Tree5-Variance Swap6-Dividend ForecastClass Class1 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1' is for evaluation purposes only and is subject tochange or removal in future updates.public class Class1 : IClass1\uF12CIssue1651()public void Issue1651()", + "Text": "15 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1ImplementsIClass1Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsPricing models are used to calculate theoretical option values1-Black Scholes2-Black763-Black76Fut4-Equity Tree5-Variance Swap6-Dividend ForecastClass Class1 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1' is for evaluation purposes only and is subject to change orremoval in future updates.public class Class1 : IClass1\uF12CIssue1651()public void Issue1651()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1371,12 +1371,12 @@ }, { "Number": 16, - "Text": "16 / 89IConfiguration related helper and extension routines.ExamplesRemarksFor example:Issue1887() Preview'BuildFromProject.Class1.Issue1887()' is for evaluation purposes only and is subject tochange or removal in future updates.public void Issue1887()Issue2623()public void Issue2623()MyClass myClass = new MyClass();void Update(){ myClass.Execute();}MyClass myClass = new MyClass();void Update(){ myClass.Execute();}Issue2723()", + "Text": "16 / 87IConfiguration related helper and extension routines.ExamplesRemarksFor example:Issue1887() Preview'BuildFromProject.Class1.Issue1887()' is for evaluation purposes only and is subject to change orremoval in future updates.public void Issue1887()Issue2623()public void Issue2623()MyClass myClass = new MyClass();void Update(){ myClass.Execute();}MyClass myClass = new MyClass();void Update(){ myClass.Execute();}Issue2723()", "Links": [] }, { "Number": 17, - "Text": "17 / 89RemarksInline .link\uF1C5Examplespublic void Issue2723()NOTEThis is a . & \" '\uF431for (var i = 0; i > 10; i++) // & \" 'var range = new Range { Min = 0, Max = 10 };var range = new Range { Min = 0, Max = 10 };Issue4017()public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine", + "Text": "17 / 87RemarksInline .link\uF1C5Examplespublic void Issue2723()NOTEThis is a . & \" '\uF431for (var i = 0; i > 10; i++) // & \" 'var range = new Range { Min = 0, Max = 10 };var range = new Range { Min = 0, Max = 10 };Issue4017()public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content);", "Links": [ { "Uri": "https://www.github.com/" @@ -1391,12 +1391,12 @@ }, { "Number": 18, - "Text": "18 / 89RemarksRemarks@\"\\\\?\\\" @\"\\\\?\\\"RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee Description + message.Content); return Task.CompletedTask;}void Update(){ myClass.Execute();}Issue4392()public void Issue4392()Issue7484()public void Issue7484()Issue8764()", + "Text": "18 / 87RemarksRemarks@\"\\\\?\\\" @\"\\\\?\\\"RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee Description return Task.CompletedTask;}void Update(){ myClass.Execute();}Issue4392()public void Issue4392()Issue7484()public void Issue7484()Issue8764()public void Issue8764() where T : unmanaged", "Links": [] }, { "Number": 19, - "Text": "19 / 89Type ParametersTTestSee AlsoClass1.Test , Class1Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:Returnsdouble\uF1C5public void Issue8764() where T : unmanagedIssue896()public void Issue896()Issue9216()public static double Issue9216()XmlCommentIncludeTag()", + "Text": "19 / 87Type ParametersTTestSee AlsoClass1.Test , Class1Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:Returnsdouble\uF1C5This method should do something...Issue896()public void Issue896()Issue9216()public static double Issue9216()XmlCommentIncludeTag()public void XmlCommentIncludeTag()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.double" @@ -1438,12 +1438,12 @@ }, { "Number": 20, - "Text": "20 / 89This method should do something...RemarksThis is remarks.public void XmlCommentIncludeTag()", + "Text": "20 / 87RemarksThis is remarks.", "Links": [] }, { "Number": 21, - "Text": "21 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8665Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersfoo int\uF1C5Class Class1.Issue8665 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue8665' is for evaluation purposes only and issubject to change or removal in future updates.public class Class1.Issue8665\uF12CIssue8665()public Issue8665()Issue8665(int)public Issue8665(int foo)", + "Text": "21 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8665Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersfoo int\uF1C5Class Class1.Issue8665 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue8665' is for evaluation purposes only and is subject tochange or removal in future updates.public class Class1.Issue8665\uF12CIssue8665()public Issue8665()Issue8665(int)public Issue8665(int foo)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1557,7 +1557,7 @@ }, { "Number": 22, - "Text": "22 / 89Parametersfoo int\uF1C5bar char\uF1C5Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesProperty Valuechar\uF1C5Issue8665(int, char)public Issue8665(int foo, char bar)Issue8665(int, char, string)public Issue8665(int foo, char bar, string baz)Barpublic char Bar { get; }Bazpublic string Baz { get; }", + "Text": "22 / 87Parametersfoo int\uF1C5bar char\uF1C5Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesProperty Valuechar\uF1C5Issue8665(int, char)public Issue8665(int foo, char bar)Issue8665(int, char, string)public Issue8665(int foo, char bar, string baz)Barpublic char Bar { get; }Bazpublic string Baz { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -1617,7 +1617,7 @@ }, { "Number": 23, - "Text": "23 / 89Property Valuestring\uF1C5Property Valueint\uF1C5Foopublic int Foo { get; }", + "Text": "23 / 87Property Valuestring\uF1C5Property Valueint\uF1C5Foopublic int Foo { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -1641,7 +1641,7 @@ }, { "Number": 24, - "Text": "24 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Attribute\uF1C5 Class1.Issue8696AttributeInherited MembersAttribute.Equals(object?)\uF1C5 , Attribute.GetCustomAttribute(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(Assembly)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, bool)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(Module)\uF1C5 , Attribute.GetCustomAttributes(Module, bool)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5 ,Class Class1.Issue8696Attribute PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue8696Attribute' is for evaluation purposesonly and is subject to change or removal in future updates.public class Class1.Issue8696Attribute : Attribute\uF12C\uF12C", + "Text": "24 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Attribute\uF1C5 Class1.Issue8696AttributeInherited MembersAttribute.Equals(object?)\uF1C5 , Attribute.GetCustomAttribute(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type)\uF1C5 , Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(Assembly)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, bool)\uF1C5 , Attribute.GetCustomAttributes(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(MemberInfo)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(Module)\uF1C5 ,Attribute.GetCustomAttributes(Module, bool)\uF1C5 , Attribute.GetCustomAttributes(Module, Type)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(ParameterInfo)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetHashCode()\uF1C5 ,Attribute.IsDefaultAttribute()\uF1C5 , Attribute.IsDefined(Assembly, Type)\uF1C5 ,Attribute.IsDefined(Assembly, Type, bool)\uF1C5 , Attribute.IsDefined(MemberInfo, Type)\uF1C5 ,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5 , Attribute.IsDefined(Module, Type)\uF1C5 ,Attribute.IsDefined(Module, Type, bool)\uF1C5 , Attribute.IsDefined(ParameterInfo, Type)\uF1C5 ,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5 , Attribute.Match(object?)\uF1C5 , Attribute.TypeId\uF1C5 ,Class Class1.Issue8696Attribute PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue8696Attribute' is for evaluation purposes only and issubject to change or removal in future updates.public class Class1.Issue8696Attribute : Attribute\uF12C\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1877,39 +1877,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-parameterinfo-system-type)" }, - { - "Uri": "https://example.org/DOCFX001" - }, - { - "Uri": "https://example.org/DOCFX001" - }, - { - "Uri": "https://example.org/DOCFX001" - }, - { - "Goto": { - "PageNumber": 8, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 24, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - } - ] - }, - { - "Number": 25, - "Text": "25 / 89Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetHashCode()\uF1C5 ,Attribute.IsDefaultAttribute()\uF1C5 , Attribute.IsDefined(Assembly, Type)\uF1C5 ,Attribute.IsDefined(Assembly, Type, bool)\uF1C5 , Attribute.IsDefined(MemberInfo, Type)\uF1C5 ,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5 , Attribute.IsDefined(Module, Type)\uF1C5 ,Attribute.IsDefined(Module, Type, bool)\uF1C5 , Attribute.IsDefined(ParameterInfo, Type)\uF1C5 ,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5 , Attribute.Match(object?)\uF1C5 ,Attribute.TypeId\uF1C5 , object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 ,object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersdescription string\uF1C5?boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]?hasMultipleSelections bool\uF1C5enumType Type\uF1C5?Issue8696Attribute(string?, int, int, string[]?, bool,Type?)[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", - "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-parameterinfo-system-type-system-boolean)" }, @@ -2027,6 +1994,39 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.typeid" }, + { + "Uri": "https://example.org/DOCFX001" + }, + { + "Uri": "https://example.org/DOCFX001" + }, + { + "Uri": "https://example.org/DOCFX001" + }, + { + "Goto": { + "PageNumber": 8, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, + { + "Goto": { + "PageNumber": 24, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + } + ] + }, + { + "Number": 25, + "Text": "25 / 87object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersdescription string\uF1C5?boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]?hasMultipleSelections bool\uF1C5enumType Type\uF1C5?Issue8696Attribute(string?, int, int, string[]?, bool, Type?)[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" }, @@ -2148,7 +2148,7 @@ }, { "Number": 26, - "Text": "26 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsDoes nothing with generic type T.Type ParametersTA generic type.Class Class1.Issue8948 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue8948' is for evaluation purposes only and issubject to change or removal in future updates.public class Class1.Issue8948 : Class1.IIssue8948\uF12CDoNothing()public void DoNothing()", + "Text": "26 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsDoes nothing with generic type T.Type ParametersTA generic type.Class Class1.Issue8948 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue8948' is for evaluation purposes only and is subject tochange or removal in future updates.public class Class1.Issue8948 : Class1.IIssue8948\uF12CDoNothing()public void DoNothing()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2251,7 +2251,7 @@ }, { "Goto": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -2262,7 +2262,7 @@ }, { "Number": 27, - "Text": "27 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Class1.TestInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Class1.Test PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Test' is for evaluation purposes only and issubject to change or removal in future updates.public class Class1.Test\uF12C", + "Text": "27 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Class1.TestInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Class1.Test PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Test' is for evaluation purposes only and is subject to changeor removal in future updates.public class Class1.Test\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2367,7 +2367,7 @@ }, { "Number": 28, - "Text": "28 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 DogInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsConstructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.Class Dogpublic class Dog\uF12CDog(string, int)public Dog(string name, int age)", + "Text": "28 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 DogInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsConstructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesClass Dogpublic class Dog\uF12CDog(string, int)public Dog(string name, int age)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2481,7 +2481,7 @@ }, { "Number": 29, - "Text": "29 / 89PropertiesAge of the dog.Property Valueint\uF1C5Name of the dog.Property Valuestring\uF1C5Agepublic int Age { get; }Namepublic string Name { get; }", + "Text": "29 / 87Age of the dog.Property Valueint\uF1C5Name of the dog.Property Valuestring\uF1C5Agepublic int Age { get; }Namepublic string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -2505,7 +2505,7 @@ }, { "Number": 30, - "Text": "30 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 InheritdocImplementsIInheritdoc , IDisposable\uF1C5Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsPerforms application-defined tasks associated with freeing, releasing, or resettingunmanaged resources.This method should do something...Class Inheritdocpublic class Inheritdoc : IInheritdoc, IDisposable\uF12CDispose()public void Dispose()Issue7628()public void Issue7628()", + "Text": "30 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 InheritdocImplementsIInheritdoc , IDisposable\uF1C5Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.This method should do something...Class Inheritdocpublic class Inheritdoc : IInheritdoc, IDisposable\uF12CDispose()public void Dispose()Issue7628()public void Issue7628()Issue7629()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2608,7 +2608,7 @@ }, { "Goto": { - "PageNumber": 46, + "PageNumber": 45, "Type": 2, "Coordinates": { "Top": 0 @@ -2619,12 +2619,12 @@ }, { "Number": 31, - "Text": "31 / 89This method should do something...Issue7629()public void Issue7629()", + "Text": "31 / 87This method should do something...public void Issue7629()", "Links": [] }, { "Number": 32, - "Text": "32 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Inheritdoc.Issue6366public class Inheritdoc.Issue6366\uF12C", + "Text": "32 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Inheritdoc.Issue6366public class Inheritdoc.Issue6366\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2720,7 +2720,7 @@ }, { "Number": 33, - "Text": "33 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class1public abstract class Inheritdoc.Issue6366.Class1\uF12CTestMethod1(T, int)public abstract T TestMethod1(T parm1, int parm2)", + "Text": "33 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class1public abstract class Inheritdoc.Issue6366.Class1\uF12CTestMethod1(T, int)public abstract T TestMethod1(T parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2825,12 +2825,12 @@ }, { "Number": 34, - "Text": "34 / 89ReturnsTThis text inherited.", + "Text": "34 / 87ReturnsTThis text inherited.", "Links": [] }, { "Number": 35, - "Text": "35 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1 Inheritdoc.Issue6366.Class2Inherited MembersInheritdoc.Issue6366.Class1.TestMethod1(bool, int) , object.Equals(object?)\uF1C5 ,object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 ,object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5Class Inheritdoc.Issue6366.Class2public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1\uF12C\uF12CTestMethod1(bool, int)public override bool TestMethod1(bool parm1, int parm2)", + "Text": "35 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1 Inheritdoc.Issue6366.Class2Inherited MembersInheritdoc.Issue6366.Class1.TestMethod1(bool, int) , object.Equals(object?)\uF1C5 ,object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5Class Inheritdoc.Issue6366.Class2public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1\uF12C\uF12CTestMethod1(bool, int)public override bool TestMethod1(bool parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2963,7 +2963,7 @@ "PageNumber": 33, "Coordinates": { "Left": 0, - "Top": 337.5 + "Top": 356.25 } } } @@ -2971,12 +2971,12 @@ }, { "Number": 36, - "Text": "36 / 89This text inherited.", + "Text": "36 / 87This text inherited.", "Links": [] }, { "Number": 37, - "Text": "37 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue7035Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsClass Inheritdoc.Issue7035public class Inheritdoc.Issue7035\uF12CA()public void A()B()public void B()", + "Text": "37 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue7035Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsClass Inheritdoc.Issue7035public class Inheritdoc.Issue7035\uF12CA()public void A()B()public void B()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3072,7 +3072,7 @@ }, { "Number": 38, - "Text": "38 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 Inheritdoc.Issue7484Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsThis is a constructor to document.Class Inheritdoc.Issue7484public class Inheritdoc.Issue7484\uF12CIssue7484()public Issue7484()", + "Text": "38 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 Inheritdoc.Issue7484Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsThis is a constructor to document.PropertiesClass Inheritdoc.Issue7484public class Inheritdoc.Issue7484\uF12CIssue7484()public Issue7484()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3183,7 +3183,7 @@ }, { "Number": 39, - "Text": "39 / 89PropertiesA string that could have something.Property Valuestring\uF1C5MethodsSimple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I canwrite documentation like this.DoDadpublic string DoDad { get; }BoolReturningMethod(bool)public bool BoolReturningMethod(bool source)", + "Text": "39 / 87A string that could have something.Property Valuestring\uF1C5MethodsSimple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I can writedocumentation like this.DoDadpublic string DoDad { get; }BoolReturningMethod(bool)public bool BoolReturningMethod(bool source)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -3216,7 +3216,7 @@ }, { "Number": 40, - "Text": "40 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue8101Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsCreate a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.Class Inheritdoc.Issue8101public class Inheritdoc.Issue8101\uF12CTween(float, float, float, Action<float>)public static object Tween(float from, float to, float duration, Action onChange)", + "Text": "40 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue8101Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsCreate a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5Class Inheritdoc.Issue8101public class Inheritdoc.Issue8101\uF12CTween(float, float, float, Action)public static object Tween(float from, float to, float duration, Action onChange)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3317,6 +3317,24 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.single" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.action-1" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.action-1" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.action-1" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.single" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.single" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.single" + }, { "Goto": { "PageNumber": 8, @@ -3339,26 +3357,8 @@ }, { "Number": 41, - "Text": "41 / 89onChange Action\uF1C5<float\uF1C5>A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Create a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Tween(int, int, float, Action)public static object Tween(int from, int to, float duration, Action onChange)", + "Text": "41 / 87A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Create a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Tween(int, int, float, Action)public static object Tween(int from, int to, float duration, Action onChange)", "Links": [ - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.action-1" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.action-1" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.action-1" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.single" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.single" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.single" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" }, @@ -3426,7 +3426,7 @@ }, { "Number": 42, - "Text": "42 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllA nice classInheritanceobject\uF1C5 Issue8725Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsAnother nice operationA nice operationSee AlsoClass1Class Issue8725public class Issue8725\uF12CMoreOperations()public void MoreOperations()MyOperation()public void MyOperation()", + "Text": "42 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllA nice classInheritanceobject\uF1C5 Issue8725Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsAnother nice operationA nice operationSee AlsoClass1Class Issue8725public class Issue8725\uF12CMoreOperations()public void MoreOperations()MyOperation()public void MyOperation()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3531,12 +3531,7 @@ }, { "Number": 43, - "Text": "43 / 89", - "Links": [] - }, - { - "Number": 44, - "Text": "44 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersfoo string\uF1C5Struct Inheritdoc.Issue8129public struct Inheritdoc.Issue8129Issue8129(string)public Issue8129(string foo)", + "Text": "43 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersfoo string\uF1C5Struct Inheritdoc.Issue8129public struct Inheritdoc.Issue8129Issue8129(string)public Issue8129(string foo)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" @@ -3613,8 +3608,8 @@ ] }, { - "Number": 45, - "Text": "45 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsDoes nothing with generic type T.Type ParametersTA generic type.Interface Class1.IIssue8948 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.IIssue8948' is for evaluation purposes only andis subject to change or removal in future updates.public interface Class1.IIssue8948DoNothing()void DoNothing()", + "Number": 44, + "Text": "44 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsDoes nothing with generic type T.Type ParametersTA generic type.Interface Class1.IIssue8948 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.IIssue8948' is for evaluation purposes only and is subject tochange or removal in future updates.public interface Class1.IIssue8948DoNothing()void DoNothing()", "Links": [ { "Uri": "https://example.org/DOCFX001" @@ -3637,8 +3632,8 @@ ] }, { - "Number": 46, - "Text": "46 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsThis method should do something...Interface IInheritdocpublic interface IInheritdocIssue7629()void Issue7629()", + "Number": 45, + "Text": "45 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsThis method should do something...Interface IInheritdocpublic interface IInheritdocIssue7629()void Issue7629()", "Links": [ { "Goto": { @@ -3652,8 +3647,8 @@ ] }, { - "Number": 47, - "Text": "47 / 89Namespace:BuildFromProjectAssembly:BuildFromProject.dllFieldsValue = 0This is a regular enum value.This is a remarks section. Very important remarks about Value go here.OldAndUnusedValue = 1 DeprecatedThis is old and unused. You shouldn't use it anymore.Don't use this, seriously! Use Value instead.OldAndUnusedValue2 = 2 DeprecatedThis is old and unused. You shouldn't use it anymore.Don't use this, seriously! Use Value instead.Enum Class1.Issue9260 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue9260' is for evaluation purposes only and issubject to change or removal in future updates.public enum Class1.Issue9260Use Value", + "Number": 46, + "Text": "46 / 87Namespace:BuildFromProjectAssembly:BuildFromProject.dllFieldsValue = 0This is a regular enum value.This is a remarks section. Very important remarks about Value go here.OldAndUnusedValue = 1 DeprecatedThis is old and unused. You shouldn't use it anymore.Don't use this, seriously! Use Value instead.OldAndUnusedValue2 = 2 DeprecatedThis is old and unused. You shouldn't use it anymore.Don't use this, seriously! Use Value instead.Enum Class1.Issue9260 PreviewDOCFX001\uF1C5: 'BuildFromProject.Class1.Issue9260' is for evaluation purposes only and is subject tochange or removal in future updates.public enum Class1.Issue9260Use Value", "Links": [ { "Uri": "https://example.org/DOCFX001" @@ -3676,12 +3671,12 @@ ] }, { - "Number": 48, - "Text": "48 / 89ClassesBaseClass1This is the BaseClassClass1This is summary from vb class...Namespace BuildFromVBSourceCode", + "Number": 47, + "Text": "47 / 87ClassesBaseClass1This is the BaseClassClass1This is summary from vb class...Namespace BuildFromVBSourceCode", "Links": [ { "Goto": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -3690,7 +3685,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -3700,8 +3695,8 @@ ] }, { - "Number": 49, - "Text": "49 / 89Namespace:BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 ,object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParameterskeyword Class1ReturnsDateTime\uF1C5Class BaseClass1public abstract class BaseClass1\uF12CWithDeclarationKeyword(Class1)public abstract DateTime WithDeclarationKeyword(Class1 keyword)", + "Number": 48, + "Text": "48 / 87Namespace:BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParameterskeyword Class1ReturnsDateTime\uF1C5Class BaseClass1public abstract class BaseClass1\uF12CWithDeclarationKeyword(Class1)public abstract DateTime WithDeclarationKeyword(Class1 keyword)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3795,7 +3790,7 @@ }, { "Goto": { - "PageNumber": 48, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -3804,7 +3799,7 @@ }, { "Goto": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -3813,7 +3808,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -3822,7 +3817,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -3832,8 +3827,8 @@ ] }, { - "Number": 50, - "Text": "50 / 89Namespace:BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 BaseClass1 Class1Inherited MembersBaseClass1.WithDeclarationKeyword(Class1) , object.Equals(object)\uF1C5 ,object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5FieldsThis is a Value typeField ValueClass1PropertiesClass Class1public class Class1 : BaseClass1\uF12C\uF12CValueClasspublic Class1 ValueClassKeyword DeprecatedThis member is obsolete.", + "Number": 49, + "Text": "49 / 87Namespace:BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 BaseClass1 Class1Inherited MembersBaseClass1.WithDeclarationKeyword(Class1) , object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 ,object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5FieldsThis is a Value typeField ValueClass1PropertiesClass Class1public class Class1 : BaseClass1\uF12C\uF12CValueClasspublic Class1 ValueClassKeyword DeprecatedThis member is obsolete.", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3918,7 +3913,7 @@ }, { "Goto": { - "PageNumber": 48, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -3927,7 +3922,7 @@ }, { "Goto": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -3936,7 +3931,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -3945,16 +3940,16 @@ }, { "Goto": { - "PageNumber": 49, + "PageNumber": 48, "Coordinates": { "Left": 0, - "Top": 336 + "Top": 336.75 } } }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -3964,8 +3959,8 @@ ] }, { - "Number": 51, - "Text": "51 / 89Property ValueClass1MethodsThis is a FunctionParametersname string\uF1C5Name as the String valueReturnsint\uF1C5Returns AhoooWhat is Sub?Parameterskeyword Class1[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }Value(string)public int Value(string name)WithDeclarationKeyword(Class1)public override DateTime WithDeclarationKeyword(Class1 keyword)", + "Number": 50, + "Text": "50 / 87Property ValueClass1MethodsThis is a FunctionParametersname string\uF1C5Name as the String valueReturnsint\uF1C5Returns AhoooWhat is Sub?Parameterskeyword Class1[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }Value(string)public int Value(string name)WithDeclarationKeyword(Class1)public override DateTime WithDeclarationKeyword(Class1 keyword)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -3987,7 +3982,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -3996,7 +3991,7 @@ }, { "Goto": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -4006,8 +4001,8 @@ ] }, { - "Number": 52, - "Text": "52 / 89ReturnsDateTime\uF1C5", + "Number": 51, + "Text": "51 / 87ReturnsDateTime\uF1C5", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.datetime" @@ -4021,12 +4016,12 @@ ] }, { - "Number": 53, - "Text": "53 / 89NamespacesCatLibrary.CoreClassesCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classCatExceptionComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatNamespace CatLibrary", + "Number": 52, + "Text": "52 / 87NamespacesCatLibrary.CoreClassesCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classCatExceptionComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interfaceNamespace CatLibrary", "Links": [ { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4035,7 +4030,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4050,7 +4045,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -4059,7 +4054,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -4068,7 +4063,7 @@ }, { "Goto": { - "PageNumber": 75, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -4077,7 +4072,7 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -4086,7 +4081,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -4095,7 +4090,7 @@ }, { "Goto": { - "PageNumber": 80, + "PageNumber": 78, "Type": 2, "Coordinates": { "Top": 0 @@ -4104,7 +4099,7 @@ }, { "Goto": { - "PageNumber": 82, + "PageNumber": 80, "Type": 2, "Coordinates": { "Top": 0 @@ -4114,12 +4109,12 @@ ] }, { - "Number": 54, - "Text": "54 / 89Cat's interfaceDelegatesFakeDelegateFake delegateMRefDelegateGeneric delegate with many constrains.MRefNormalDelegateDelegate in the namespace", + "Number": 53, + "Text": "53 / 87DelegatesFakeDelegateFake delegateMRefDelegateGeneric delegate with many constrains.MRefNormalDelegateDelegate in the namespace", "Links": [ { "Goto": { - "PageNumber": 83, + "PageNumber": 81, "Type": 2, "Coordinates": { "Top": 0 @@ -4128,7 +4123,7 @@ }, { "Goto": { - "PageNumber": 84, + "PageNumber": 82, "Type": 2, "Coordinates": { "Top": 0 @@ -4137,7 +4132,7 @@ }, { "Goto": { - "PageNumber": 85, + "PageNumber": 83, "Type": 2, "Coordinates": { "Top": 0 @@ -4147,12 +4142,12 @@ ] }, { - "Number": 55, - "Text": "55 / 89ClassesContainersRefType.ContainersRefTypeChildExplicitLayoutClassIssue231Issue231StructsContainersRefTypeStruct ContainersRefTypeInterfacesContainersRefType.ContainersRefTypeChildInterfaceEnumsContainersRefType.ColorTypeEnumeration ColorTypeDelegatesContainersRefType.ContainersRefTypeDelegateDelegate ContainersRefTypeDelegateNamespace CatLibrary.Core", + "Number": 54, + "Text": "54 / 87ClassesContainersRefType.ContainersRefTypeChildExplicitLayoutClassIssue231Issue231StructsContainersRefTypeStruct ContainersRefTypeInterfacesContainersRefType.ContainersRefTypeChildInterfaceEnumsContainersRefType.ColorTypeEnumeration ColorTypeDelegatesContainersRefType.ContainersRefTypeDelegateDelegate ContainersRefTypeDelegateNamespace CatLibrary.Core", "Links": [ { "Goto": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -4161,7 +4156,7 @@ }, { "Goto": { - "PageNumber": 57, + "PageNumber": 56, "Type": 2, "Coordinates": { "Top": 0 @@ -4170,7 +4165,7 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -4179,7 +4174,7 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -4188,7 +4183,7 @@ }, { "Goto": { - "PageNumber": 59, + "PageNumber": 58, "Type": 2, "Coordinates": { "Top": 0 @@ -4197,7 +4192,7 @@ }, { "Goto": { - "PageNumber": 61, + "PageNumber": 60, "Type": 2, "Coordinates": { "Top": 0 @@ -4206,7 +4201,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4215,7 +4210,7 @@ }, { "Goto": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -4225,8 +4220,8 @@ ] }, { - "Number": 56, - "Text": "56 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ClassContainersRefType.ContainersRefTypeChildpublic class ContainersRefType.ContainersRefTypeChild\uF12C", + "Number": 55, + "Text": "55 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ClassContainersRefType.ContainersRefTypeChildpublic class ContainersRefType.ContainersRefTypeChild\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4302,7 +4297,7 @@ }, { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4311,7 +4306,7 @@ }, { "Goto": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -4321,8 +4316,8 @@ ] }, { - "Number": 57, - "Text": "57 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ExplicitLayoutClassInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class ExplicitLayoutClasspublic class ExplicitLayoutClass\uF12C", + "Number": 56, + "Text": "56 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ExplicitLayoutClassInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class ExplicitLayoutClasspublic class ExplicitLayoutClass\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4398,7 +4393,7 @@ }, { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4407,7 +4402,7 @@ }, { "Goto": { - "PageNumber": 57, + "PageNumber": 56, "Type": 2, "Coordinates": { "Top": 0 @@ -4417,8 +4412,8 @@ ] }, { - "Number": 58, - "Text": "58 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.dll, CatLibrary.Core.dllInheritanceobject\uF1C5 Issue231Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsParametersc ContainersRefTypeParametersc ContainersRefTypeClass Issue231public static class Issue231\uF12CBar(ContainersRefType)public static void Bar(this ContainersRefType c)Foo(ContainersRefType)public static void Foo(this ContainersRefType c)", + "Number": 57, + "Text": "57 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.dll, CatLibrary.Core.dllInheritanceobject\uF1C5 Issue231Inherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsParametersc ContainersRefTypeParametersc ContainersRefTypeClass Issue231public static class Issue231\uF12CBar(ContainersRefType)public static void Bar(this ContainersRefType c)Foo(ContainersRefType)public static void Foo(this ContainersRefType c)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4494,7 +4489,7 @@ }, { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4503,7 +4498,7 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -4512,7 +4507,7 @@ }, { "Goto": { - "PageNumber": 59, + "PageNumber": 58, "Type": 2, "Coordinates": { "Top": 0 @@ -4521,7 +4516,7 @@ }, { "Goto": { - "PageNumber": 59, + "PageNumber": 58, "Type": 2, "Coordinates": { "Top": 0 @@ -4531,8 +4526,8 @@ ] }, { - "Number": 59, - "Text": "59 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllStruct ContainersRefTypeInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Extension MethodsIssue231.Bar(ContainersRefType) , Issue231.Foo(ContainersRefType)FieldsColorCountField Valuelong\uF1C5PropertiesGetColorCountStruct ContainersRefTypepublic struct ContainersRefTypeColorCountpublic long ColorCountGetColorCount", + "Number": 58, + "Text": "58 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllStruct ContainersRefTypeInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Extension MethodsIssue231.Bar(ContainersRefType) , Issue231.Foo(ContainersRefType)FieldsColorCountField Valuelong\uF1C5PropertiesGetColorCountStruct ContainersRefTypepublic struct ContainersRefTypeColorCountpublic long ColorCountGetColorCount", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" @@ -4599,7 +4594,7 @@ }, { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4608,27 +4603,27 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Coordinates": { "Left": 0, - "Top": 408 + "Top": 426.75 } } }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Coordinates": { "Left": 0, - "Top": 232.5 + "Top": 251.25 } } } ] }, { - "Number": 60, - "Text": "60 / 89Property Valuelong\uF1C5MethodsContainersRefTypeNonRefMethodarrayParametersparmsArray object\uF1C5[]Returnsint\uF1C5Event TypeEventHandler\uF1C5public long GetColorCount { get; }ContainersRefTypeNonRefMethod(params object[])public static int ContainersRefTypeNonRefMethod(params object[] parmsArray)ContainersRefTypeEventHandlerpublic event EventHandler ContainersRefTypeEventHandler", + "Number": 59, + "Text": "59 / 87Property Valuelong\uF1C5MethodsContainersRefTypeNonRefMethodarrayParametersparmsArray object\uF1C5[]Returnsint\uF1C5Event TypeEventHandler\uF1C5public long GetColorCount { get; }ContainersRefTypeNonRefMethod(params object[])public static int ContainersRefTypeNonRefMethod(params object[] parmsArray)ContainersRefTypeEventHandlerpublic event EventHandler ContainersRefTypeEventHandler", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -4669,12 +4664,12 @@ ] }, { - "Number": 61, - "Text": "61 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInterfaceContainersRefType.ContainersRefTypeChildInterfacepublic interface ContainersRefType.ContainersRefTypeChildInterface", + "Number": 60, + "Text": "60 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInterfaceContainersRefType.ContainersRefTypeChildInterfacepublic interface ContainersRefType.ContainersRefTypeChildInterface", "Links": [ { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4684,12 +4679,12 @@ ] }, { - "Number": 62, - "Text": "62 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllEnumeration ColorTypeFieldsRed = 0redBlue = 1blueYellow = 2yellowEnum ContainersRefType.ColorTypepublic enum ContainersRefType.ColorType", + "Number": 61, + "Text": "61 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllEnumeration ColorTypeFieldsRed = 0redBlue = 1blueYellow = 2yellowEnum ContainersRefType.ColorTypepublic enum ContainersRefType.ColorType", "Links": [ { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4699,12 +4694,12 @@ ] }, { - "Number": 63, - "Text": "63 / 89Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllDelegate ContainersRefTypeDelegateDelegateContainersRefType.ContainersRefTypeDelegatepublic delegate void ContainersRefType.ContainersRefTypeDelegate()", + "Number": 62, + "Text": "62 / 87Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllDelegate ContainersRefTypeDelegateDelegateContainersRefType.ContainersRefTypeDelegatepublic delegate void ContainersRefType.ContainersRefTypeDelegate()", "Links": [ { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -4714,8 +4709,8 @@ ] }, { - "Number": 64, - "Text": "64 / 89Namespace:CatLibraryAssembly:CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classType ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 CatImplementsICat , IAnimalInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Cat Deprecated[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct\uF12C", + "Number": 63, + "Text": "63 / 87Namespace:CatLibraryAssembly:CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classType ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 CatImplementsICat , IAnimalInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)Class Cat Deprecated[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4791,7 +4786,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -4806,7 +4801,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4815,7 +4810,7 @@ }, { "Goto": { - "PageNumber": 82, + "PageNumber": 80, "Type": 2, "Coordinates": { "Top": 0 @@ -4824,31 +4819,25 @@ }, { "Goto": { - "PageNumber": 80, + "PageNumber": 78, "Type": 2, "Coordinates": { "Top": 0 } } - } - ] - }, - { - "Number": 65, - "Text": "65 / 89Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)ExamplesHere's example of how to create an instance of this class. As T is limited with class and K islimited with struct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksHere's all the content you can see in this class.ConstructorsDefault constructor.Constructor with one generic parameter.var a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}Cat()public Cat()Cat(T)public Cat(T ownType)", - "Links": [ + }, { "Goto": { - "PageNumber": 75, + "PageNumber": 73, "Coordinates": { "Left": 0, - "Top": 318 + "Top": 336.75 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 74, "Coordinates": { "Left": 0, "Top": 792 @@ -4858,8 +4847,13 @@ ] }, { - "Number": 66, - "Text": "66 / 89ParametersownType TThis parameter type defined by class.It's a complex constructor. The parameter will have some attributes.ParametersnickName string\uF1C5it's string type.age int\uF1C5It's an out and ref parameter.realName string\uF1C5It's an out paramter.isHealthy bool\uF1C5It's an in parameter.FieldsField with attribute.Cat(string, out int, string, bool)public Cat(string nickName, out int age, string realName, bool isHealthy)isHealthy Deprecated[ContextStatic][NonSerialized][Obsolete]public bool isHealthy", + "Number": 64, + "Text": "64 / 87ExamplesHere's example of how to create an instance of this class. As T is limited with class and K is limited withstruct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksHere's all the content you can see in this class.ConstructorsDefault constructor.Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.var a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}Cat()public Cat()Cat(T)public Cat(T ownType)", + "Links": [] + }, + { + "Number": 65, + "Text": "65 / 87It's a complex constructor. The parameter will have some attributes.ParametersnickName string\uF1C5it's string type.age int\uF1C5It's an out and ref parameter.realName string\uF1C5It's an out paramter.isHealthy bool\uF1C5It's an in parameter.FieldsField with attribute.Field Valuebool\uF1C5PropertiesCat(string, out int, string, bool)public Cat(string nickName, out int age, string realName, bool isHealthy)isHealthy Deprecated[ContextStatic][NonSerialized][Obsolete]public bool isHealthy", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -4896,13 +4890,7 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - } - ] - }, - { - "Number": 67, - "Text": "67 / 89Field Valuebool\uF1C5PropertiesHint cat's age.Property Valueint\uF1C5EII property.Property Valuestring\uF1C5This is index property of Cat. You can see that the visibility is different between get and setmethod.Property ValueAge Deprecated[Obsolete]protected int Age { get; set; }Namepublic string Name { get; }this[string]public int this[string a] { protected get; set; }", - "Links": [ + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" }, @@ -4911,7 +4899,13 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - }, + } + ] + }, + { + "Number": 66, + "Text": "66 / 87Hint cat's age.Property Valueint\uF1C5EII property.Property Valuestring\uF1C5This is index property of Cat. You can see that the visibility is different between get and set method.Property Valueint\uF1C5MethodsIt's a method with complex return type.Age Deprecated[Obsolete]protected int Age { get; set; }Namepublic string Name { get; }this[string]public int this[string a] { protected get; set; }CalculateFood(DateTime)", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -4929,13 +4923,7 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - } - ] - }, - { - "Number": 68, - "Text": "68 / 89int\uF1C5MethodsIt's a method with complex return type.Parametersdate DateTime\uF1C5Date time to now.ReturnsDictionary\uF1C5>It's a relationship map of different kind food.Override the method of Object.Equals(object obj).Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.CalculateFood(DateTime)public Dictionary> CalculateFood(DateTime date)Equals(object)public override bool Equals(object obj)", - "Links": [ + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -4944,7 +4932,13 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" - }, + } + ] + }, + { + "Number": 67, + "Text": "67 / 87Parametersdate DateTime\uF1C5Date time to now.ReturnsDictionary\uF1C5>It's a relationship map of different kind food.Override the method of Object.Equals(object obj).Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.public Dictionary> CalculateFood(DateTime date)Equals(object)public override bool Equals(object obj)GetTailLength(int*, params object[])public long GetTailLength(int* catName, params object[] parameters)", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.datetime" }, @@ -5011,8 +5005,8 @@ ] }, { - "Number": 69, - "Text": "69 / 89It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.This method have attribute above it.ParametersownType TType come from class define.anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.GetTailLength(int*, params object[])public long GetTailLength(int* catName, params object[] parameters)Jump(T, K, ref bool)[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)", + "Number": 68, + "Text": "68 / 87ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.This method have attribute above it.ParametersownType TType come from class define.anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionJump(T, K, ref bool)[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -5049,13 +5043,7 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - } - ] - }, - { - "Number": 70, - "Text": "70 / 89ExceptionsArgumentException\uF1C5This is an argument exceptionEat event of this catEvent TypeEventHandler\uF1C5OperatorsAddition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~ReturnsownEat DeprecatedThis event handler is deprecated.[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEatoperator +(Cat, int)public static int operator +(Cat lsr, int rsr)", - "Links": [ + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.argumentexception" }, @@ -5064,7 +5052,13 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.argumentexception" - }, + } + ] + }, + { + "Number": 69, + "Text": "69 / 87Eat event of this catEvent TypeEventHandler\uF1C5OperatorsAddition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5Result with int type.ownEat DeprecatedThis event handler is deprecated.[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEatoperator +(Cat, int)public static int operator +(Cat lsr, int rsr)", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.eventhandler" }, @@ -5083,9 +5077,18 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" + }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -5095,8 +5098,8 @@ ] }, { - "Number": 71, - "Text": "71 / 89int\uF1C5Result with int type.Expilicit operator of this class.It means this cat can evolve to change to Tom. Tom and Jerry.Parameterssrc CatInstance of this class.ReturnsTomAdvanced class type of cat.Similar with operaotr +, refer to that topic.Parameterslsr Catrsr int\uF1C5Returnsint\uF1C5explicit operator Tom(Cat)public static explicit operator Tom(Cat src)operator -(Cat, int)public static int operator -(Cat lsr, int rsr)", + "Number": 70, + "Text": "70 / 87Expilicit operator of this class.It means this cat can evolve to change to Tom. Tom and Jerry.Parameterssrc CatInstance of this class.ReturnsTomAdvanced class type of cat.Similar with operaotr +, refer to that topic.Parameterslsr Catrsr int\uF1C5Returnsint\uF1C5explicit operator Tom(Cat)public static explicit operator Tom(Cat src)operator -(Cat, int)public static int operator -(Cat lsr, int rsr)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -5116,18 +5119,9 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" - }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -5136,7 +5130,7 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -5145,7 +5139,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -5155,13 +5149,8 @@ ] }, { - "Number": 72, - "Text": "72 / 89", - "Links": [] - }, - { - "Number": 73, - "Text": "73 / 89Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTInheritanceobject\uF1C5 Exception\uF1C5 CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5 ,Exception.GetObjectData(SerializationInfo, StreamingContext)\uF1C5 , Exception.GetType()\uF1C5 ,Exception.ToString()\uF1C5 , Exception.Data\uF1C5 , Exception.HelpLink\uF1C5 , Exception.HResult\uF1C5 ,Exception.InnerException\uF1C5 , Exception.Message\uF1C5 , Exception.Source\uF1C5 ,Exception.StackTrace\uF1C5 , Exception.TargetSite\uF1C5 , Exception.SerializeObjectState\uF1C5 ,object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class CatExceptionpublic class CatException : Exception, ISerializable\uF12C\uF12C", + "Number": 71, + "Text": "71 / 87Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTInheritanceobject\uF1C5 Exception\uF1C5 CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5 , Exception.GetType()\uF1C5 , Exception.ToString()\uF1C5 , Exception.Data\uF1C5 ,Exception.HelpLink\uF1C5 , Exception.HResult\uF1C5 , Exception.InnerException\uF1C5 , Exception.Message\uF1C5 ,Exception.Source\uF1C5 , Exception.StackTrace\uF1C5 , Exception.TargetSite\uF1C5 , Exception.SerializeObjectState\uF1C5 ,object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class CatExceptionpublic class CatException : Exception, ISerializable\uF12C\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5199,15 +5188,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.gettype" }, @@ -5372,7 +5352,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -5381,7 +5361,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5391,8 +5371,8 @@ ] }, { - "Number": 74, - "Text": "74 / 89Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ComplexInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Complexpublic class Complex\uF12C", + "Number": 72, + "Text": "72 / 87Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ComplexInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5Class Complexpublic class Complex\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5468,7 +5448,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -5477,7 +5457,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5487,8 +5467,8 @@ ] }, { - "Number": 75, - "Text": "75 / 89Namespace:CatLibraryAssembly:CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ICatExtensionInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsExtension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playClass ICatExtensionpublic static class ICatExtension\uF12CPlay(ICat, ColorType)public static void Play(this ICat icat, ContainersRefType.ColorType toy)", + "Number": 73, + "Text": "73 / 87Namespace:CatLibraryAssembly:CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ICatExtensionInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsExtension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playClass ICatExtensionpublic static class ICatExtension\uF12CPlay(ICat, ColorType)public static void Play(this ICat icat, ContainersRefType.ColorType toy)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5564,7 +5544,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -5573,7 +5553,7 @@ }, { "Goto": { - "PageNumber": 75, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5582,7 +5562,7 @@ }, { "Goto": { - "PageNumber": 82, + "PageNumber": 80, "Type": 2, "Coordinates": { "Top": 0 @@ -5591,7 +5571,7 @@ }, { "Goto": { - "PageNumber": 59, + "PageNumber": 58, "Type": 2, "Coordinates": { "Top": 0 @@ -5600,7 +5580,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -5610,8 +5590,8 @@ ] }, { - "Number": 76, - "Text": "76 / 89Extension method hint that how long the cat can sleep.Parametersicat ICatThe type will be extended.hours long\uF1C5The length of sleep.Sleep(ICat, long)public static void Sleep(this ICat icat, long hours)", + "Number": 74, + "Text": "74 / 87Extension method hint that how long the cat can sleep.Parametersicat ICatThe type will be extended.hours long\uF1C5The length of sleep.Sleep(ICat, long)public static void Sleep(this ICat icat, long hours)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -5624,7 +5604,7 @@ }, { "Goto": { - "PageNumber": 82, + "PageNumber": 80, "Type": 2, "Coordinates": { "Top": 0 @@ -5634,8 +5614,8 @@ ] }, { - "Number": 77, - "Text": "77 / 89Namespace:CatLibraryAssembly:CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 TomDerivedTomFromBaseClassInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsThis is a Tom Method with complex type as returnParametersa ComplexA complex inputClass Tompublic class Tom\uF12CTomMethod(Complex, Tuple)public Complex TomMethod(Complex a, Tuple b)", + "Number": 75, + "Text": "75 / 87Namespace:CatLibraryAssembly:CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 TomDerivedTomFromBaseClassInherited Membersobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5MethodsThis is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Class Tompublic class Tom\uF12CTomMethod(Complex, Tuple)public Complex TomMethod(Complex a, Tuple b)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5709,9 +5689,36 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.tuple-2" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.tuple-2" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.tuple-2" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Goto": { + "PageNumber": 52, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, { "Goto": { - "PageNumber": 53, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -5729,7 +5736,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5738,7 +5745,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -5747,7 +5754,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -5756,7 +5763,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -5766,27 +5773,9 @@ ] }, { - "Number": 78, - "Text": "78 / 89b Tuple\uF1C5Another complex inputReturnsComplexComplex TomFromBaseClassExceptionsNotImplementedException\uF1C5This is not implementedArgumentException\uF1C5This is the exception to be thrown when implementedCatExceptionThis is the exception in current documentation", + "Number": 76, + "Text": "76 / 87Another complex inputReturnsComplexComplex TomFromBaseClassExceptionsNotImplementedException\uF1C5This is not implementedArgumentException\uF1C5This is the exception to be thrown when implementedCatExceptionThis is the exception in current documentation", "Links": [ - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.tuple-2" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.tuple-2" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.tuple-2" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, @@ -5816,16 +5805,7 @@ }, { "Goto": { - "PageNumber": 77, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 74, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5834,7 +5814,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -5855,7 +5835,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5865,8 +5845,8 @@ ] }, { - "Number": 79, - "Text": "79 / 89Namespace:CatLibraryAssembly:CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 Tom TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple) ,object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsThis is a #ctor with parameterParametersk int\uF1C5Class TomFromBaseClasspublic class TomFromBaseClass : Tom\uF12C\uF12CTomFromBaseClass(int)public TomFromBaseClass(int k)", + "Number": 77, + "Text": "77 / 87Namespace:CatLibraryAssembly:CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 Tom TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple) ,object.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5ConstructorsThis is a #ctor with parameterParametersk int\uF1C5Class TomFromBaseClasspublic class TomFromBaseClass : Tom\uF12C\uF12CTomFromBaseClass(int)public TomFromBaseClass(int k)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5951,7 +5931,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -5960,7 +5940,7 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -5969,7 +5949,7 @@ }, { "Goto": { - "PageNumber": 79, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -5978,18 +5958,18 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 314.25 + "Top": 333 } } } ] }, { - "Number": 80, - "Text": "80 / 89Namespace:CatLibraryAssembly:CatLibrary.dllThis is basic interface of all animal.PropertiesName of Animal.Property Valuestring\uF1C5Return specific number animal's name.Property Valuestring\uF1C5MethodsInterface IAnimalpublic interface IAnimalNamestring Name { get; }this[int]string this[int index] { get; }Eat()", + "Number": 78, + "Text": "78 / 87Namespace:CatLibraryAssembly:CatLibrary.dllThis is basic interface of all animal.PropertiesName of Animal.Property Valuestring\uF1C5Return specific number animal's name.Property Valuestring\uF1C5MethodsInterface IAnimalpublic interface IAnimalNamestring Name { get; }this[int]string this[int index] { get; }Eat()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -6011,7 +5991,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -6021,8 +6001,8 @@ ] }, { - "Number": 81, - "Text": "81 / 89Animal's eat method.Overload method of eat. This define the animal eat by which tool.Parameterstool ToolTool name.Type ParametersToolIt's a class type.Feed the animal with some foodParametersfood string\uF1C5Food to eatvoid Eat()Eat(Tool)void Eat(Tool tool) where Tool : classEat(string)void Eat(string food)", + "Number": 79, + "Text": "79 / 87Animal's eat method.Overload method of eat. This define the animal eat by which tool.Parameterstool ToolTool name.Type ParametersToolIt's a class type.Feed the animal with some foodParametersfood string\uF1C5Food to eatvoid Eat()Eat(Tool)void Eat(Tool tool) where Tool : classEat(string)void Eat(string food)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -6036,8 +6016,8 @@ ] }, { - "Number": 82, - "Text": "82 / 89Namespace:CatLibraryAssembly:CatLibrary.dllCat's interfaceImplementsIAnimalExtension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)eat event of cat. Every cat must implement this event.Event TypeEventHandler\uF1C5Interface ICatpublic interface ICat : IAnimaleatevent EventHandler eat", + "Number": 80, + "Text": "80 / 87Namespace:CatLibraryAssembly:CatLibrary.dllCat's interfaceImplementsIAnimalExtension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)eat event of cat. Every cat must implement this event.Event TypeEventHandler\uF1C5Interface ICatpublic interface ICat : IAnimaleatevent EventHandler eat", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.eventhandler" @@ -6050,7 +6030,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -6059,7 +6039,7 @@ }, { "Goto": { - "PageNumber": 80, + "PageNumber": 78, "Type": 2, "Coordinates": { "Top": 0 @@ -6068,16 +6048,16 @@ }, { "Goto": { - "PageNumber": 75, + "PageNumber": 73, "Coordinates": { "Left": 0, - "Top": 318 + "Top": 336.75 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 74, "Coordinates": { "Left": 0, "Top": 792 @@ -6087,8 +6067,8 @@ ] }, { - "Number": 83, - "Text": "83 / 89Namespace:CatLibraryAssembly:CatLibrary.dllFake delegateParametersnum long\uF1C5Fake paraname string\uF1C5Fake parascores object\uF1C5[]Optional Parameter.Returnsint\uF1C5Return a fake number to confuse you.Type ParametersTFake paraDelegate FakeDelegatepublic delegate int FakeDelegate(long num, string name, params object[] scores)", + "Number": 81, + "Text": "81 / 87Namespace:CatLibraryAssembly:CatLibrary.dllFake delegateParametersnum long\uF1C5Fake paraname string\uF1C5Fake parascores object\uF1C5[]Optional Parameter.Returnsint\uF1C5Return a fake number to confuse you.Type ParametersTFake paraDelegate FakeDelegatepublic delegate int FakeDelegate(long num, string name, params object[] scores)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -6128,7 +6108,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -6138,12 +6118,12 @@ ] }, { - "Number": 84, - "Text": "84 / 89Namespace:CatLibraryAssembly:CatLibrary.dllGeneric delegate with many constrains.Parametersk KType K.t TType T.l LType L.Type ParametersKGeneric K.TGeneric T.LGeneric L.Delegate MRefDelegatepublic delegate void MRefDelegate(K k, T t, L l) where K : class, IComparable where T : struct where L : Tom, IEnumerable", + "Number": 82, + "Text": "82 / 87Namespace:CatLibraryAssembly:CatLibrary.dllGeneric delegate with many constrains.Parametersk KType K.t TType T.l LType L.Type ParametersKGeneric K.TGeneric T.LGeneric L.Delegate MRefDelegatepublic delegate void MRefDelegate(K k, T t, L l) where K : class, IComparable where T : struct where L : Tom, IEnumerable", "Links": [ { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -6153,8 +6133,8 @@ ] }, { - "Number": 85, - "Text": "85 / 89Namespace:CatLibraryAssembly:CatLibrary.dllDelegate in the namespaceParameterspics List\uF1C5a name list of pictures.name string\uF1C5give out the needed name.Delegate MRefNormalDelegatepublic delegate void MRefNormalDelegate(List pics, out string name)", + "Number": 83, + "Text": "83 / 87Namespace:CatLibraryAssembly:CatLibrary.dllDelegate in the namespaceParameterspics List\uF1C5a name list of pictures.name string\uF1C5give out the needed name.Delegate MRefNormalDelegatepublic delegate void MRefNormalDelegate(List pics, out string name)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1" @@ -6185,7 +6165,7 @@ }, { "Goto": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -6195,12 +6175,12 @@ ] }, { - "Number": 86, - "Text": "86 / 89NamespacesMRef.DemoNamespace MRef", + "Number": 84, + "Text": "84 / 87NamespacesMRef.DemoNamespace MRef", "Links": [ { "Goto": { - "PageNumber": 87, + "PageNumber": 85, "Type": 2, "Coordinates": { "Top": 0 @@ -6210,12 +6190,12 @@ ] }, { - "Number": 87, - "Text": "87 / 89NamespacesMRef.Demo.EnumerationNamespace MRef.Demo", + "Number": 85, + "Text": "85 / 87NamespacesMRef.Demo.EnumerationNamespace MRef.Demo", "Links": [ { "Goto": { - "PageNumber": 88, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -6225,12 +6205,12 @@ ] }, { - "Number": 88, - "Text": "88 / 89EnumsColorTypeEnumeration ColorTypeNamespace MRef.Demo.Enumeration", + "Number": 86, + "Text": "86 / 87EnumsColorTypeEnumeration ColorTypeNamespace MRef.Demo.Enumeration", "Links": [ { "Goto": { - "PageNumber": 89, + "PageNumber": 87, "Type": 2, "Coordinates": { "Top": 0 @@ -6240,8 +6220,8 @@ ] }, { - "Number": 89, - "Text": "89 / 89Namespace:MRef.Demo.EnumerationAssembly:CatLibrary.dllEnumeration ColorTypeFieldsRed = 0this color is redBlue = 1blue like riverYellow = 2yellow comes from desertRemarksRed/Blue/Yellow can become all color you want.See Alsoobject\uF1C5Enum ColorTypepublic enum ColorType", + "Number": 87, + "Text": "87 / 87Namespace:MRef.Demo.EnumerationAssembly:CatLibrary.dllEnumeration ColorTypeFieldsRed = 0this color is redBlue = 1blue like riverYellow = 2yellow comes from desertRemarksRed/Blue/Yellow can become all color you want.See Alsoobject\uF1C5Enum ColorTypepublic enum ColorType", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -6254,7 +6234,7 @@ }, { "Goto": { - "PageNumber": 88, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -6607,7 +6587,7 @@ "Title": "Structs", "Children": [], "Destination": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -6618,7 +6598,7 @@ "Title": "Inheritdoc.Issue8129", "Children": [], "Destination": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -6629,7 +6609,7 @@ "Title": "Interfaces", "Children": [], "Destination": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -6640,7 +6620,7 @@ "Title": "Class1.IIssue8948", "Children": [], "Destination": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -6651,7 +6631,7 @@ "Title": "IInheritdoc", "Children": [], "Destination": { - "PageNumber": 46, + "PageNumber": 45, "Type": 2, "Coordinates": { "Top": 0 @@ -6662,7 +6642,7 @@ "Title": "Enums", "Children": [], "Destination": { - "PageNumber": 47, + "PageNumber": 46, "Type": 2, "Coordinates": { "Top": 0 @@ -6673,7 +6653,7 @@ "Title": "Class1.Issue9260", "Children": [], "Destination": { - "PageNumber": 47, + "PageNumber": 46, "Type": 2, "Coordinates": { "Top": 0 @@ -6696,7 +6676,7 @@ "Title": "Classes", "Children": [], "Destination": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -6707,7 +6687,7 @@ "Title": "BaseClass1", "Children": [], "Destination": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -6718,7 +6698,7 @@ "Title": "Class1", "Children": [], "Destination": { - "PageNumber": 50, + "PageNumber": 49, "Type": 2, "Coordinates": { "Top": 0 @@ -6727,7 +6707,7 @@ } ], "Destination": { - "PageNumber": 48, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -6744,7 +6724,7 @@ "Title": "Classes", "Children": [], "Destination": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -6755,7 +6735,7 @@ "Title": "ContainersRefType.ContainersRefTypeChild", "Children": [], "Destination": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -6766,7 +6746,7 @@ "Title": "ExplicitLayoutClass", "Children": [], "Destination": { - "PageNumber": 57, + "PageNumber": 56, "Type": 2, "Coordinates": { "Top": 0 @@ -6777,7 +6757,7 @@ "Title": "Issue231", "Children": [], "Destination": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -6788,7 +6768,7 @@ "Title": "Structs", "Children": [], "Destination": { - "PageNumber": 59, + "PageNumber": 58, "Type": 2, "Coordinates": { "Top": 0 @@ -6799,7 +6779,7 @@ "Title": "ContainersRefType", "Children": [], "Destination": { - "PageNumber": 59, + "PageNumber": 58, "Type": 2, "Coordinates": { "Top": 0 @@ -6810,7 +6790,7 @@ "Title": "Interfaces", "Children": [], "Destination": { - "PageNumber": 61, + "PageNumber": 60, "Type": 2, "Coordinates": { "Top": 0 @@ -6821,7 +6801,7 @@ "Title": "ContainersRefType.ContainersRefTypeChildInterface", "Children": [], "Destination": { - "PageNumber": 61, + "PageNumber": 60, "Type": 2, "Coordinates": { "Top": 0 @@ -6832,7 +6812,7 @@ "Title": "Enums", "Children": [], "Destination": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -6843,7 +6823,7 @@ "Title": "ContainersRefType.ColorType", "Children": [], "Destination": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -6854,7 +6834,7 @@ "Title": "Delegates", "Children": [], "Destination": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -6865,7 +6845,7 @@ "Title": "ContainersRefType.ContainersRefTypeDelegate", "Children": [], "Destination": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -6874,7 +6854,7 @@ } ], "Destination": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -6885,7 +6865,7 @@ "Title": "Classes", "Children": [], "Destination": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -6896,7 +6876,7 @@ "Title": "Cat", "Children": [], "Destination": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -6907,7 +6887,7 @@ "Title": "CatException", "Children": [], "Destination": { - "PageNumber": 73, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -6918,7 +6898,7 @@ "Title": "Complex", "Children": [], "Destination": { - "PageNumber": 74, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -6929,7 +6909,7 @@ "Title": "ICatExtension", "Children": [], "Destination": { - "PageNumber": 75, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -6940,7 +6920,7 @@ "Title": "Tom", "Children": [], "Destination": { - "PageNumber": 77, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -6951,7 +6931,7 @@ "Title": "TomFromBaseClass", "Children": [], "Destination": { - "PageNumber": 79, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -6962,7 +6942,7 @@ "Title": "Interfaces", "Children": [], "Destination": { - "PageNumber": 80, + "PageNumber": 78, "Type": 2, "Coordinates": { "Top": 0 @@ -6973,7 +6953,7 @@ "Title": "IAnimal", "Children": [], "Destination": { - "PageNumber": 80, + "PageNumber": 78, "Type": 2, "Coordinates": { "Top": 0 @@ -6984,7 +6964,7 @@ "Title": "ICat", "Children": [], "Destination": { - "PageNumber": 82, + "PageNumber": 80, "Type": 2, "Coordinates": { "Top": 0 @@ -6995,7 +6975,7 @@ "Title": "Delegates", "Children": [], "Destination": { - "PageNumber": 83, + "PageNumber": 81, "Type": 2, "Coordinates": { "Top": 0 @@ -7006,7 +6986,7 @@ "Title": "FakeDelegate", "Children": [], "Destination": { - "PageNumber": 83, + "PageNumber": 81, "Type": 2, "Coordinates": { "Top": 0 @@ -7017,7 +6997,7 @@ "Title": "MRefDelegate", "Children": [], "Destination": { - "PageNumber": 84, + "PageNumber": 82, "Type": 2, "Coordinates": { "Top": 0 @@ -7028,7 +7008,7 @@ "Title": "MRefNormalDelegate", "Children": [], "Destination": { - "PageNumber": 85, + "PageNumber": 83, "Type": 2, "Coordinates": { "Top": 0 @@ -7037,7 +7017,7 @@ } ], "Destination": { - "PageNumber": 53, + "PageNumber": 52, "Type": 2, "Coordinates": { "Top": 0 @@ -7057,7 +7037,7 @@ "Title": "Enums", "Children": [], "Destination": { - "PageNumber": 89, + "PageNumber": 87, "Type": 2, "Coordinates": { "Top": 0 @@ -7068,7 +7048,7 @@ "Title": "ColorType", "Children": [], "Destination": { - "PageNumber": 89, + "PageNumber": 87, "Type": 2, "Coordinates": { "Top": 0 @@ -7077,7 +7057,7 @@ } ], "Destination": { - "PageNumber": 88, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -7086,7 +7066,7 @@ } ], "Destination": { - "PageNumber": 87, + "PageNumber": 85, "Type": 2, "Coordinates": { "Top": 0 @@ -7095,7 +7075,7 @@ } ], "Destination": { - "PageNumber": 86, + "PageNumber": 84, "Type": 2, "Coordinates": { "Top": 0 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/csharp_coding_standards.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/csharp_coding_standards.html.view.verified.json index f0d552129b7..5180aef7c93 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/csharp_coding_standards.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/csharp_coding_standards.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "articles/csharp_coding_standards.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    C# Coding Standards

    ", "title": "C# Coding Standards", - "wordCount": 1242.0, + "wordCount": 1242, "_key": "articles/csharp_coding_standards.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/docfx_getting_started.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/docfx_getting_started.html.view.verified.json index 8fc8c08c9d0..662030c7406 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/docfx_getting_started.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/docfx_getting_started.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "articles/docfx_getting_started.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Getting Started with docfx

    ", "title": "Getting Started with docfx", - "wordCount": 189.0, + "wordCount": 189, "_key": "articles/docfx_getting_started.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json index f10cc0b2241..2fac9864e08 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "articles/engineering_guidelines.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Engineering Guidelines

    ", "title": "Engineering Guidelines", - "wordCount": 521.0, + "wordCount": 521, "_key": "articles/engineering_guidelines.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/markdown.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/markdown.html.view.verified.json index 031cf1dc26b..d164793d4d6 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/markdown.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/markdown.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "articles/markdown.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Markdown

    ", "title": "Markdown", - "wordCount": 587.0, + "wordCount": 587, "_key": "articles/markdown.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/seed.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/seed.pdf.verified.json index 97fe7c0a285..829f35f0d9c 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/seed.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/seed.pdf.verified.json @@ -1,14 +1,14 @@ { - "NumberOfPages": 19, + "NumberOfPages": 18, "Pages": [ { "Number": 1, - "Text": "1 / 19DOCFX PDF SAMPLE", + "Text": "1 / 18DOCFX PDF SAMPLE", "Links": [] }, { "Number": 2, - "Text": "Table of ContentsGetting Started with docfx3Engineering DocsSection 1Engineering Guidelines5C# Coding Standards8Markdown15Microsoft Docs", + "Text": "Table of ContentsGetting Started with docfx3Engineering DocsSection 1Engineering Guidelines5C# Coding Standards8Markdown14Microsoft Docs", "Links": [ { "Uri": "https://docs.microsoft.com/en-us/" @@ -42,7 +42,7 @@ }, { "Goto": { - "PageNumber": 15, + "PageNumber": 14, "Type": 2, "Coordinates": { "Top": 0 @@ -54,7 +54,7 @@ { "Number": 3, "NumberOfImages": 1, - "Text": "3 / 19Getting Started with docfxGetting StartedThis is a seed.", + "Text": "3 / 18Getting Started with docfxGetting StartedThis is a seed.", "Links": [ { "Uri": "" @@ -66,22 +66,22 @@ }, { "Number": 4, - "Text": "4 / 19docfx is an API documentation generator for .NET, currently support C# and VB. It has theability to extract triple slash comments out from your source code. What's more, it hassyntax to link additional files to API to add additional remarks. docfx will scan your sourcecode and your additional conceptual files and generate a complete HTML documentationwebsite for you. docfx provides the flexibility for you to customize the website throughtemplates. We currently have several embedded templates, including websites containingpure static html pages and also website managed by AngularJS.Click \"View Source\" for an API to route to the source code in GitHub (your API must bepushed to GitHub)docfx provide DNX version for cross platform use.docfx can be used within Visual Studio seamlessly. NOTE offical docfx.msbuild nugetpackage is now in pre-release version. You can also build your own with source codeand use it locally.We support Docfx Flavored Markdown(DFM) for writing conceptual files. DFM is100% compatible with Github Flavored Markdown(GFM) and add several new featuresincluding file inclusion, cross reference, and yaml header.", + "Text": "4 / 18docfx is an API documentation generator for .NET, currently support C# and VB. It has the ability toextract triple slash comments out from your source code. What's more, it has syntax to link additionalfiles to API to add additional remarks. docfx will scan your source code and your additional conceptualfiles and generate a complete HTML documentation website for you. docfx provides the flexibility foryou to customize the website through templates. We currently have several embedded templates,including websites containing pure static html pages and also website managed by AngularJS.Click \"View Source\" for an API to route to the source code in GitHub (your API must be pushed toGitHub)docfx provide DNX version for cross platform use.docfx can be used within Visual Studio seamlessly. NOTE offical docfx.msbuild nuget package isnow in pre-release version. You can also build your own with source code and use it locally.We support Docfx Flavored Markdown(DFM) for writing conceptual files. DFM is 100%compatible with Github Flavored Markdown(GFM) and add several new features including fileinclusion, cross reference, and yaml header.", "Links": [] }, { "Number": 5, - "Text": "5 / 19Engineering GuidelinesBasicsCopyright header and license noticeAll source code files require the following exact header according to its language (please donot make any changes to it).extension: .csextension: .jsextension: .cssextension: .tmpl, .tmpl.partialExternal dependenciesThis refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, andespecially outside of Microsoft. Adding new dependencies require additional approval.Current approved dependencies are:Newtonsoft.JsonJintHtmlAgilityPack// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license.// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license./** * Licensed to the .NET Foundation under one or more agreements. * The .NET Foundation licenses this file to you under the MIT license. */{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation lic", + "Text": "5 / 18Engineering GuidelinesBasicsCopyright header and license noticeAll source code files require the following exact header according to its language (please do not makeany changes to it).extension: .csextension: .jsextension: .cssextension: .tmpl, .tmpl.partialExternal dependenciesThis refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, and especiallyoutside of Microsoft. Adding new dependencies require additional approval.Current approved dependencies are:Newtonsoft.JsonJintHtmlAgilityPack// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license.// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license./** * Licensed to the .NET Foundation under one or more agreements. * The .NET Foundation licenses this file to you under the MIT license. */{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses th", "Links": [] }, { "Number": 6, - "Text": "6 / 19NustacheYamlDotNetCode reviews and checkinsTo help ensure that only the highest quality code makes its way into the project, pleasesubmit all your code changes to GitHub as PRs. This includes runtime code changes, unittest updates, and deployment scripts. For example, sending a PR for just an update to aunit test might seem like a waste of time but the unit tests are just as important as theproduct code and as such, reviewing changes to them is also just as important.The advantages are numerous: improving code quality, more visibility on changes and theirpotential impact, avoiding duplication of effort, and creating general awareness of progressbeing made in various areas.In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code.To commit the PR to the repo do not use the Big Green Button. Instead, do a typicalpush that you would use with Git (e.g. local pull, rebase, merge, push).Source Code ManagementBranch strategyIn general:master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0)dev has the code that is being worked on but not yet released. This is the branch intowhich devs normally submit pull requests and merge changes into. We run daily CItowards dev branch and generate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd.hotfix has the code for fixing master bug after it is released. hotfix changes will bemerged back to master and dev once it is verified.Solution and project folder structure and namingSolution files go in the repo root. The default entry point is All.sln.Every project also needs a project.json and a matching .xproj file. This project.json is thesource of truth for a project's dependencies and configuration options.Solution need to contain solution folders that match the physical folder (src, test, tools,etc.).Assembly naming pattern", + "Text": "6 / 18NustacheYamlDotNetCode reviews and checkinsTo help ensure that only the highest quality code makes its way into the project, please submit all yourcode changes to GitHub as PRs. This includes runtime code changes, unit test updates, and deploymentscripts. For example, sending a PR for just an update to a unit test might seem like a waste of time butthe unit tests are just as important as the product code and as such, reviewing changes to them is alsojust as important.The advantages are numerous: improving code quality, more visibility on changes and their potentialimpact, avoiding duplication of effort, and creating general awareness of progress being made in variousareas.In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code.To commit the PR to the repo do not use the Big Green Button. Instead, do a typical push that youwould use with Git (e.g. local pull, rebase, merge, push).Source Code ManagementBranch strategyIn general:master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0)dev has the code that is being worked on but not yet released. This is the branch into which devsnormally submit pull requests and merge changes into. We run daily CI towards dev branch andgenerate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd.hotfix has the code for fixing master bug after it is released. hotfix changes will be merged back tomaster and dev once it is verified.Solution and project folder structure and namingSolution files go in the repo root. The default entry point is All.sln.Every project also needs a project.json and a matching .xproj file. This project.json is the source oftruth for a project's dependencies and configuration options.Solution need to contain solution folders that match the physical folder (src, test, tools, etc.).Assembly naming patternThe general naming pattern is Docfx...", "Links": [] }, { "Number": 7, - "Text": "7 / 19The general naming pattern is Docfx...Unit testsWe use xUnit.net for all unit testing.Coding StandardsPlease refer to C# Coding standards for detailed guideline for C# coding standards.TODO Template Coding standardsTODO Template Preprocess JS Coding standards", + "Text": "7 / 18Unit testsWe use xUnit.net for all unit testing.Coding StandardsPlease refer to C# Coding standards for detailed guideline for C# coding standards.TODO Template Coding standardsTODO Template Preprocess JS Coding standards", "Links": [ { "Goto": { @@ -96,7 +96,7 @@ }, { "Number": 8, - "Text": "8 / 19C# Coding StandardsIntroductionThe coding standard will be used in conjunction with customized version of StyleCop andFxCop [TODO] during both development and build process. This will help ensure that thestandard is followed by all developers on the team in a consistent manner.\"Any fool can write code that a computer can understand. Good programmers writecode that humans understand\".Martin Fowler. Refactoring: Improving the design of existing code.PurposeThe aim of this section is to define a set of C# coding standards to be used by CAPS buildteam to guarantee maximum legibility, reliability, re-usability and homogeneity of our code.Each section is marked Mandatory or Recommended. Mandatory sections, will be enforcedduring code reviews as well as tools like StyleCop and FxCop, and code will not beconsidered complete until it is compliant.ScopeThis section contains general C# coding standards which can be applied to any type ofapplication developed in C#, based on Framework Design Guidelines\uF1C5.It does not pretend to be a tutorial on C#. It only includes a set of limitations andrecommendations focused on clarifying the development.ToolsResharper\uF1C5 is a great 3rd party code cleanup and style tool.StyleCop\uF1C5 analyzes C# srouce code to enforce a set of style and consistency rules andhas been integrated into many 3rd party development tools such as Resharper.FxCop\uF1C5 is an application that analyzes managed code assemblies (code that targetsthe .NET Framework common language runtime) and reports information about theassemblies, such as possible design, localization, performance, and securityimprovements.C# Stylizer\uF1C5 does many of the style rules automaticallyHighlights of Coding StandardsThis section is not intended to give a summary of all the coding standards that enabled byour customized StyleCop, but to give a highlight of some rules one will possibly meet in", + "Text": "8 / 18C# Coding StandardsIntroductionThe coding standard will be used in conjunction with customized version of StyleCop and FxCop [TODO]during both development and build process. This will help ensure that the standard is followed by alldevelopers on the team in a consistent manner.\"Any fool can write code that a computer can understand. Good programmers write code thathumans understand\".Martin Fowler. Refactoring: Improving the design of existing code.PurposeThe aim of this section is to define a set of C# coding standards to be used by CAPS build team toguarantee maximum legibility, reliability, re-usability and homogeneity of our code. Each section ismarked Mandatory or Recommended. Mandatory sections, will be enforced during code reviews as wellas tools like StyleCop and FxCop, and code will not be considered complete until it is compliant.ScopeThis section contains general C# coding standards which can be applied to any type of applicationdeveloped in C#, based on Framework Design Guidelines\uF1C5.It does not pretend to be a tutorial on C#. It only includes a set of limitations and recommendationsfocused on clarifying the development.ToolsResharper\uF1C5 is a great 3rd party code cleanup and style tool.StyleCop\uF1C5 analyzes C# srouce code to enforce a set of style and consistency rules and has beenintegrated into many 3rd party development tools such as Resharper.FxCop\uF1C5 is an application that analyzes managed code assemblies (code that targets the .NETFramework common language runtime) and reports information about the assemblies, such aspossible design, localization, performance, and security improvements.C# Stylizer\uF1C5 does many of the style rules automaticallyHighlights of Coding StandardsThis section is not intended to give a summary of all the coding standards that enabled by ourcustomized StyleCop, but to give a highlight of some rules one will possibly meet in daily coding life. Italso provides some recommended however not mandatory(which means not enabled in StyleCop)coding standards.", "Links": [ { "Uri": "http://msdn.microsoft.com/en-us/library/ms229042.aspx" @@ -147,12 +147,12 @@ }, { "Number": 9, - "Text": "9 / 19daily coding life. It also provides some recommended however not mandatory(which meansnot enabled in StyleCop) coding standards.File Layout (Recommended)Only one public class is allowed per file.The file name is derived from the class name.Class Definition Order (Mandatory)The class definition contains class members in the following order, from less restrictedscope (public) to more restrictive (private):Nested types, e.g. classes, enum, struct, etc.Field members, e.g. member variables, const, etc.Member functionsConstructorsFinalizer (Do not use unless absolutely necessary)Methods (Properties, Events, Operations, Overridables, Static)Private nested typesNaming (Mandatory)DO use PascalCasing for all public member, type, and namespace names consisting ofmultiple words.NOTE: A special case is made for two-letter acronyms in which both letters are capitalized,e.g. IOStreamDO use camelCasing for parameter names.Class : ObserverFilename: Observer.cs PropertyDescriptor HtmlTag IOStream propertyDescriptor htmlTag ioStream", + "Text": "9 / 18File Layout (Recommended)Only one public class is allowed per file.The file name is derived from the class name.Class Definition Order (Mandatory)The class definition contains class members in the following order, from less restricted scope (public) tomore restrictive (private):Nested types, e.g. classes, enum, struct, etc.Field members, e.g. member variables, const, etc.Member functionsConstructorsFinalizer (Do not use unless absolutely necessary)Methods (Properties, Events, Operations, Overridables, Static)Private nested typesNaming (Mandatory)DO use PascalCasing for all public member, type, and namespace names consisting of multiplewords.NOTE: A special case is made for two-letter acronyms in which both letters are capitalized, e.g. IOStreamDO use camelCasing for parameter names.DO start with underscore for private fieldsClass : ObserverFilename: Observer.cs PropertyDescriptor HtmlTag IOStream propertyDescriptor htmlTag ioStream private readonly Guid _userId = Guid.NewGuid();", "Links": [] }, { "Number": 10, - "Text": "10 / 19DO start with underscore for private fieldsDO start static readonly fields, constants with capitalized caseDO NOT capitalize each word in so-called closed-form compound words\uF1C5.DO have \"Async\" explicitly in the Async method name to notice people how to use itproperlyFormatting (Mandatory)DO use spaces over tabs, and always show all spaces/tabs in IDETipsVisual Studio > TOOLS > Options > Text Editor > C# > Tabs > Insert spaces (Tab size:4)Visual Studio > Edit > Advanced > View White SpaceDO add using inside namespace declarationDO add a space when:1. for (var i = 0; i < 1; i++)2. if (a == b)Cross-platform codingOur code should supports multiple operating systems. Don't assume we only run (anddevelop) on Windows. Code should be sensitvie to the differences between OS's. Here aresome specifics to consider. private readonly Guid _userId = Guid.NewGuid(); private static readonly IEntityAccessor EntityAccessor = null; private const string MetadataName = \"MetadataName\"; namespace Microsoft.Content.Build.BuildWorker.UnitTest { using System; }", + "Text": "10 / 18DO start static readonly fields, constants with capitalized caseDO NOT capitalize each word in so-called closed-form compound words\uF1C5.DO have \"Async\" explicitly in the Async method name to notice people how to use it properlyFormatting (Mandatory)DO use spaces over tabs, and always show all spaces/tabs in IDETipsVisual Studio > TOOLS > Options > Text Editor > C# > Tabs > Insert spaces (Tab size: 4)Visual Studio > Edit > Advanced > View White SpaceDO add using inside namespace declarationDO add a space when:1. for (var i = 0; i < 1; i++)2. if (a == b)Cross-platform codingOur code should supports multiple operating systems. Don't assume we only run (and develop) onWindows. Code should be sensitvie to the differences between OS's. Here are some specifics to consider.DO use Enviroment.NewLine instead of hard-coding the line break instead of \\r\\n, as Windows uses\\r\\n and OSX/Linux uses \\n.NoteBe aware that thes line-endings may cause problems in code when using @\"\" text blocks with linebreaks. private static readonly IEntityAccessor EntityAccessor = null; private const string MetadataName = \"MetadataName\"; namespace Microsoft.Content.Build.BuildWorker.UnitTest { using System; }", "Links": [ { "Uri": "http://msdn.microsoft.com/en-us/library/ms229043.aspx" @@ -167,27 +167,22 @@ }, { "Number": 11, - "Text": "11 / 19DO use Enviroment.NewLine instead of hard-coding the line break instead of \\r\\n, asWindows uses \\r\\n and OSX/Linux uses \\n.NoteBe aware that thes line-endings may cause problems in code when using @\"\" text blockswith line breaks.DO Use Path.Combine() or Path.DirectorySeparatorChar to separate directories. If this isnot possible (such as in scripting), use a forward slash /. Windows is more forgivingthan Linux in this regard.Unit tests and functional testsAssembly namingThe unit tests for the Microsoft.Foo assembly live in the Microsoft.Foo.Tests assembly.The functional tests for the Microsoft.Foo assmebly live in theMicrosoft.Foo.FunctionalTests assmebly.In general there should be exactly one unit test assebmly for each product runtimeassembly. In general there should be one functional test assembly per repo. Exceptions canbe made for both.Unit test class namingTest class names end with Test and live in the same namespace as the class being tested.For example, the unit tests for the Microsoft.Foo.Boo class would be in a Microsoft.Foo.Booclass in the test assembly.Unit test method namingUnit test method names must be descriptive about what is being tested, under whatconditions, and what the expectations are. Pascal casing and underscores can be used toimprove readability. The following test names are correct:The following test names are incorrect:PublicApiArgumentsShouldHaveNotNullAnnotationPublic_api_arguments_should_have_not_null_annotationTest1Constructor", + "Text": "11 / 18DO Use Path.Combine() or Path.DirectorySeparatorChar to separate directories. If this is notpossible (such as in scripting), use a forward slash /. Windows is more forgiving than Linux in thisregard.Unit tests and functional testsAssembly namingThe unit tests for the Microsoft.Foo assembly live in the Microsoft.Foo.Tests assembly.The functional tests for the Microsoft.Foo assmebly live in the Microsoft.Foo.FunctionalTests assmebly.In general there should be exactly one unit test assebmly for each product runtime assembly. In generalthere should be one functional test assembly per repo. Exceptions can be made for both.Unit test class namingTest class names end with Test and live in the same namespace as the class being tested. For example,the unit tests for the Microsoft.Foo.Boo class would be in a Microsoft.Foo.Boo class in the test assembly.Unit test method namingUnit test method names must be descriptive about what is being tested, under what conditions, and whatthe expectations are. Pascal casing and underscores can be used to improve readability. The followingtest names are correct:The following test names are incorrect:Unit test structureThe contents of every unit test should be split into three distinct stages, optionally separated by thesecomments:PublicApiArgumentsShouldHaveNotNullAnnotationPublic_api_arguments_should_have_not_null_annotationTest1ConstructorFormatStringGetData// Arrange// Act// Assert", "Links": [] }, { "Number": 12, - "Text": "12 / 19Unit test structureThe contents of every unit test should be split into three distinct stages, optionallyseparated by these comments:The crucial thing here is the Act stage is exactly one statement. That one statement isnothing more than a call to the one method that you are trying to test. keeping that onestatement as simple as possible is also very important. For example, this is not ideal:This style is not recomended because way too many things can go wrong in this onestatement. All the GetComplexParamN() calls can throw for a variety of reasons unrelated tothe test itself. It is thus unclear to someone running into a problem why the failure occured.The ideal pattern is to move the complex parameter building into the `Arrange section:Now the only reason the line with CallSomeMethod() can fail is if the method itself blew up.Testing exception messagesIn general testing the specific exception message in a unit test is important. This ensuresthat the exact desired exception is what is being tested rather than a different exception ofFormatStringGetData// Arrange// Act// Assertint result = myObj.CallSomeMethod(GetComplexParam1(), GetComplexParam2(), GetComplexParam3());// ArrangeP1 p1 = GetComplexParam1();P2 p2 = GetComplexParam2();P3 p3 = GetComplexParam3();// Actint result = myObj.CallSomeMethod(p1, p2, p3);// AssertAssert.AreEqual(1234, result);", + "Text": "12 / 18The crucial thing here is the Act stage is exactly one statement. That one statement is nothing more thana call to the one method that you are trying to test. keeping that one statement as simple as possible isalso very important. For example, this is not ideal:This style is not recomended because way too many things can go wrong in this one statement. All theGetComplexParamN() calls can throw for a variety of reasons unrelated to the test itself. It is thus unclearto someone running into a problem why the failure occured.The ideal pattern is to move the complex parameter building into the `Arrange section:Now the only reason the line with CallSomeMethod() can fail is if the method itself blew up.Testing exception messagesIn general testing the specific exception message in a unit test is important. This ensures that the exactdesired exception is what is being tested rather than a different exception of the same type. In order toverify the exact exception it is important to verify the message.Use xUnit.net's plethora of built-in assertionsxUnit.net includes many kinds of assertions – please use the most appropriate one for your test. This willmake the tests a lot more readable and also allow the test runner report the best possible errors(whether it's local or the CI machine). For example, these are bad:int result = myObj.CallSomeMethod(GetComplexParam1(), GetComplexParam2(), GetComplexParam3());// ArrangeP1 p1 = GetComplexParam1();P2 p2 = GetComplexParam2();P3 p3 = GetComplexParam3();// Actint result = myObj.CallSomeMethod(p1, p2, p3);// AssertAssert.AreEqual(1234, result);var ex = Assert.Throws( () => fruitBasket.GetBananaById(1234));Assert.Equal( \"1234\", ex.Message);", "Links": [] }, { "Number": 13, - "Text": "13 / 19the same type. In order to verify the exact exception it is important to verify the message.Use xUnit.net's plethora of built-in assertionsxUnit.net includes many kinds of assertions – please use the most appropriate one for yourtest. This will make the tests a lot more readable and also allow the test runner report thebest possible errors (whether it's local or the CI machine). For example, these are bad:These are good:Parallel testsBy default all unit test assemblies should run in parallel mode, which is the default. Unittests shouldn't depend on any shared state, and so should generally be runnable inparallel. If the tests fail in parallel, the first thing to do is to figure out why; do not justdisable parallel tests!var ex = Assert.Throws( () => fruitBasket.GetBananaById(1234));Assert.Equal( \"1234\", ex.Message);Assert.Equal(true, someBool);Assert.True(\"abc123\" == someString);Assert.True(list1.Length == list2.Length);for (int i = 0; i < list1.Length; i++) { Assert.True( String.Equals list1[i], list2[i], StringComparison.OrdinalIgnoreCase));}Assert.True(someBool);Assert.Equal(\"abc123\", someString);// built-in collection assertions!Assert.Equal(list1, list2, StringComparer.OrdinalIgnoreCase);", + "Text": "13 / 18These are good:Parallel testsBy default all unit test assemblies should run in parallel mode, which is the default. Unit tests shouldn'tdepend on any shared state, and so should generally be runnable in parallel. If the tests fail in parallel,the first thing to do is to figure out why; do not just disable parallel tests!For functional tests it is reasonable to disable parallel tests.Assert.Equal(true, someBool);Assert.True(\"abc123\" == someString);Assert.True(list1.Length == list2.Length);for (int i = 0; i < list1.Length; i++) { Assert.True( String.Equals list1[i], list2[i], StringComparison.OrdinalIgnoreCase));}Assert.True(someBool);Assert.Equal(\"abc123\", someString);// built-in collection assertions!Assert.Equal(list1, list2, StringComparer.OrdinalIgnoreCase);", "Links": [] }, { "Number": 14, - "Text": "14 / 19For functional tests it is reasonable to disable parallel tests.", - "Links": [] - }, - { - "Number": 15, - "Text": "15 / 19MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfxsupports CommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsingengine.Link to Math ExpressionsBlock QuotesThis is a block quote.AlertsNOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", + "Text": "14 / 18MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfx supportsCommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsing engine.Link to Math ExpressionsBlock QuotesThis is a block quote.AlertsNOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", "Links": [ { "Uri": "https://daringfireball.net/projects/markdown/" @@ -218,7 +213,7 @@ }, { "Goto": { - "PageNumber": 17, + "PageNumber": 16, "Coordinates": { "Left": 0, "Top": 239.25 @@ -228,9 +223,9 @@ ] }, { - "Number": 16, + "Number": 15, "NumberOfImages": 1, - "Text": "16 / 19ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", + "Text": "15 / 18ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", "Links": [ { "Uri": "https://learn.microsoft.com/en-us/media/learn/not-found/learn-not-found-light-mode.png?branch=main" @@ -241,17 +236,17 @@ ] }, { - "Number": 17, - "Text": "17 / 19Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", + "Number": 16, + "Text": "16 / 18Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", "Links": [] }, { - "Number": 18, - "Text": "18 / 19Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax canbe described as follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The textof the link will become the text of the tab header, displayed to the customer. In order forthe header to be recognized as a tab, the link itself must start with #tab/ and be followedby an ID representing the content of the tab. The ID is used to sync all same-ID tabs acrossthe page. Using the above example, when a user selects a tab with the link #tab/windows, alltabs with the link #tab/windows on the page will be selected.Dependent tabsresource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", + "Number": 17, + "Text": "17 / 18Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be describedas follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link willbecome the text of the tab header, displayed to the customer. In order for the header to be recognizedas a tab, the link itself must start with #tab/ and be followed by an ID representing the content of thetab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a userselects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in another set of tabs.Here's an example of that in action:resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", "Links": [ { "Goto": { - "PageNumber": 18, + "PageNumber": 17, "Coordinates": { "Left": 0, "Top": 603 @@ -261,15 +256,15 @@ ] }, { - "Number": 19, - "Text": "19 / 19It's possible to make the selection in one set of tabs dependent on the selection in anotherset of tabs. Here's an example of that in action:.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NETand TypeScript tabs. This is because the tab group defines two versions for each .NET andTypeScript, where the Windows/Linux selection above determines which version is shownfor .NET/TypeScript. Here's the markup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", + "Number": 18, + "Text": "18 / 18.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NET andTypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, wherethe Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's themarkup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", "Links": [ { "Goto": { - "PageNumber": 19, + "PageNumber": 18, "Coordinates": { "Left": 0, - "Top": 712.5 + "Top": 760.5 } } } @@ -337,7 +332,7 @@ "Title": "Markdown", "Children": [], "Destination": { - "PageNumber": 15, + "PageNumber": 14, "Type": 2, "Coordinates": { "Top": 0 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/toc.html.view.verified.json index a18bd1cceaf..6a2b397d73c 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/toc.html.view.verified.json @@ -1,12 +1,12 @@ { - "order": 100.0, + "order": 100, "items": [ { "name": "Getting Started with docfx", "href": "docfx_getting_started.html", "topicHref": "docfx_getting_started.html", "tocHref": null, - "level": 2.0, + "level": 2, "items": [], "leaf": true }, @@ -17,7 +17,7 @@ "name": "Section 1", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -26,7 +26,7 @@ "href": "engineering_guidelines.html", "topicHref": "engineering_guidelines.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -35,7 +35,7 @@ "href": "csharp_coding_standards.html", "topicHref": "csharp_coding_standards.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } @@ -43,14 +43,14 @@ "expanded": true, "topicHref": null, "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "Markdown", "href": "markdown.html", "topicHref": "markdown.html", "tocHref": null, - "level": 2.0, + "level": 2, "items": [], "leaf": true }, @@ -59,7 +59,7 @@ "href": "https://docs.microsoft.com/en-us/", "topicHref": "https://docs.microsoft.com/en-us/", "tocHref": null, - "level": 2.0, + "level": 2, "items": [], "leaf": true } @@ -83,7 +83,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.html.view.verified.json index 4d579d781a0..074056c1263 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "index.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -31,7 +31,7 @@ "_lang": "zh-CN", "_layout": "landing", "title": "docfx-seed", - "wordCount": 186.0, + "wordCount": 186, "_key": "index.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json index cb817c50b01..181ac491d25 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json @@ -167,7 +167,7 @@ "api/CatLibrary.CatException-1.html": { "href": "api/CatLibrary.CatException-1.html", "title": "Class CatException | docfx seed website", - "keywords": "Class CatException Namespace CatLibrary Assembly CatLibrary.dll public class CatException : Exception, ISerializable Type Parameters T Inheritance object Exception CatException Implements ISerializable Inherited Members Exception.GetBaseException() Exception.GetObjectData(SerializationInfo, StreamingContext) Exception.GetType() Exception.ToString() Exception.Data Exception.HelpLink Exception.HResult Exception.InnerException Exception.Message Exception.Source Exception.StackTrace Exception.TargetSite Exception.SerializeObjectState object.Equals(object) object.Equals(object, object) object.GetHashCode() object.MemberwiseClone() object.ReferenceEquals(object, object)" + "keywords": "Class CatException Namespace CatLibrary Assembly CatLibrary.dll public class CatException : Exception, ISerializable Type Parameters T Inheritance object Exception CatException Implements ISerializable Inherited Members Exception.GetBaseException() Exception.GetType() Exception.ToString() Exception.Data Exception.HelpLink Exception.HResult Exception.InnerException Exception.Message Exception.Source Exception.StackTrace Exception.TargetSite Exception.SerializeObjectState object.Equals(object) object.Equals(object, object) object.GetHashCode() object.MemberwiseClone() object.ReferenceEquals(object, object)" }, "api/CatLibrary.Complex-2.html": { "href": "api/CatLibrary.Complex-2.html", @@ -437,7 +437,7 @@ "apipage/CatLibrary.CatException-1.html": { "href": "apipage/CatLibrary.CatException-1.html", "title": "Class CatException | docfx seed website", - "keywords": "Class CatException Namespace CatLibrary Assembly CatLibrary.dll public class CatException : Exception, ISerializable Type Parameters T Inheritance object Exception CatException Implements ISerializable Inherited Members Exception.GetBaseException() Exception.GetObjectData(SerializationInfo, StreamingContext) Exception.GetType() Exception.ToString() Exception.Data Exception.HelpLink Exception.HResult Exception.InnerException Exception.Message Exception.Source Exception.StackTrace Exception.TargetSite Exception.SerializeObjectState object.Equals(object?) object.Equals(object?, object?) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object?, object?) object.ToString()" + "keywords": "Class CatException Namespace CatLibrary Assembly CatLibrary.dll public class CatException : Exception, ISerializable Type Parameters T Inheritance object Exception CatException Implements ISerializable Inherited Members Exception.GetBaseException() Exception.GetType() Exception.ToString() Exception.Data Exception.HelpLink Exception.HResult Exception.InnerException Exception.Message Exception.Source Exception.StackTrace Exception.TargetSite Exception.SerializeObjectState object.Equals(object?) object.Equals(object?, object?) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object?, object?) object.ToString()" }, "apipage/CatLibrary.Complex-2.html": { "href": "apipage/CatLibrary.Complex-2.html", @@ -742,7 +742,7 @@ "md/CatLibrary.CatException-1.html": { "href": "md/CatLibrary.CatException-1.html", "title": "Class CatException | docfx seed website", - "keywords": "Class CatException Namespace: CatLibrary Assembly: CatLibrary.dll public class CatException : Exception, ISerializable Type Parameters T Inheritance object ← Exception ← CatException Implements ISerializable Inherited Members Exception.GetBaseException(), Exception.GetObjectData(SerializationInfo, StreamingContext), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()" + "keywords": "Class CatException Namespace: CatLibrary Assembly: CatLibrary.dll public class CatException : Exception, ISerializable Type Parameters T Inheritance object ← Exception ← CatException Implements ISerializable Inherited Members Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()" }, "md/CatLibrary.Complex-2.html": { "href": "md/CatLibrary.Complex-2.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Class1.html.view.verified.json index 3460ed10bef..010f587608a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Class1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Class1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromAssembly.Class1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1

    ", "title": " Class Class1", - "wordCount": 39.0, + "wordCount": 39, "_key": "obj/md/BuildFromAssembly.Class1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Issue5432.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Issue5432.html.view.verified.json index 47dc63d6e95..3df6141ba34 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Issue5432.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.Issue5432.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromAssembly.Issue5432.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Struct Issue5432

    ", "title": " Struct Issue5432", - "wordCount": 28.0, + "wordCount": 28, "_key": "obj/md/BuildFromAssembly.Issue5432.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.html.view.verified.json index d0bb1aac096..a6f138488fb 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromAssembly.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromAssembly.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromAssembly

    ", "title": " Namespace BuildFromAssembly", - "wordCount": 9.0, + "wordCount": 9, "_key": "obj/md/BuildFromAssembly.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.CSharp.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.CSharp.html.view.verified.json index 9ec4f6a5317..d42f7158958 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.CSharp.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.CSharp.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromCSharpSourceCode.CSharp.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class CSharp

    ", "title": " Class CSharp", - "wordCount": 30.0, + "wordCount": 30, "_key": "obj/md/BuildFromCSharpSourceCode.CSharp.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.html.view.verified.json index 2e0f2e5d4a5..4e473b2594d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromCSharpSourceCode.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromCSharpSourceCode.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromCSharpSourceCode

    ", "title": " Namespace BuildFromCSharpSourceCode", - "wordCount": 2.0, + "wordCount": 2, "_key": "obj/md/BuildFromCSharpSourceCode.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.IIssue8948.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.IIssue8948.html.view.verified.json index 8b5f9a4cc0f..0d51a6c8ed7 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.IIssue8948.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.IIssue8948.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.IIssue8948.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Interface Class1.IIssue8948

    ", "title": " Interface Class1.IIssue8948", - "wordCount": 23.0, + "wordCount": 23, "_key": "obj/md/BuildFromProject.Class1.IIssue8948.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8665.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8665.html.view.verified.json index 8d58e3a9d8a..dc0f90b4909 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8665.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8665.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.Issue8665.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1.Issue8665

    ", "title": " Class Class1.Issue8665", - "wordCount": 93.0, + "wordCount": 93, "_key": "obj/md/BuildFromProject.Class1.Issue8665.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json index 3a107de74a9..2d2bc65767f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.Issue8696Attribute.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1.Issue8696Attribute

    ", "title": " Class Class1.Issue8696Attribute", - "wordCount": 162.0, + "wordCount": 162, "_key": "obj/md/BuildFromProject.Class1.Issue8696Attribute.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8948.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8948.html.view.verified.json index 4e9fcd084ff..2b28e967501 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8948.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue8948.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.Issue8948.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1.Issue8948

    ", "title": " Class Class1.Issue8948", - "wordCount": 42.0, + "wordCount": 42, "_key": "obj/md/BuildFromProject.Class1.Issue8948.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue9260.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue9260.html.view.verified.json index 9b3c9835a3f..f6baffdba61 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue9260.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Issue9260.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.Issue9260.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Enum Class1.Issue9260

    ", "title": " Enum Class1.Issue9260", - "wordCount": 69.0, + "wordCount": 69, "_key": "obj/md/BuildFromProject.Class1.Issue9260.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Test-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Test-1.html.view.verified.json index 75148212e1b..e13a6a168be 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Test-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.Test-1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.Test-1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1.Test<T>

    ", "title": " Class Class1.Test", - "wordCount": 25.0, + "wordCount": 25, "_key": "obj/md/BuildFromProject.Class1.Test-1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.html.view.verified.json index 212a4efd751..8d95803b5dc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Class1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Class1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1

    ", "title": " Class Class1", - "wordCount": 333.0, + "wordCount": 333, "_key": "obj/md/BuildFromProject.Class1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Dog.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Dog.html.view.verified.json index efce27d0012..06726d658da 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Dog.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Dog.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Dog.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Dog

    ", "title": " Class Dog", - "wordCount": 77.0, + "wordCount": 77, "_key": "obj/md/BuildFromProject.Dog.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.IInheritdoc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.IInheritdoc.html.view.verified.json index fc6eb4150fd..6cfc0efb59f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.IInheritdoc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.IInheritdoc.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.IInheritdoc.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Interface IInheritdoc

    ", "title": " Interface IInheritdoc", - "wordCount": 16.0, + "wordCount": 16, "_key": "obj/md/BuildFromProject.IInheritdoc.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json index 996580fefd5..061500d8bf5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue6366.Class1-1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc.Issue6366.Class1<T>

    ", "title": " Class Inheritdoc.Issue6366.Class1", - "wordCount": 56.0, + "wordCount": 56, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue6366.Class1-1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json index db4ffc59f5b..19a30a7f380 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue6366.Class2.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc.Issue6366.Class2

    ", "title": " Class Inheritdoc.Issue6366.Class2", - "wordCount": 57.0, + "wordCount": 57, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue6366.Class2.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json index d3e5c2760ad..717b2103b6f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue6366.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc.Issue6366

    ", "title": " Class Inheritdoc.Issue6366", - "wordCount": 22.0, + "wordCount": 22, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue6366.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json index d9eadb5a71e..15475ea10d5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue7035.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc.Issue7035

    ", "title": " Class Inheritdoc.Issue7035", - "wordCount": 31.0, + "wordCount": 31, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue7035.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json index 420ddeef522..369e0170da5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue7484.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc.Issue7484

    ", "title": " Class Inheritdoc.Issue7484", - "wordCount": 148.0, + "wordCount": 148, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue7484.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json index b67bfc0e0b9..d5902ab2c19 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue8101.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc.Issue8101

    ", "title": " Class Inheritdoc.Issue8101", - "wordCount": 143.0, + "wordCount": 143, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue8101.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json index 4a5e3e7cc40..562e335d3bc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.Issue8129.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Struct Inheritdoc.Issue8129

    ", "title": " Struct Inheritdoc.Issue8129", - "wordCount": 25.0, + "wordCount": 25, "_key": "obj/md/BuildFromProject.Inheritdoc.Issue8129.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.html.view.verified.json index 563d9a204a2..94775678101 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Inheritdoc.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Inheritdoc.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Inheritdoc

    ", "title": " Class Inheritdoc", - "wordCount": 61.0, + "wordCount": 61, "_key": "obj/md/BuildFromProject.Inheritdoc.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.A.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.A.html.view.verified.json index 39dbf7800a0..6534a0d9644 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.A.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.A.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Issue8540.A.A.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class A

    ", "title": " Class A", - "wordCount": 22.0, + "wordCount": 22, "_key": "obj/md/BuildFromProject.Issue8540.A.A.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.html.view.verified.json index 280899b2843..9ae6893501b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.A.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Issue8540.A.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromProject.Issue8540.A

    ", "title": " Namespace BuildFromProject.Issue8540.A", - "wordCount": 2.0, + "wordCount": 2, "_key": "obj/md/BuildFromProject.Issue8540.A.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.B.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.B.html.view.verified.json index 7188c8273ba..33905e9c28b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.B.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.B.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Issue8540.B.B.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class B

    ", "title": " Class B", - "wordCount": 22.0, + "wordCount": 22, "_key": "obj/md/BuildFromProject.Issue8540.B.B.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.html.view.verified.json index 542cca2d67f..a9ee1d90c77 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.B.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Issue8540.B.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromProject.Issue8540.B

    ", "title": " Namespace BuildFromProject.Issue8540.B", - "wordCount": 2.0, + "wordCount": 2, "_key": "obj/md/BuildFromProject.Issue8540.B.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.html.view.verified.json index ab347706e03..6529432a716 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8540.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Issue8540.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromProject.Issue8540

    ", "title": " Namespace BuildFromProject.Issue8540", - "wordCount": 3.0, + "wordCount": 3, "_key": "obj/md/BuildFromProject.Issue8540.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8725.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8725.html.view.verified.json index 332b05a66fe..2cfce3a5c61 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8725.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.Issue8725.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.Issue8725.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Issue8725

    ", "title": " Class Issue8725", - "wordCount": 43.0, + "wordCount": 43, "_key": "obj/md/BuildFromProject.Issue8725.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.html.view.verified.json index 64bd5d2acae..9646d1fdc65 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromProject.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromProject

    ", "title": " Namespace BuildFromProject", - "wordCount": 43.0, + "wordCount": 43, "_key": "obj/md/BuildFromProject.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.BaseClass1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.BaseClass1.html.view.verified.json index 8b2d906c020..d23a385da9e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.BaseClass1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.BaseClass1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromVBSourceCode.BaseClass1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class BaseClass1

    ", "title": " Class BaseClass1", - "wordCount": 40.0, + "wordCount": 40, "_key": "obj/md/BuildFromVBSourceCode.BaseClass1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.Class1.html.view.verified.json index 3abe6f36b33..580224aee5b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.Class1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.Class1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromVBSourceCode.Class1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Class1

    ", "title": " Class Class1", - "wordCount": 96.0, + "wordCount": 96, "_key": "obj/md/BuildFromVBSourceCode.Class1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.html.view.verified.json index 7a7bdefb751..5c212fabc41 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromVBSourceCode.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/BuildFromVBSourceCode.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace BuildFromVBSourceCode

    ", "title": " Namespace BuildFromVBSourceCode", - "wordCount": 13.0, + "wordCount": 13, "_key": "obj/md/BuildFromVBSourceCode.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json index c92d698c4cd..f38b9648951 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Cat-2.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Cat<T, K>

    ", "title": " Class Cat", - "wordCount": 629.0, + "wordCount": 629, "_key": "obj/md/CatLibrary.Cat-2.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.CatException-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.CatException-1.html.view.verified.json index 88d3713aa3a..1d5fd83b88b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.CatException-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.CatException-1.html.view.verified.json @@ -1,5 +1,5 @@ { - "conceptual": "\n

    Namespace: CatLibrary
    \nAssembly: CatLibrary.dll

    \n
    public class CatException<T> : Exception, ISerializable\n
    \n

    Type Parameters

    \n

    T

    \n

    Inheritance

    \n

    object ←\nException ←\nCatException<T>

    \n

    Implements

    \n

    ISerializable

    \n

    Inherited Members

    \n

    Exception.GetBaseException(),\nException.GetObjectData(SerializationInfo, StreamingContext),\nException.GetType(),\nException.ToString(),\nException.Data,\nException.HelpLink,\nException.HResult,\nException.InnerException,\nException.Message,\nException.Source,\nException.StackTrace,\nException.TargetSite,\nException.SerializeObjectState,\nobject.Equals(object?),\nobject.Equals(object?, object?),\nobject.GetHashCode(),\nobject.GetType(),\nobject.MemberwiseClone(),\nobject.ReferenceEquals(object?, object?),\nobject.ToString()

    \n", + "conceptual": "\n

    Namespace: CatLibrary
    \nAssembly: CatLibrary.dll

    \n
    public class CatException<T> : Exception, ISerializable\n
    \n

    Type Parameters

    \n

    T

    \n

    Inheritance

    \n

    object ←\nException ←\nCatException<T>

    \n

    Implements

    \n

    ISerializable

    \n

    Inherited Members

    \n

    Exception.GetBaseException(),\nException.GetType(),\nException.ToString(),\nException.Data,\nException.HelpLink,\nException.HResult,\nException.InnerException,\nException.Message,\nException.Source,\nException.StackTrace,\nException.TargetSite,\nException.SerializeObjectState,\nobject.Equals(object?),\nobject.Equals(object?, object?),\nobject.GetHashCode(),\nobject.GetType(),\nobject.MemberwiseClone(),\nobject.ReferenceEquals(object?, object?),\nobject.ToString()

    \n", "type": "Conceptual", "source": { "remote": { @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.CatException-1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class CatException<T>

    ", "title": " Class CatException", - "wordCount": 45.0, + "wordCount": 43, "_key": "obj/md/CatLibrary.CatException-1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Complex-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Complex-2.html.view.verified.json index 2c4868b3d49..f33ad3f700d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Complex-2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Complex-2.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Complex-2.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Complex<T, J>

    ", "title": " Class Complex", - "wordCount": 28.0, + "wordCount": 28, "_key": "obj/md/CatLibrary.Complex-2.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json index c7a8593df73..bf8af611fa8 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ColorType.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.ContainersRefType.ColorType.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Enum ContainersRefType.ColorType

    ", "title": " Enum ContainersRefType.ColorType", - "wordCount": 22.0, + "wordCount": 22, "_key": "obj/md/CatLibrary.Core.ContainersRefType.ColorType.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json index 8f433185839..ffdf0f46992 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class ContainersRefType.ContainersRefTypeChild

    ", "title": " Class ContainersRefType.ContainersRefTypeChild", - "wordCount": 22.0, + "wordCount": 22, "_key": "obj/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json index 5f2aa86a0cb..e1396f8043d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Interface ContainersRefType.ContainersRefTypeChildInterface

    ", "title": " Interface ContainersRefType.ContainersRefTypeChildInterface", - "wordCount": 7.0, + "wordCount": 7, "_key": "obj/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json index 56a6e3e7458..e13bb4026e8 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Delegate ContainersRefType.ContainersRefTypeDelegate

    ", "title": " Delegate ContainersRefType.ContainersRefTypeDelegate", - "wordCount": 10.0, + "wordCount": 10, "_key": "obj/md/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.html.view.verified.json index ef925b4ddc7..45c7e27966b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ContainersRefType.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.ContainersRefType.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Struct ContainersRefType

    ", "title": " Struct ContainersRefType", - "wordCount": 68.0, + "wordCount": 68, "_key": "obj/md/CatLibrary.Core.ContainersRefType.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json index 2981ae4cf33..1c28685b203 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.ExplicitLayoutClass.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.ExplicitLayoutClass.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class ExplicitLayoutClass

    ", "title": " Class ExplicitLayoutClass", - "wordCount": 22.0, + "wordCount": 22, "_key": "obj/md/CatLibrary.Core.ExplicitLayoutClass.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.Issue231.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.Issue231.html.view.verified.json index 27308492b4a..5dab38e68ff 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.Issue231.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.Issue231.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.Issue231.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Issue231

    ", "title": " Class Issue231", - "wordCount": 45.0, + "wordCount": 45, "_key": "obj/md/CatLibrary.Core.Issue231.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.html.view.verified.json index 050422408e8..1d8826c6f23 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Core.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Core.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace CatLibrary.Core

    ", "title": " Namespace CatLibrary.Core", - "wordCount": 19.0, + "wordCount": 19, "_key": "obj/md/CatLibrary.Core.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.FakeDelegate-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.FakeDelegate-1.html.view.verified.json index 3958d1abcd6..72b58503fde 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.FakeDelegate-1.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.FakeDelegate-1.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.FakeDelegate-1.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Delegate FakeDelegate<T>

    ", "title": " Delegate FakeDelegate", - "wordCount": 43.0, + "wordCount": 43, "_key": "obj/md/CatLibrary.FakeDelegate-1.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.IAnimal.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.IAnimal.html.view.verified.json index 3f9c8fa7f7d..266f966c93d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.IAnimal.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.IAnimal.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.IAnimal.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Interface IAnimal

    ", "title": " Interface IAnimal", - "wordCount": 96.0, + "wordCount": 96, "_key": "obj/md/CatLibrary.IAnimal.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICat.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICat.html.view.verified.json index 46932c10f8d..9bd56d2271c 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICat.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICat.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.ICat.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Interface ICat

    ", "title": " Interface ICat", - "wordCount": 35.0, + "wordCount": 35, "_key": "obj/md/CatLibrary.ICat.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICatExtension.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICatExtension.html.view.verified.json index e06fd881708..3048684c691 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICatExtension.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.ICatExtension.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.ICatExtension.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class ICatExtension

    ", "title": " Class ICatExtension", - "wordCount": 107.0, + "wordCount": 107, "_key": "obj/md/CatLibrary.ICatExtension.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefDelegate-3.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefDelegate-3.html.view.verified.json index d62222fd450..f1a74fe979e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefDelegate-3.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefDelegate-3.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.MRefDelegate-3.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Delegate MRefDelegate<K, T, L>

    ", "title": " Delegate MRefDelegate", - "wordCount": 55.0, + "wordCount": 55, "_key": "obj/md/CatLibrary.MRefDelegate-3.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefNormalDelegate.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefNormalDelegate.html.view.verified.json index ec163bb35d4..1bbd38fd98b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefNormalDelegate.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.MRefNormalDelegate.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.MRefNormalDelegate.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Delegate MRefNormalDelegate

    ", "title": " Delegate MRefNormalDelegate", - "wordCount": 33.0, + "wordCount": 33, "_key": "obj/md/CatLibrary.MRefNormalDelegate.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Tom.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Tom.html.view.verified.json index 077f376c266..137c2126553 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Tom.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Tom.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.Tom.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class Tom

    ", "title": " Class Tom", - "wordCount": 108.0, + "wordCount": 108, "_key": "obj/md/CatLibrary.Tom.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.TomFromBaseClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.TomFromBaseClass.html.view.verified.json index e7514970b84..aca800daf76 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.TomFromBaseClass.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.TomFromBaseClass.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.TomFromBaseClass.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Class TomFromBaseClass

    ", "title": " Class TomFromBaseClass", - "wordCount": 47.0, + "wordCount": 47, "_key": "obj/md/CatLibrary.TomFromBaseClass.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.html.view.verified.json index e8aedc8e141..84116296562 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/CatLibrary.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace CatLibrary

    ", "title": " Namespace CatLibrary", - "wordCount": 130.0, + "wordCount": 130, "_key": "obj/md/CatLibrary.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.ColorType.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.ColorType.html.view.verified.json index 0c144267283..c4857e7ebb7 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.ColorType.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.ColorType.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/MRef.Demo.Enumeration.ColorType.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Enum ColorType

    ", "title": " Enum ColorType", - "wordCount": 41.0, + "wordCount": 41, "_key": "obj/md/MRef.Demo.Enumeration.ColorType.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.html.view.verified.json index aff2ed61a9a..d9526eeb49a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.Enumeration.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/MRef.Demo.Enumeration.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace MRef.Demo.Enumeration

    ", "title": " Namespace MRef.Demo.Enumeration", - "wordCount": 4.0, + "wordCount": 4, "_key": "obj/md/MRef.Demo.Enumeration.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.html.view.verified.json index 8938bbb442f..cd16c217837 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.Demo.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/MRef.Demo.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace MRef.Demo

    ", "title": " Namespace MRef.Demo", - "wordCount": 2.0, + "wordCount": 2, "_key": "obj/md/MRef.Demo.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.html.view.verified.json index 7f9a4494831..a893a27f11e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/MRef.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "obj/md/MRef.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

    Namespace MRef

    ", "title": " Namespace MRef", - "wordCount": 2.0, + "wordCount": 2, "_key": "obj/md/MRef.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.html.view.verified.json index 477f550cbe3..13e585813c0 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.html.view.verified.json @@ -9,7 +9,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -18,7 +18,7 @@ "href": "BuildFromAssembly.Class1.html", "topicHref": "BuildFromAssembly.Class1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -26,7 +26,7 @@ "name": "Structs", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -35,13 +35,13 @@ "href": "BuildFromAssembly.Issue5432.html", "topicHref": "BuildFromAssembly.Issue5432.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromCSharpSourceCode", @@ -52,7 +52,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -61,13 +61,13 @@ "href": "BuildFromCSharpSourceCode.CSharp.html", "topicHref": "BuildFromCSharpSourceCode.CSharp.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromProject", @@ -88,7 +88,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -97,13 +97,13 @@ "href": "BuildFromProject.Issue8540.A.A.html", "topicHref": "BuildFromProject.Issue8540.A.A.html", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 }, { "name": "B", @@ -114,7 +114,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -123,23 +123,23 @@ "href": "BuildFromProject.Issue8540.B.B.html", "topicHref": "BuildFromProject.Issue8540.B.B.html", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -148,7 +148,7 @@ "href": "BuildFromProject.Class1.html", "topicHref": "BuildFromProject.Class1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -157,7 +157,7 @@ "href": "BuildFromProject.Class1.Issue8665.html", "topicHref": "BuildFromProject.Class1.Issue8665.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -166,7 +166,7 @@ "href": "BuildFromProject.Class1.Issue8696Attribute.html", "topicHref": "BuildFromProject.Class1.Issue8696Attribute.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -175,7 +175,7 @@ "href": "BuildFromProject.Class1.Issue8948.html", "topicHref": "BuildFromProject.Class1.Issue8948.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -184,7 +184,7 @@ "href": "BuildFromProject.Class1.Test-1.html", "topicHref": "BuildFromProject.Class1.Test-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -193,7 +193,7 @@ "href": "BuildFromProject.Dog.html", "topicHref": "BuildFromProject.Dog.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -202,7 +202,7 @@ "href": "BuildFromProject.Inheritdoc.html", "topicHref": "BuildFromProject.Inheritdoc.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -211,7 +211,7 @@ "href": "BuildFromProject.Inheritdoc.Issue6366.html", "topicHref": "BuildFromProject.Inheritdoc.Issue6366.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -220,7 +220,7 @@ "href": "BuildFromProject.Inheritdoc.Issue6366.Class1-1.html", "topicHref": "BuildFromProject.Inheritdoc.Issue6366.Class1-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -229,7 +229,7 @@ "href": "BuildFromProject.Inheritdoc.Issue6366.Class2.html", "topicHref": "BuildFromProject.Inheritdoc.Issue6366.Class2.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -238,7 +238,7 @@ "href": "BuildFromProject.Inheritdoc.Issue7035.html", "topicHref": "BuildFromProject.Inheritdoc.Issue7035.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -247,7 +247,7 @@ "href": "BuildFromProject.Inheritdoc.Issue7484.html", "topicHref": "BuildFromProject.Inheritdoc.Issue7484.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -256,7 +256,7 @@ "href": "BuildFromProject.Inheritdoc.Issue8101.html", "topicHref": "BuildFromProject.Inheritdoc.Issue8101.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -265,7 +265,7 @@ "href": "BuildFromProject.Issue8725.html", "topicHref": "BuildFromProject.Issue8725.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -273,7 +273,7 @@ "name": "Structs", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -282,7 +282,7 @@ "href": "BuildFromProject.Inheritdoc.Issue8129.html", "topicHref": "BuildFromProject.Inheritdoc.Issue8129.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -290,7 +290,7 @@ "name": "Interfaces", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -299,7 +299,7 @@ "href": "BuildFromProject.Class1.IIssue8948.html", "topicHref": "BuildFromProject.Class1.IIssue8948.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -308,7 +308,7 @@ "href": "BuildFromProject.IInheritdoc.html", "topicHref": "BuildFromProject.IInheritdoc.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -316,7 +316,7 @@ "name": "Enums", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -325,13 +325,13 @@ "href": "BuildFromProject.Class1.Issue9260.html", "topicHref": "BuildFromProject.Class1.Issue9260.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "BuildFromVBSourceCode", @@ -342,7 +342,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -351,7 +351,7 @@ "href": "BuildFromVBSourceCode.BaseClass1.html", "topicHref": "BuildFromVBSourceCode.BaseClass1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -360,13 +360,13 @@ "href": "BuildFromVBSourceCode.Class1.html", "topicHref": "BuildFromVBSourceCode.Class1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "CatLibrary", @@ -382,7 +382,7 @@ "name": "Classes", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -391,7 +391,7 @@ "href": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html", "topicHref": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -400,7 +400,7 @@ "href": "CatLibrary.Core.ExplicitLayoutClass.html", "topicHref": "CatLibrary.Core.ExplicitLayoutClass.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -409,7 +409,7 @@ "href": "CatLibrary.Core.Issue231.html", "topicHref": "CatLibrary.Core.Issue231.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -417,7 +417,7 @@ "name": "Structs", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -426,7 +426,7 @@ "href": "CatLibrary.Core.ContainersRefType.html", "topicHref": "CatLibrary.Core.ContainersRefType.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -434,7 +434,7 @@ "name": "Interfaces", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -443,7 +443,7 @@ "href": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html", "topicHref": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -451,7 +451,7 @@ "name": "Enums", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -460,7 +460,7 @@ "href": "CatLibrary.Core.ContainersRefType.ColorType.html", "topicHref": "CatLibrary.Core.ContainersRefType.ColorType.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -468,7 +468,7 @@ "name": "Delegates", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -477,19 +477,19 @@ "href": "CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html", "topicHref": "CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "Classes", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -498,7 +498,7 @@ "href": "CatLibrary.Cat-2.html", "topicHref": "CatLibrary.Cat-2.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -507,7 +507,7 @@ "href": "CatLibrary.CatException-1.html", "topicHref": "CatLibrary.CatException-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -516,7 +516,7 @@ "href": "CatLibrary.Complex-2.html", "topicHref": "CatLibrary.Complex-2.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -525,7 +525,7 @@ "href": "CatLibrary.ICatExtension.html", "topicHref": "CatLibrary.ICatExtension.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -534,7 +534,7 @@ "href": "CatLibrary.Tom.html", "topicHref": "CatLibrary.Tom.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -543,7 +543,7 @@ "href": "CatLibrary.TomFromBaseClass.html", "topicHref": "CatLibrary.TomFromBaseClass.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -551,7 +551,7 @@ "name": "Interfaces", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -560,7 +560,7 @@ "href": "CatLibrary.IAnimal.html", "topicHref": "CatLibrary.IAnimal.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -569,7 +569,7 @@ "href": "CatLibrary.ICat.html", "topicHref": "CatLibrary.ICat.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -577,7 +577,7 @@ "name": "Delegates", "topicHref": null, "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -586,7 +586,7 @@ "href": "CatLibrary.FakeDelegate-1.html", "topicHref": "CatLibrary.FakeDelegate-1.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -595,7 +595,7 @@ "href": "CatLibrary.MRefDelegate-3.html", "topicHref": "CatLibrary.MRefDelegate-3.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -604,13 +604,13 @@ "href": "CatLibrary.MRefNormalDelegate.html", "topicHref": "CatLibrary.MRefNormalDelegate.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "MRef", @@ -631,7 +631,7 @@ "name": "Enums", "topicHref": null, "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -640,21 +640,21 @@ "href": "MRef.Demo.Enumeration.ColorType.html", "topicHref": "MRef.Demo.Enumeration.ColorType.html", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 } ], "tocHref": null, - "level": 3.0 + "level": 3 } ], "tocHref": null, - "level": 2.0 + "level": 2 } ], "_appName": "Seed", @@ -674,7 +674,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json index 98c64259ba4..d377c8d81b4 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json @@ -543,7 +543,7 @@ }, { "Number": 4, - "Text": "4 / 80Class Class1Namespace: BuildFromAssemblyAssembly: BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 ← Class1Inherited Membersobject.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ToString()\uF1C5, object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.GetHashCode()\uF1C5ConstructorsClass1()MethodsHelloWorld()Hello World.public class Class1public Class1()public static void HelloWorld()", + "Text": "4 / 80Class Class1Namespace: BuildFromAssemblyAssembly: BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 ← Class1Inherited Membersobject.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ToString()\uF1C5, object.Equals(object?)\uF1C5,object.Equals(object?, object?)\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5ConstructorsClass1()MethodsHelloWorld()Hello World.public class Class1public Class1()public static void HelloWorld()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -590,9 +590,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" }, @@ -642,7 +639,7 @@ }, { "Number": 5, - "Text": "5 / 80Struct Issue5432Namespace: BuildFromAssemblyAssembly: BuildFromAssembly.dllInherited Membersobject.GetType()\uF1C5, object.ToString()\uF1C5, object.Equals(object?)\uF1C5, object.Equals(object?,object?)\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5PropertiesNameProperty Valuestring\uF1C5public struct Issue5432public string Name { get; }", + "Text": "5 / 80Struct Issue5432Namespace: BuildFromAssemblyAssembly: BuildFromAssembly.dllInherited Membersobject.GetType()\uF1C5, object.ToString()\uF1C5, object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5,object.ReferenceEquals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5PropertiesNameProperty Valuestring\uF1C5public struct Issue5432public string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" @@ -680,9 +677,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" }, @@ -738,7 +732,7 @@ }, { "Number": 7, - "Text": "7 / 80Class CSharpNamespace: BuildFromCSharpSourceCodeInheritanceobject\uF1C5 ← CSharpInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsMain(string[])Parametersargs string\uF1C5[]public class CSharppublic static void Main(string[] args)", + "Text": "7 / 80Class CSharpNamespace: BuildFromCSharpSourceCodeInheritanceobject\uF1C5 ← CSharpInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsMain(string[])Parametersargs string\uF1C5[]public class CSharppublic static void Main(string[] args)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1065,7 +1059,7 @@ }, { "Number": 12, - "Text": "12 / 80Class ANamespace: BuildFromProject.Issue8540.AAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← AInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class A", + "Text": "12 / 80Class ANamespace: BuildFromProject.Issue8540.AAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← AInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class A", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1176,7 +1170,7 @@ }, { "Number": 14, - "Text": "14 / 80Class BNamespace: BuildFromProject.Issue8540.BAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← BInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class B", + "Text": "14 / 80Class BNamespace: BuildFromProject.Issue8540.BAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← BInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class B", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1272,7 +1266,7 @@ }, { "Number": 15, - "Text": "15 / 80Class Class1Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Class1ImplementsIClass1Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsIssue1651()Pricing models are used to calculate theoretical option values1Black Scholes2Black763Black76Fut4Equity Tree5Variance Swap6Dividend ForecastIssue1887()IConfiguration related helper and extension routines.Issue2623()public class Class1 : IClass1public void Issue1651()public void Issue1887()", + "Text": "15 / 80Class Class1Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Class1ImplementsIClass1Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsIssue1651()Pricing models are used to calculate theoretical option values1Black Scholes2Black763Black76Fut4Equity Tree5Variance Swap6Dividend ForecastIssue1887()IConfiguration related helper and extension routines.Issue2623()public class Class1 : IClass1public void Issue1651()public void Issue1887()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1383,12 +1377,12 @@ }, { "Number": 17, - "Text": "17 / 80Issue4017()ExamplesRemarksIssue4392()Remarks@\"\\\\?\\\" @\"\\\\?\\\"var range = new Range { Min = 0, Max = 10 };public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content); return Task.CompletedTask;}void Update(){ myClass.Execute();}public void Issue4392()", + "Text": "17 / 80Issue4017()ExamplesRemarksIssue4392()Remarks@\"\\\\?\\\" @\"\\\\?\\\"Issue7484()var range = new Range { Min = 0, Max = 10 };public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content); return Task.CompletedTask;}void Update(){ myClass.Execute();}public void Issue4392()", "Links": [] }, { "Number": 18, - "Text": "18 / 80Issue7484()RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee DescriptionIssue8764()Type ParametersTIssue896()TestSee AlsoClass1.Test, Class1Issue9216()Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:public void Issue7484()public void Issue8764() where T : unmanagedpublic void Issue896()", + "Text": "18 / 80RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee DescriptionIssue8764()Type ParametersTIssue896()TestSee AlsoClass1.Test, Class1Issue9216()Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:public void Issue7484()public void Issue8764() where T : unmanagedpublic void Issue896()", "Links": [ { "Goto": { @@ -1436,7 +1430,7 @@ }, { "Number": 20, - "Text": "20 / 80Class Class1.Issue8665Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Class1.Issue8665Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5ConstructorsIssue8665()Issue8665(int)Parametersfoo int\uF1C5Issue8665(int, char)Parametersfoo int\uF1C5bar char\uF1C5Issue8665(int, char, string)public class Class1.Issue8665public Issue8665()public Issue8665(int foo)public Issue8665(int foo, char bar)", + "Text": "20 / 80Class Class1.Issue8665Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Class1.Issue8665Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5ConstructorsIssue8665()Issue8665(int)Parametersfoo int\uF1C5Issue8665(int, char)Parametersfoo int\uF1C5bar char\uF1C5Issue8665(int, char, string)public class Class1.Issue8665public Issue8665()public Issue8665(int foo)public Issue8665(int foo, char bar)public Issue8665(int foo, char bar, string baz)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1559,7 +1553,7 @@ }, { "Number": 21, - "Text": "21 / 80Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesBarProperty Valuechar\uF1C5BazProperty Valuestring\uF1C5FooProperty Valueint\uF1C5public Issue8665(int foo, char bar, string baz)public char Bar { get; }public string Baz { get; }public int Foo { get; }", + "Text": "21 / 80Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesBarProperty Valuechar\uF1C5BazProperty Valuestring\uF1C5FooProperty Valueint\uF1C5public char Bar { get; }public string Baz { get; }public int Foo { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -1619,7 +1613,7 @@ }, { "Number": 22, - "Text": "22 / 80Class Class1.Issue8696AttributeNamespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Attribute\uF1C5 ← Class1.Issue8696AttributeInherited MembersAttribute.Equals(object?)\uF1C5, Attribute.GetCustomAttribute(Assembly, Type)\uF1C5,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5,Attribute.GetCustomAttribute(Module, Type)\uF1C5, Attribute.GetCustomAttribute(Module, Type,bool)\uF1C5, Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5,Attribute.GetCustomAttributes(Assembly)\uF1C5, Attribute.GetCustomAttributes(Assembly, bool)\uF1C5, Attribute.GetCustomAttributes(Assembly, Type)\uF1C5,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5,Attribute.GetCustomAttributes(MemberInfo)\uF1C5, Attribute.GetCustomAttributes(MemberInfo,bool)\uF1C5, Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5,Attribute.GetCustomAttributes(Module)\uF1C5, Attribute.GetCustomAttributes(Module, bool)\uF1C5,Attribute.GetCustomAttributes(Module, Type)\uF1C5, Attribute.GetCustomAttributes(Module,Type, bool)\uF1C5, Attribute.GetCustomAttributes(ParameterInfo)\uF1C5,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5,Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5, Attribute.GetHashCode()\uF1C5,Attribute.IsDefaultAttribute()\uF1C5, Attribute.IsDefined(Assembly, Type)\uF1C5,Attribute.IsDefined(Assembly, Type, bool)\uF1C5, Attribute.IsDefined(MemberInfo, Type)\uF1C5,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5, Attribute.IsDefined(Module, Type)\uF1C5,Attribute.IsDefined(Module, Type, bool)\uF1C5, Attribute.IsDefined(ParameterInfo, Type)\uF1C5,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5, Attribute.Match(object?)\uF1C5, Attribute.TypeId\uF1C5, object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class Class1.Issue8696Attribute : Attribute", + "Text": "22 / 80Class Class1.Issue8696AttributeNamespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Attribute\uF1C5 ← Class1.Issue8696AttributeInherited MembersAttribute.Equals(object?)\uF1C5, Attribute.GetCustomAttribute(Assembly, Type)\uF1C5,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5, Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5, Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5, Attribute.GetCustomAttribute(Module,Type)\uF1C5, Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5, Attribute.GetCustomAttribute(ParameterInfo, Type,bool)\uF1C5, Attribute.GetCustomAttributes(Assembly)\uF1C5, Attribute.GetCustomAttributes(Assembly, bool)\uF1C5,Attribute.GetCustomAttributes(Assembly, Type)\uF1C5, Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5, Attribute.GetCustomAttributes(MemberInfo)\uF1C5, Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5, Attribute.GetCustomAttributes(MemberInfo, Type,bool)\uF1C5, Attribute.GetCustomAttributes(Module)\uF1C5, Attribute.GetCustomAttributes(Module, bool)\uF1C5,Attribute.GetCustomAttributes(Module, Type)\uF1C5, Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5,Attribute.GetCustomAttributes(ParameterInfo)\uF1C5, Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5, Attribute.GetCustomAttributes(ParameterInfo,Type, bool)\uF1C5, Attribute.GetHashCode()\uF1C5, Attribute.IsDefaultAttribute()\uF1C5, Attribute.IsDefined(Assembly,Type)\uF1C5, Attribute.IsDefined(Assembly, Type, bool)\uF1C5, Attribute.IsDefined(MemberInfo, Type)\uF1C5,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5, Attribute.IsDefined(Module, Type)\uF1C5,Attribute.IsDefined(Module, Type, bool)\uF1C5, Attribute.IsDefined(ParameterInfo, Type)\uF1C5,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5, Attribute.Match(object?)\uF1C5, Attribute.TypeId\uF1C5,object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5ConstructorsIssue8696Attribute(string?, int, int, string[]?, bool, Type?)public class Class1.Issue8696Attribute : Attribute[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1675,6 +1669,9 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-memberinfo-system-type)" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-memberinfo-system-type)" + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-memberinfo-system-type-system-boolean)" }, @@ -1694,7 +1691,7 @@ "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-module-system-type)" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-module-system-type-system-boolean)" + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-module-system-type)" }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-module-system-type-system-boolean)" @@ -1724,7 +1721,7 @@ "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-parameterinfo-system-type-system-boolean)" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-assembly)" + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattribute#system-attribute-getcustomattribute(system-reflection-parameterinfo-system-type-system-boolean)" }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-assembly)" @@ -1733,7 +1730,7 @@ "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-assembly)" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-assembly-system-boolean)" + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-assembly)" }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-assembly-system-boolean)" @@ -1781,7 +1778,7 @@ "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-boolean)" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-boolean)" + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-type)" }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-type)" @@ -1790,7 +1787,7 @@ "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-type)" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-type)" + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-type-system-boolean)" }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-memberinfo-system-type-system-boolean)" @@ -1837,9 +1834,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-module-system-type-system-boolean)" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-module-system-type-system-boolean)" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-parameterinfo)" }, @@ -1876,6 +1870,9 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-parameterinfo-system-type-system-boolean)" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.getcustomattributes#system-attribute-getcustomattributes(system-reflection-parameterinfo-system-type-system-boolean)" + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.gethashcode" }, @@ -1903,6 +1900,9 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.isdefined#system-attribute-isdefined(system-reflection-assembly-system-type)" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.isdefined#system-attribute-isdefined(system-reflection-assembly-system-type)" + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.isdefined#system-attribute-isdefined(system-reflection-assembly-system-type-system-boolean)" }, @@ -1984,9 +1984,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.typeid" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.typeid" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" }, @@ -2072,7 +2069,7 @@ }, { "Number": 23, - "Text": "23 / 80ConstructorsIssue8696Attribute(string?, int, int, string[]?, bool, Type?)Parametersdescription string\uF1C5?boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]?hasMultipleSelections bool\uF1C5enumType Type\uF1C5?[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", + "Text": "23 / 80Parametersdescription string\uF1C5?boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]?hasMultipleSelections bool\uF1C5enumType Type\uF1C5?", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -2132,7 +2129,7 @@ }, { "Number": 24, - "Text": "24 / 80Class Class1.Issue8948Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsDoNothing()Does nothing with generic type T.Type ParametersTA generic type.public class Class1.Issue8948 : Class1.IIssue8948public void DoNothing()", + "Text": "24 / 80Class Class1.Issue8948Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsDoNothing()Does nothing with generic type T.Type ParametersTA generic type.public class Class1.Issue8948 : Class1.IIssue8948public void DoNothing()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2237,7 +2234,7 @@ }, { "Number": 25, - "Text": "25 / 80Class Class1.TestNamespace: BuildFromProjectAssembly: BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 ← Class1.TestInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class Class1.Test", + "Text": "25 / 80Class Class1.TestNamespace: BuildFromProjectAssembly: BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 ← Class1.TestInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class Class1.Test", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2333,7 +2330,7 @@ }, { "Number": 26, - "Text": "26 / 80Class DogNamespace: BuildFromProjectAssembly: BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 ← DogInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5ConstructorsDog(string, int)Constructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesAgeAge of the dog.public class Dogpublic Dog(string name, int age)public int Age { get; }", + "Text": "26 / 80Class DogNamespace: BuildFromProjectAssembly: BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 ← DogInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5ConstructorsDog(string, int)Constructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesAgeAge of the dog.public class Dogpublic Dog(string name, int age)public int Age { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2471,7 +2468,7 @@ }, { "Number": 28, - "Text": "28 / 80Class InheritdocNamespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← InheritdocImplementsIInheritdoc, IDisposable\uF1C5Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsDispose()Performs application-defined tasks associated with freeing, releasing, or resettingunmanaged resources.Issue7628()This method should do something...Issue7629()This method should do something...public class Inheritdoc : IInheritdoc, IDisposablepublic void Dispose()public void Issue7628()public void Issue7629()", + "Text": "28 / 80Class InheritdocNamespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← InheritdocImplementsIInheritdoc, IDisposable\uF1C5Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsDispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.Issue7628()This method should do something...Issue7629()This method should do something...public class Inheritdoc : IInheritdoc, IDisposablepublic void Dispose()public void Issue7628()public void Issue7629()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2585,7 +2582,7 @@ }, { "Number": 29, - "Text": "29 / 80Class Inheritdoc.Issue6366Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue6366Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class Inheritdoc.Issue6366", + "Text": "29 / 80Class Inheritdoc.Issue6366Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue6366Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class Inheritdoc.Issue6366", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2681,7 +2678,7 @@ }, { "Number": 30, - "Text": "30 / 80Class Inheritdoc.Issue6366.Class1Namespace: BuildFromProjectAssembly: BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 ← Inheritdoc.Issue6366.Class1Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsTestMethod1(T, int)This text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.ReturnsTThis text inherited.public abstract class Inheritdoc.Issue6366.Class1public abstract T TestMethod1(T parm1, int parm2)", + "Text": "30 / 80Class Inheritdoc.Issue6366.Class1Namespace: BuildFromProjectAssembly: BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 ← Inheritdoc.Issue6366.Class1Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsTestMethod1(T, int)This text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.ReturnsTThis text inherited.public abstract class Inheritdoc.Issue6366.Class1public abstract T TestMethod1(T parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2786,7 +2783,7 @@ }, { "Number": 31, - "Text": "31 / 80Class Inheritdoc.Issue6366.Class2Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue6366.Class1 ← Inheritdoc.Issue6366.Class2Inherited MembersInheritdoc.Issue6366.Class1.TestMethod1(bool, int), object.Equals(object?)\uF1C5,object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsTestMethod1(bool, int)This text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5This text inherited.public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1public override bool TestMethod1(bool parm1, int parm2)", + "Text": "31 / 80Class Inheritdoc.Issue6366.Class2Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue6366.Class1 ← Inheritdoc.Issue6366.Class2Inherited MembersInheritdoc.Issue6366.Class1.TestMethod1(bool, int), object.Equals(object?)\uF1C5,object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsTestMethod1(bool, int)This text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5This text inherited.public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1public override bool TestMethod1(bool parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2842,6 +2839,9 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" }, @@ -2919,7 +2919,7 @@ "PageNumber": 30, "Coordinates": { "Left": 0, - "Top": 423.75 + "Top": 441.75 } } } @@ -2927,7 +2927,7 @@ }, { "Number": 32, - "Text": "32 / 80Class Inheritdoc.Issue7035Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue7035Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsA()B()public class Inheritdoc.Issue7035public void A()public void B()", + "Text": "32 / 80Class Inheritdoc.Issue7035Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue7035Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsA()B()public class Inheritdoc.Issue7035public void A()public void B()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3023,7 +3023,7 @@ }, { "Number": 33, - "Text": "33 / 80Class Inheritdoc.Issue7484Namespace: BuildFromProjectAssembly: BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 ← Inheritdoc.Issue7484Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsIssue7484()This is a constructor to document.PropertiesDoDadA string that could have something.public class Inheritdoc.Issue7484public Issue7484()public string DoDad { get; }", + "Text": "33 / 80Class Inheritdoc.Issue7484Namespace: BuildFromProjectAssembly: BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 ← Inheritdoc.Issue7484Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsIssue7484()This is a constructor to document.PropertiesDoDadA string that could have something.Property Valuepublic class Inheritdoc.Issue7484public Issue7484()public string DoDad { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3134,7 +3134,7 @@ }, { "Number": 34, - "Text": "34 / 80Property Valuestring\uF1C5MethodsBoolReturningMethod(bool)Simple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I canwrite documentation like this.public bool BoolReturningMethod(bool source)", + "Text": "34 / 80string\uF1C5MethodsBoolReturningMethod(bool)Simple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I can writedocumentation like this.public bool BoolReturningMethod(bool source)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -3167,7 +3167,7 @@ }, { "Number": 35, - "Text": "35 / 80Class Inheritdoc.Issue8101Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue8101Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsTween(float, float, float, Action<float>)Create a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5<float\uF1C5>A callback that will be invoked every time the tween value changes.Returnspublic class Inheritdoc.Issue8101public static object Tween(float from, float to, float duration, Action onChange)", + "Text": "35 / 80Class Inheritdoc.Issue8101Namespace: BuildFromProjectAssembly: BuildFromProject.dllInheritanceobject\uF1C5 ← Inheritdoc.Issue8101Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsTween(float, float, float, Action)Create a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5public class Inheritdoc.Issue8101public static object Tween(float from, float to, float duration, Action onChange)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3286,6 +3286,15 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.single" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object" + }, { "Goto": { "PageNumber": 8, @@ -3308,17 +3317,8 @@ }, { "Number": 36, - "Text": "36 / 80object\uF1C5The newly created tween instance.Tween(int, int, float, Action)Create a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.public static object Tween(int from, int to, float duration, Action onChange)", + "Text": "36 / 80The newly created tween instance.Tween(int, int, float, Action)Create a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.public static object Tween(int from, int to, float duration, Action onChange)", "Links": [ - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -3377,7 +3377,7 @@ }, { "Number": 37, - "Text": "37 / 80Class Issue8725Namespace: BuildFromProjectAssembly: BuildFromProject.dllA nice classInheritanceobject\uF1C5 ← Issue8725Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsMoreOperations()Another nice operationMyOperation()A nice operationSee AlsoClass1public class Issue8725public void MoreOperations()public void MyOperation()", + "Text": "37 / 80Class Issue8725Namespace: BuildFromProjectAssembly: BuildFromProject.dllA nice classInheritanceobject\uF1C5 ← Issue8725Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsMoreOperations()Another nice operationMyOperation()A nice operationSee AlsoClass1public class Issue8725public void MoreOperations()public void MyOperation()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3482,7 +3482,7 @@ }, { "Number": 38, - "Text": "38 / 80Struct Inheritdoc.Issue8129Namespace: BuildFromProjectAssembly: BuildFromProject.dllInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5ConstructorsIssue8129(string)Parametersfoo string\uF1C5public struct Inheritdoc.Issue8129public Issue8129(string foo)", + "Text": "38 / 80Struct Inheritdoc.Issue8129Namespace: BuildFromProjectAssembly: BuildFromProject.dllInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5ConstructorsIssue8129(string)Parametersfoo string\uF1C5public struct Inheritdoc.Issue8129public Issue8129(string foo)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" @@ -3629,7 +3629,7 @@ }, { "Number": 43, - "Text": "43 / 80Class BaseClass1Namespace: BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 ← BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5, object.Equals(object, object)\uF1C5, object.Finalize()\uF1C5,object.GetHashCode()\uF1C5, object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5,object.ReferenceEquals(object, object)\uF1C5, object.ToString()\uF1C5MethodsWithDeclarationKeyword(Class1)Parameterskeyword Class1ReturnsDateTime\uF1C5public abstract class BaseClass1public abstract DateTime WithDeclarationKeyword(Class1 keyword)", + "Text": "43 / 80Class BaseClass1Namespace: BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 ← BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5, object.Equals(object, object)\uF1C5, object.Finalize()\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object, object)\uF1C5,object.ToString()\uF1C5MethodsWithDeclarationKeyword(Class1)Parameterskeyword Class1ReturnsDateTime\uF1C5public abstract class BaseClass1public abstract DateTime WithDeclarationKeyword(Class1 keyword)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3761,7 +3761,7 @@ }, { "Number": 44, - "Text": "44 / 80Class Class1Namespace: BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 ← BaseClass1 ← Class1Inherited MembersBaseClass1.WithDeclarationKeyword(Class1), object.Equals(object)\uF1C5, object.Equals(object,object)\uF1C5, object.Finalize()\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object, object)\uF1C5, object.ToString()\uF1C5FieldsValueClassThis is a Value typeField ValueClass1PropertiesKeywordProperty ValueClass1MethodsValue(string)public class Class1 : BaseClass1public Class1 ValueClass[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }", + "Text": "44 / 80Class Class1Namespace: BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 ← BaseClass1 ← Class1Inherited MembersBaseClass1.WithDeclarationKeyword(Class1), object.Equals(object)\uF1C5, object.Equals(object, object)\uF1C5,object.Finalize()\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5,object.ReferenceEquals(object, object)\uF1C5, object.ToString()\uF1C5FieldsValueClassThis is a Value typeField ValueClass1PropertiesKeywordProperty ValueClass1MethodsValue(string)public class Class1 : BaseClass1public Class1 ValueClass[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3790,9 +3790,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.finalize" }, @@ -3947,7 +3944,7 @@ }, { "Number": 46, - "Text": "46 / 80Namespace CatLibraryNamespacesCatLibrary.CoreClassesCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classCatExceptionComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interface", + "Text": "46 / 80Namespace CatLibraryNamespacesCatLibrary.CoreClassesCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classCatExceptionComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interface", "Links": [ { "Goto": { @@ -4151,7 +4148,7 @@ }, { "Number": 49, - "Text": "49 / 80Class ContainersRefType.ContainersRefTypeChildNamespace: CatLibrary.CoreAssembly: CatLibrary.Core.dllInheritanceobject\uF1C5 ← ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class ContainersRefType.ContainersRefTypeChild", + "Text": "49 / 80Class ContainersRefType.ContainersRefTypeChildNamespace: CatLibrary.CoreAssembly: CatLibrary.Core.dllInheritanceobject\uF1C5 ← ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class ContainersRefType.ContainersRefTypeChild", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4247,7 +4244,7 @@ }, { "Number": 50, - "Text": "50 / 80Class ExplicitLayoutClassNamespace: CatLibrary.CoreAssembly: CatLibrary.Core.dllInheritanceobject\uF1C5 ← ExplicitLayoutClassInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class ExplicitLayoutClass", + "Text": "50 / 80Class ExplicitLayoutClassNamespace: CatLibrary.CoreAssembly: CatLibrary.Core.dllInheritanceobject\uF1C5 ← ExplicitLayoutClassInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class ExplicitLayoutClass", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4343,7 +4340,7 @@ }, { "Number": 51, - "Text": "51 / 80Class Issue231Namespace: CatLibrary.CoreAssembly: CatLibrary.dll, CatLibrary.Core.dllInheritanceobject\uF1C5 ← Issue231Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsBar(ContainersRefType)Parametersc ContainersRefTypeFoo(ContainersRefType)Parametersc ContainersRefTypepublic static class Issue231public static void Bar(this ContainersRefType c)public static void Foo(this ContainersRefType c)", + "Text": "51 / 80Class Issue231Namespace: CatLibrary.CoreAssembly: CatLibrary.dll, CatLibrary.Core.dllInheritanceobject\uF1C5 ← Issue231Inherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsBar(ContainersRefType)Parametersc ContainersRefTypeFoo(ContainersRefType)Parametersc ContainersRefTypepublic static class Issue231public static void Bar(this ContainersRefType c)public static void Foo(this ContainersRefType c)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4457,7 +4454,7 @@ }, { "Number": 52, - "Text": "52 / 80Struct ContainersRefTypeNamespace: CatLibrary.CoreAssembly: CatLibrary.Core.dllStruct ContainersRefTypeInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5Extension MethodsIssue231.Bar(ContainersRefType), Issue231.Foo(ContainersRefType)FieldsColorCountColorCountField Valuelong\uF1C5PropertiesGetColorCountGetColorCountProperty Valuelong\uF1C5Methodspublic struct ContainersRefTypepublic long ColorCountpublic long GetColorCount { get; }", + "Text": "52 / 80Struct ContainersRefTypeNamespace: CatLibrary.CoreAssembly: CatLibrary.Core.dllStruct ContainersRefTypeInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5Extension MethodsIssue231.Bar(ContainersRefType), Issue231.Foo(ContainersRefType)FieldsColorCountColorCountField Valuelong\uF1C5PropertiesGetColorCountGetColorCountProperty Valuelong\uF1C5Methodspublic struct ContainersRefTypepublic long ColorCountpublic long GetColorCount { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" @@ -4545,7 +4542,7 @@ "PageNumber": 51, "Coordinates": { "Left": 0, - "Top": 480 + "Top": 498 } } }, @@ -4554,7 +4551,7 @@ "PageNumber": 51, "Coordinates": { "Left": 0, - "Top": 346.5 + "Top": 364.5 } } } @@ -4640,7 +4637,7 @@ }, { "Number": 57, - "Text": "57 / 80Class CatNamespace: CatLibraryAssembly: CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classType ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 ← CatImplementsICat, IAnimalInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType), ICatExtension.Sleep(ICat, long)Examples[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct", + "Text": "57 / 80Class CatNamespace: CatLibraryAssembly: CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classType ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 ← CatImplementsICat, IAnimalInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType), ICatExtension.Sleep(ICat, long)Examples[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4761,7 +4758,7 @@ "PageNumber": 66, "Coordinates": { "Left": 0, - "Top": 390 + "Top": 408 } } }, @@ -4770,7 +4767,7 @@ "PageNumber": 66, "Coordinates": { "Left": 0, - "Top": 136.5 + "Top": 154.5 } } } @@ -4778,7 +4775,7 @@ }, { "Number": 58, - "Text": "58 / 80Here's example of how to create an instance of this class. As T is limited with class and K islimited with struct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksHere's all the content you can see in this class.ConstructorsCat()Default constructor.Cat(T)Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.Cat(string, out int, string, bool)It's a complex constructor. The parameter will have some attributes.Parametersvar a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}public Cat()public Cat(T ownType)public Cat(string nickName, out int age, string realName, bool isHealthy)", + "Text": "58 / 80Here's example of how to create an instance of this class. As T is limited with class and K is limited withstruct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksHere's all the content you can see in this class.ConstructorsCat()Default constructor.Cat(T)Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.Cat(string, out int, string, bool)It's a complex constructor. The parameter will have some attributes.Parametersvar a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}public Cat()public Cat(T ownType)public Cat(string nickName, out int age, string realName, bool isHealthy)", "Links": [] }, { @@ -4843,7 +4840,7 @@ }, { "Number": 60, - "Text": "60 / 80EII property.Property Valuestring\uF1C5this[string]This is index property of Cat. You can see that the visibility is different between get and setmethod.Property Valueint\uF1C5MethodsCalculateFood(DateTime)It's a method with complex return type.Parametersdate DateTime\uF1C5Date time to now.ReturnsDictionary\uF1C5>It's a relationship map of different kind food.Equals(object)Override the method of Object.Equals(object obj).public string Name { get; }public int this[string a] { protected get; set; }public Dictionary> CalculateFood(DateTime date)public override bool Equals(object obj)", + "Text": "60 / 80EII property.Property Valuestring\uF1C5this[string]This is index property of Cat. You can see that the visibility is different between get and set method.Property Valueint\uF1C5MethodsCalculateFood(DateTime)It's a method with complex return type.Parametersdate DateTime\uF1C5Date time to now.ReturnsDictionary\uF1C5>It's a relationship map of different kind food.Equals(object)Override the method of Object.Equals(object obj).public string Name { get; }public int this[string a] { protected get; set; }public Dictionary> CalculateFood(DateTime date)public override bool Equals(object obj)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -4912,7 +4909,7 @@ }, { "Number": 61, - "Text": "61 / 80Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.GetTailLength(int*, params object[])It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.Jump(T, K, ref bool)This method have attribute above it.ParametersownType TType come from class define.public long GetTailLength(int* catName, params object[] parameters)[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)", + "Text": "61 / 80Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.GetTailLength(int*, params object[])It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.Jump(T, K, ref bool)This method have attribute above it.ParametersownType TType come from class define.public long GetTailLength(int* catName, params object[] parameters)[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4963,7 +4960,7 @@ }, { "Number": 62, - "Text": "62 / 80anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionownEatEat event of this catEvent TypeEventHandler\uF1C5Operatorsoperator +(Cat, int)Addition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEatpublic static int operator +(Cat lsr, int rsr)", + "Text": "62 / 80anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionownEatEat event of this catEvent TypeEventHandler\uF1C5Operatorsoperator +(Cat, int)Addition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEatpublic static int operator +(Cat lsr, int rsr)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" @@ -5074,7 +5071,7 @@ }, { "Number": 64, - "Text": "64 / 80Class CatExceptionNamespace: CatLibraryAssembly: CatLibrary.dllType ParametersTInheritanceobject\uF1C5 ← Exception\uF1C5 ← CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5, Exception.GetObjectData(SerializationInfo,StreamingContext)\uF1C5, Exception.GetType()\uF1C5, Exception.ToString()\uF1C5, Exception.Data\uF1C5,Exception.HelpLink\uF1C5, Exception.HResult\uF1C5, Exception.InnerException\uF1C5, Exception.Message\uF1C5, Exception.Source\uF1C5, Exception.StackTrace\uF1C5, Exception.TargetSite\uF1C5,Exception.SerializeObjectState\uF1C5, object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5,object.GetHashCode()\uF1C5, object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5,object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class CatException : Exception, ISerializable", + "Text": "64 / 80Class CatExceptionNamespace: CatLibraryAssembly: CatLibrary.dllType ParametersTInheritanceobject\uF1C5 ← Exception\uF1C5 ← CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5, Exception.GetType()\uF1C5, Exception.ToString()\uF1C5, Exception.Data\uF1C5,Exception.HelpLink\uF1C5, Exception.HResult\uF1C5, Exception.InnerException\uF1C5, Exception.Message\uF1C5,Exception.Source\uF1C5, Exception.StackTrace\uF1C5, Exception.TargetSite\uF1C5, Exception.SerializeObjectState\uF1C5,object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class CatException : Exception, ISerializable", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5112,18 +5109,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.gettype" }, @@ -5187,9 +5172,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.message" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.message" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.source" }, @@ -5311,7 +5293,7 @@ }, { "Number": 65, - "Text": "65 / 80Class ComplexNamespace: CatLibraryAssembly: CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ← ComplexInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5public class Complex", + "Text": "65 / 80Class ComplexNamespace: CatLibraryAssembly: CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ← ComplexInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5public class Complex", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5407,7 +5389,7 @@ }, { "Number": 66, - "Text": "66 / 80Class ICatExtensionNamespace: CatLibraryAssembly: CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ← ICatExtensionInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsPlay(ICat, ColorType)Extension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playSleep(ICat, long)Extension method hint that how long the cat can sleep.public static class ICatExtensionpublic static void Play(this ICat icat, ContainersRefType.ColorType toy)", + "Text": "66 / 80Class ICatExtensionNamespace: CatLibraryAssembly: CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ← ICatExtensionInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsPlay(ICat, ColorType)Extension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playSleep(ICat, long)Extension method hint that how long the cat can sleep.public static class ICatExtensionpublic static void Play(this ICat icat, ContainersRefType.ColorType toy)public static void Sleep(this ICat icat, long hours)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5530,7 +5512,7 @@ }, { "Number": 67, - "Text": "67 / 80Parametersicat ICatThe type will be extended.hours long\uF1C5The length of sleep.public static void Sleep(this ICat icat, long hours)", + "Text": "67 / 80Parametersicat ICatThe type will be extended.hours long\uF1C5The length of sleep.", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -5554,7 +5536,7 @@ }, { "Number": 68, - "Text": "68 / 80Class TomNamespace: CatLibraryAssembly: CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 ← TomDerivedTomFromBaseClassInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5MethodsTomMethod(Complex, Tuple)This is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Another complex inputReturnspublic class Tompublic Complex TomMethod(Complex a, Tuple b)", + "Text": "68 / 80Class TomNamespace: CatLibraryAssembly: CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 ← TomDerivedTomFromBaseClassInherited Membersobject.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5MethodsTomMethod(Complex,Tuple)This is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Another complex inputReturnsComplexpublic class Tompublic Complex TomMethod(Complex a, Tuple b)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5646,6 +5628,15 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, { "Goto": { "PageNumber": 46, @@ -5708,22 +5699,31 @@ "Top": 0 } } + }, + { + "Goto": { + "PageNumber": 65, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, + { + "Goto": { + "PageNumber": 70, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } } ] }, { "Number": 69, - "Text": "69 / 80ComplexComplex TomFromBaseClassExceptionsNotImplementedException\uF1C5This is not implementedArgumentException\uF1C5This is the exception to be thrown when implementedCatExceptionThis is the exception in current documentation", + "Text": "69 / 80Complex TomFromBaseClassExceptionsNotImplementedException\uF1C5This is not implementedArgumentException\uF1C5This is the exception to be thrown when implementedCatExceptionThis is the exception in current documentation", "Links": [ - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.notimplementedexception" }, @@ -5742,24 +5742,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.argumentexception" }, - { - "Goto": { - "PageNumber": 65, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 70, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, { "Uri": "" }, @@ -5785,7 +5767,7 @@ }, { "Number": 70, - "Text": "70 / 80Class TomFromBaseClassNamespace: CatLibraryAssembly: CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 ← Tom ← TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple),object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5,object.GetType()\uF1C5, object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5,object.ToString()\uF1C5ConstructorsTomFromBaseClass(int)This is a #ctor with parameterParametersk int\uF1C5public class TomFromBaseClass : Tompublic TomFromBaseClass(int k)", + "Text": "70 / 80Class TomFromBaseClassNamespace: CatLibraryAssembly: CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 ← Tom ← TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple),object.Equals(object?)\uF1C5, object.Equals(object?, object?)\uF1C5, object.GetHashCode()\uF1C5, object.GetType()\uF1C5,object.MemberwiseClone()\uF1C5, object.ReferenceEquals(object?, object?)\uF1C5, object.ToString()\uF1C5ConstructorsTomFromBaseClass(int)This is a #ctor with parameterParametersk int\uF1C5public class TomFromBaseClass : Tompublic TomFromBaseClass(int k)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5900,7 +5882,7 @@ "PageNumber": 68, "Coordinates": { "Left": 0, - "Top": 393.75 + "Top": 411.75 } } } @@ -5908,7 +5890,7 @@ }, { "Number": 71, - "Text": "71 / 80Interface IAnimalNamespace: CatLibraryAssembly: CatLibrary.dllThis is basic interface of all animal.PropertiesNameName of Animal.Property Valuestring\uF1C5this[int]Return specific number animal's name.Property Valuestring\uF1C5MethodsEat()Animal's eat method.Eat(Tool)Overload method of eat. This define the animal eat by which tool.public interface IAnimalstring Name { get; }string this[int index] { get; }void Eat()", + "Text": "71 / 80Interface IAnimalNamespace: CatLibraryAssembly: CatLibrary.dllThis is basic interface of all animal.PropertiesNameName of Animal.Property Valuestring\uF1C5this[int]Return specific number animal's name.Property Valuestring\uF1C5MethodsEat()Animal's eat method.Eat(Tool)Overload method of eat. This define the animal eat by which tool.public interface IAnimalstring Name { get; }string this[int index] { get; }void Eat()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -5990,7 +5972,7 @@ "PageNumber": 66, "Coordinates": { "Left": 0, - "Top": 390 + "Top": 408 } } }, @@ -5999,7 +5981,7 @@ "PageNumber": 66, "Coordinates": { "Left": 0, - "Top": 136.5 + "Top": 154.5 } } } diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/cover.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/cover.html.view.verified.json index 39f781f3411..abc62cf517f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/cover.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/cover.html.view.verified.json @@ -7,8 +7,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "path": "pdf/cover.md", "documentation": { @@ -17,8 +17,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "", "title": "DOCFX PDF SAMPLE", - "wordCount": 3.0, + "wordCount": 3, "_key": "pdf/cover.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.html.view.verified.json index 4656b5b08e6..e4fa2a6576d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.html.view.verified.json @@ -1,5 +1,5 @@ { - "order": 200.0, + "order": 200, "items": [ { "name": "Articles", @@ -10,7 +10,7 @@ "href": "../articles/docfx_getting_started.html", "topicHref": "../articles/docfx_getting_started.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -21,7 +21,7 @@ "name": "Section 1", "topicHref": null, "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -30,7 +30,7 @@ "href": "../articles/engineering_guidelines.html", "topicHref": "../articles/engineering_guidelines.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -39,7 +39,7 @@ "href": "../articles/csharp_coding_standards.html", "topicHref": "../articles/csharp_coding_standards.html", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } @@ -47,14 +47,14 @@ "expanded": true, "topicHref": null, "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "Markdown", "href": "../articles/markdown.html", "topicHref": "../articles/markdown.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -63,14 +63,14 @@ "href": "https://docs.microsoft.com/en-us/", "topicHref": "https://docs.microsoft.com/en-us/", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "API Documentation", @@ -90,7 +90,7 @@ "topicUid": "BuildFromAssembly.Class1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -101,13 +101,13 @@ "topicUid": "BuildFromAssembly.Issue5432", "type": "Struct", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "BuildFromCSharpSourceCode", @@ -123,13 +123,13 @@ "topicUid": "BuildFromCSharpSourceCode.CSharp", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "BuildFromProject", @@ -159,13 +159,13 @@ "topicUid": "BuildFromProject.Issue8540.A.A", "type": "Class", "tocHref": null, - "level": 6.0, + "level": 6, "items": [], "leaf": true } ], "tocHref": null, - "level": 5.0 + "level": 5 }, { "name": "B", @@ -181,17 +181,17 @@ "topicUid": "BuildFromProject.Issue8540.B.B", "type": "Class", "tocHref": null, - "level": 6.0, + "level": 6, "items": [], "leaf": true } ], "tocHref": null, - "level": 5.0 + "level": 5 } ], "tocHref": null, - "level": 4.0 + "level": 4 }, { "name": "Class1", @@ -200,7 +200,7 @@ "topicUid": "BuildFromProject.Class1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -211,7 +211,7 @@ "topicUid": "BuildFromProject.Class1.IIssue8948", "type": "Interface", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -222,7 +222,7 @@ "topicUid": "BuildFromProject.Class1.Issue8665", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -233,7 +233,7 @@ "topicUid": "BuildFromProject.Class1.Issue8696Attribute", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -244,7 +244,7 @@ "topicUid": "BuildFromProject.Class1.Issue8948", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -255,7 +255,7 @@ "topicUid": "BuildFromProject.Class1.Issue9260", "type": "Enum", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -266,7 +266,7 @@ "topicUid": "BuildFromProject.Class1.Test`1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -277,7 +277,7 @@ "topicUid": "BuildFromProject.Dog", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -288,7 +288,7 @@ "topicUid": "BuildFromProject.IInheritdoc", "type": "Interface", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -299,7 +299,7 @@ "topicUid": "BuildFromProject.Inheritdoc", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -310,7 +310,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue6366", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -321,7 +321,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue6366.Class1`1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -332,7 +332,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue6366.Class2", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -343,7 +343,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue7035", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -354,7 +354,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue7484", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -365,7 +365,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue8101", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -376,7 +376,7 @@ "topicUid": "BuildFromProject.Inheritdoc.Issue8129", "type": "Struct", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -387,13 +387,13 @@ "topicUid": "BuildFromProject.Issue8725", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "BuildFromVBSourceCode", @@ -409,7 +409,7 @@ "topicUid": "BuildFromVBSourceCode.BaseClass1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -420,13 +420,13 @@ "topicUid": "BuildFromVBSourceCode.Class1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "CatLibrary", @@ -449,7 +449,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType", "type": "Struct", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -460,7 +460,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ColorType", "type": "Enum", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -471,7 +471,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChild", "type": "Class", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -482,7 +482,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface", "type": "Interface", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -493,7 +493,7 @@ "topicUid": "CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate", "type": "Delegate", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -504,7 +504,7 @@ "topicUid": "CatLibrary.Core.ExplicitLayoutClass", "type": "Class", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true }, @@ -515,13 +515,13 @@ "topicUid": "CatLibrary.Core.Issue231", "type": "Class", "tocHref": null, - "level": 5.0, + "level": 5, "items": [], "leaf": true } ], "tocHref": null, - "level": 4.0 + "level": 4 }, { "name": "CatException", @@ -530,7 +530,7 @@ "topicUid": "CatLibrary.CatException`1", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -541,7 +541,7 @@ "topicUid": "CatLibrary.Cat`2", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -552,7 +552,7 @@ "topicUid": "CatLibrary.Complex`2", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -563,7 +563,7 @@ "topicUid": "CatLibrary.FakeDelegate`1", "type": "Delegate", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -574,7 +574,7 @@ "topicUid": "CatLibrary.IAnimal", "type": "Interface", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -585,7 +585,7 @@ "topicUid": "CatLibrary.ICat", "type": "Interface", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -596,7 +596,7 @@ "topicUid": "CatLibrary.ICatExtension", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -607,7 +607,7 @@ "topicUid": "CatLibrary.MRefDelegate`3", "type": "Delegate", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -618,7 +618,7 @@ "topicUid": "CatLibrary.MRefNormalDelegate", "type": "Delegate", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -629,7 +629,7 @@ "topicUid": "CatLibrary.Tom", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true }, @@ -640,13 +640,13 @@ "topicUid": "CatLibrary.TomFromBaseClass", "type": "Class", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 }, { "name": "MRef.Demo.Enumeration", @@ -662,18 +662,18 @@ "topicUid": "MRef.Demo.Enumeration.ColorType", "type": "Enum", "tocHref": null, - "level": 4.0, + "level": 4, "items": [], "leaf": true } ], "tocHref": null, - "level": 3.0 + "level": 3 } ], "topicHref": null, "tocHref": null, - "level": 2.0 + "level": 2 }, { "name": "REST API", @@ -684,7 +684,7 @@ "href": "../restapi/petstore.html", "topicHref": "../restapi/petstore.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -693,14 +693,14 @@ "href": "../restapi/contacts.html", "topicHref": "../restapi/contacts.html", "tocHref": null, - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 2.0 + "level": 2 } ], "_appName": "Seed", @@ -720,7 +720,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json index bce439e1686..3f8c884b6b5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json @@ -1,9 +1,9 @@ { - "NumberOfPages": 127, + "NumberOfPages": 125, "Pages": [ { "Number": 1, - "Text": "Table of ContentsArticlesGetting Started with docfx3Engineering DocsSection 1Engineering Guidelines5C# Coding Standards8Markdown15Microsoft DocsAPI DocumentationBuildFromAssembly20Class121Issue543222BuildFromCSharpSourceCode23CSharp24BuildFromProject25Issue854027A28A29B30B31Class132Class1.IIssue894837Class1.Issue866538Class1.Issue8696Attribute41Class1.Issue894843Class1.Issue926044Class1.Test45Dog46IInheritdoc48Inheritdoc49Inheritdoc.Issue636651Inheritdoc.Issue6366.Class152Inheritdoc.Issue6366.Class254Inheritdoc.Issue703555Inheritdoc.Issue748456Inheritdoc.Issue810158Inheritdoc.Issue812960Issue872561", + "Text": "Table of ContentsArticlesGetting Started with docfx3Engineering DocsSection 1Engineering Guidelines5C# Coding Standards8Markdown14Microsoft DocsAPI DocumentationBuildFromAssembly19Class120Issue543221BuildFromCSharpSourceCode22CSharp23BuildFromProject24Issue854026A27A28B29B30Class131Class1.IIssue894836Class1.Issue866537Class1.Issue8696Attribute40Class1.Issue894842Class1.Issue926043Class1.Test44Dog45IInheritdoc47Inheritdoc48Inheritdoc.Issue636650Inheritdoc.Issue6366.Class151Inheritdoc.Issue6366.Class253Inheritdoc.Issue703554Inheritdoc.Issue748455Inheritdoc.Issue810157Inheritdoc.Issue812959Issue872560", "Links": [ { "Uri": "https://docs.microsoft.com/en-us/" @@ -37,7 +37,16 @@ }, { "Goto": { - "PageNumber": 15, + "PageNumber": 14, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, + { + "Goto": { + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -91,7 +100,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -145,7 +154,7 @@ }, { "Goto": { - "PageNumber": 32, + "PageNumber": 36, "Type": 2, "Coordinates": { "Top": 0 @@ -163,7 +172,7 @@ }, { "Goto": { - "PageNumber": 38, + "PageNumber": 40, "Type": 2, "Coordinates": { "Top": 0 @@ -172,7 +181,7 @@ }, { "Goto": { - "PageNumber": 41, + "PageNumber": 42, "Type": 2, "Coordinates": { "Top": 0 @@ -208,7 +217,7 @@ }, { "Goto": { - "PageNumber": 46, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -226,7 +235,7 @@ }, { "Goto": { - "PageNumber": 49, + "PageNumber": 50, "Type": 2, "Coordinates": { "Top": 0 @@ -244,7 +253,7 @@ }, { "Goto": { - "PageNumber": 52, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -271,7 +280,7 @@ }, { "Goto": { - "PageNumber": 56, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -280,7 +289,7 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 59, "Type": 2, "Coordinates": { "Top": 0 @@ -295,7 +304,13 @@ "Top": 0 } } - }, + } + ] + }, + { + "Number": 2, + "Text": "BuildFromVBSourceCode61BaseClass162Class163CatLibrary65Core67ContainersRefType68ContainersRefType.ColorType70ContainersRefType.ContainersRefTypeChild71ContainersRefType.ContainersRefTypeChildInterface72ContainersRefType.ContainersRefTypeDelegate73ExplicitLayoutClass74Issue23175CatException76Cat77Complex86FakeDelegate87IAnimal88ICat91ICatExtension92MRefDelegate94MRefNormalDelegate95Tom96TomFromBaseClass98MRef.Demo.Enumeration99ColorType100REST APIPet Store API101Contacts API116", + "Links": [ { "Goto": { "PageNumber": 61, @@ -304,13 +319,7 @@ "Top": 0 } } - } - ] - }, - { - "Number": 2, - "Text": "BuildFromVBSourceCode62BaseClass163Class164CatLibrary66Core68ContainersRefType69ContainersRefType.ColorType71ContainersRefType.ContainersRefTypeChild72ContainersRefType.ContainersRefTypeChildInterface73ContainersRefType.ContainersRefTypeDelegate74ExplicitLayoutClass75Issue23176CatException77Cat78Complex87FakeDelegate88IAnimal89ICat92ICatExtension93MRefDelegate95MRefNormalDelegate96Tom97TomFromBaseClass99MRef.Demo.Enumeration100ColorType101REST APIPet Store API102Contacts API117", - "Links": [ + }, { "Goto": { "PageNumber": 62, @@ -331,7 +340,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -340,7 +349,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -358,7 +367,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -430,7 +439,7 @@ }, { "Goto": { - "PageNumber": 78, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -457,7 +466,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 91, "Type": 2, "Coordinates": { "Top": 0 @@ -475,7 +484,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 94, "Type": 2, "Coordinates": { "Top": 0 @@ -502,7 +511,7 @@ }, { "Goto": { - "PageNumber": 97, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -538,16 +547,7 @@ }, { "Goto": { - "PageNumber": 102, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 117, + "PageNumber": 116, "Type": 2, "Coordinates": { "Top": 0 @@ -559,7 +559,7 @@ { "Number": 3, "NumberOfImages": 1, - "Text": "3 / 127Getting Started with docfxGetting StartedThis is a seed.", + "Text": "3 / 125Getting Started with docfxGetting StartedThis is a seed.", "Links": [ { "Uri": "" @@ -571,22 +571,22 @@ }, { "Number": 4, - "Text": "4 / 127docfx is an API documentation generator for .NET, currently support C# and VB. It has theability to extract triple slash comments out from your source code. What's more, it hassyntax to link additional files to API to add additional remarks. docfx will scan your sourcecode and your additional conceptual files and generate a complete HTML documentationwebsite for you. docfx provides the flexibility for you to customize the website throughtemplates. We currently have several embedded templates, including websites containingpure static html pages and also website managed by AngularJS.Click \"View Source\" for an API to route to the source code in GitHub (your API must bepushed to GitHub)docfx provide DNX version for cross platform use.docfx can be used within Visual Studio seamlessly. NOTE offical docfx.msbuild nugetpackage is now in pre-release version. You can also build your own with source codeand use it locally.We support Docfx Flavored Markdown(DFM) for writing conceptual files. DFM is100% compatible with Github Flavored Markdown(GFM) and add several new featuresincluding file inclusion, cross reference, and yaml header.", + "Text": "4 / 125docfx is an API documentation generator for .NET, currently support C# and VB. It has the ability toextract triple slash comments out from your source code. What's more, it has syntax to link additionalfiles to API to add additional remarks. docfx will scan your source code and your additional conceptualfiles and generate a complete HTML documentation website for you. docfx provides the flexibility foryou to customize the website through templates. We currently have several embedded templates,including websites containing pure static html pages and also website managed by AngularJS.Click \"View Source\" for an API to route to the source code in GitHub (your API must be pushed toGitHub)docfx provide DNX version for cross platform use.docfx can be used within Visual Studio seamlessly. NOTE offical docfx.msbuild nuget package isnow in pre-release version. You can also build your own with source code and use it locally.We support Docfx Flavored Markdown(DFM) for writing conceptual files. DFM is 100%compatible with Github Flavored Markdown(GFM) and add several new features including fileinclusion, cross reference, and yaml header.", "Links": [] }, { "Number": 5, - "Text": "5 / 127Engineering GuidelinesBasicsCopyright header and license noticeAll source code files require the following exact header according to its language (please donot make any changes to it).extension: .csextension: .jsextension: .cssextension: .tmpl, .tmpl.partialExternal dependenciesThis refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, andespecially outside of Microsoft. Adding new dependencies require additional approval.Current approved dependencies are:Newtonsoft.JsonJintHtmlAgilityPack// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license.// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license./** * Licensed to the .NET Foundation under one or more agreements. * The .NET Foundation licenses this file to you under the MIT license. */{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation lic", + "Text": "5 / 125Engineering GuidelinesBasicsCopyright header and license noticeAll source code files require the following exact header according to its language (please do not makeany changes to it).extension: .csextension: .jsextension: .cssextension: .tmpl, .tmpl.partialExternal dependenciesThis refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, and especiallyoutside of Microsoft. Adding new dependencies require additional approval.Current approved dependencies are:Newtonsoft.JsonJintHtmlAgilityPack// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license.// Licensed to the .NET Foundation under one or more agreements.// The .NET Foundation licenses this file to you under the MIT license./** * Licensed to the .NET Foundation under one or more agreements. * The .NET Foundation licenses this file to you under the MIT license. */{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses th", "Links": [] }, { "Number": 6, - "Text": "6 / 127NustacheYamlDotNetCode reviews and checkinsTo help ensure that only the highest quality code makes its way into the project, pleasesubmit all your code changes to GitHub as PRs. This includes runtime code changes, unittest updates, and deployment scripts. For example, sending a PR for just an update to aunit test might seem like a waste of time but the unit tests are just as important as theproduct code and as such, reviewing changes to them is also just as important.The advantages are numerous: improving code quality, more visibility on changes and theirpotential impact, avoiding duplication of effort, and creating general awareness of progressbeing made in various areas.In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code.To commit the PR to the repo do not use the Big Green Button. Instead, do a typicalpush that you would use with Git (e.g. local pull, rebase, merge, push).Source Code ManagementBranch strategyIn general:master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0)dev has the code that is being worked on but not yet released. This is the branch intowhich devs normally submit pull requests and merge changes into. We run daily CItowards dev branch and generate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd.hotfix has the code for fixing master bug after it is released. hotfix changes will bemerged back to master and dev once it is verified.Solution and project folder structure and namingSolution files go in the repo root. The default entry point is All.sln.Every project also needs a project.json and a matching .xproj file. This project.json is thesource of truth for a project's dependencies and configuration options.Solution need to contain solution folders that match the physical folder (src, test, tools,etc.).Assembly naming pattern", + "Text": "6 / 125NustacheYamlDotNetCode reviews and checkinsTo help ensure that only the highest quality code makes its way into the project, please submit all yourcode changes to GitHub as PRs. This includes runtime code changes, unit test updates, and deploymentscripts. For example, sending a PR for just an update to a unit test might seem like a waste of time butthe unit tests are just as important as the product code and as such, reviewing changes to them is alsojust as important.The advantages are numerous: improving code quality, more visibility on changes and their potentialimpact, avoiding duplication of effort, and creating general awareness of progress being made in variousareas.In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code.To commit the PR to the repo do not use the Big Green Button. Instead, do a typical push that youwould use with Git (e.g. local pull, rebase, merge, push).Source Code ManagementBranch strategyIn general:master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0)dev has the code that is being worked on but not yet released. This is the branch into which devsnormally submit pull requests and merge changes into. We run daily CI towards dev branch andgenerate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd.hotfix has the code for fixing master bug after it is released. hotfix changes will be merged back tomaster and dev once it is verified.Solution and project folder structure and namingSolution files go in the repo root. The default entry point is All.sln.Every project also needs a project.json and a matching .xproj file. This project.json is the source oftruth for a project's dependencies and configuration options.Solution need to contain solution folders that match the physical folder (src, test, tools, etc.).Assembly naming patternThe general naming pattern is Docfx...", "Links": [] }, { "Number": 7, - "Text": "7 / 127The general naming pattern is Docfx...Unit testsWe use xUnit.net for all unit testing.Coding StandardsPlease refer to C# Coding standards for detailed guideline for C# coding standards.TODO Template Coding standardsTODO Template Preprocess JS Coding standards", + "Text": "7 / 125Unit testsWe use xUnit.net for all unit testing.Coding StandardsPlease refer to C# Coding standards for detailed guideline for C# coding standards.TODO Template Coding standardsTODO Template Preprocess JS Coding standards", "Links": [ { "Goto": { @@ -601,7 +601,7 @@ }, { "Number": 8, - "Text": "8 / 127C# Coding StandardsIntroductionThe coding standard will be used in conjunction with customized version of StyleCop andFxCop [TODO] during both development and build process. This will help ensure that thestandard is followed by all developers on the team in a consistent manner.\"Any fool can write code that a computer can understand. Good programmers writecode that humans understand\".Martin Fowler. Refactoring: Improving the design of existing code.PurposeThe aim of this section is to define a set of C# coding standards to be used by CAPS buildteam to guarantee maximum legibility, reliability, re-usability and homogeneity of our code.Each section is marked Mandatory or Recommended. Mandatory sections, will be enforcedduring code reviews as well as tools like StyleCop and FxCop, and code will not beconsidered complete until it is compliant.ScopeThis section contains general C# coding standards which can be applied to any type ofapplication developed in C#, based on Framework Design Guidelines\uF1C5.It does not pretend to be a tutorial on C#. It only includes a set of limitations andrecommendations focused on clarifying the development.ToolsResharper\uF1C5 is a great 3rd party code cleanup and style tool.StyleCop\uF1C5 analyzes C# srouce code to enforce a set of style and consistency rules andhas been integrated into many 3rd party development tools such as Resharper.FxCop\uF1C5 is an application that analyzes managed code assemblies (code that targetsthe .NET Framework common language runtime) and reports information about theassemblies, such as possible design, localization, performance, and securityimprovements.C# Stylizer\uF1C5 does many of the style rules automaticallyHighlights of Coding StandardsThis section is not intended to give a summary of all the coding standards that enabled byour customized StyleCop, but to give a highlight of some rules one will possibly meet in", + "Text": "8 / 125C# Coding StandardsIntroductionThe coding standard will be used in conjunction with customized version of StyleCop and FxCop [TODO]during both development and build process. This will help ensure that the standard is followed by alldevelopers on the team in a consistent manner.\"Any fool can write code that a computer can understand. Good programmers write code thathumans understand\".Martin Fowler. Refactoring: Improving the design of existing code.PurposeThe aim of this section is to define a set of C# coding standards to be used by CAPS build team toguarantee maximum legibility, reliability, re-usability and homogeneity of our code. Each section ismarked Mandatory or Recommended. Mandatory sections, will be enforced during code reviews as wellas tools like StyleCop and FxCop, and code will not be considered complete until it is compliant.ScopeThis section contains general C# coding standards which can be applied to any type of applicationdeveloped in C#, based on Framework Design Guidelines\uF1C5.It does not pretend to be a tutorial on C#. It only includes a set of limitations and recommendationsfocused on clarifying the development.ToolsResharper\uF1C5 is a great 3rd party code cleanup and style tool.StyleCop\uF1C5 analyzes C# srouce code to enforce a set of style and consistency rules and has beenintegrated into many 3rd party development tools such as Resharper.FxCop\uF1C5 is an application that analyzes managed code assemblies (code that targets the .NETFramework common language runtime) and reports information about the assemblies, such aspossible design, localization, performance, and security improvements.C# Stylizer\uF1C5 does many of the style rules automaticallyHighlights of Coding StandardsThis section is not intended to give a summary of all the coding standards that enabled by ourcustomized StyleCop, but to give a highlight of some rules one will possibly meet in daily coding life. Italso provides some recommended however not mandatory(which means not enabled in StyleCop)coding standards.", "Links": [ { "Uri": "http://msdn.microsoft.com/en-us/library/ms229042.aspx" @@ -652,12 +652,12 @@ }, { "Number": 9, - "Text": "9 / 127daily coding life. It also provides some recommended however not mandatory(which meansnot enabled in StyleCop) coding standards.File Layout (Recommended)Only one public class is allowed per file.The file name is derived from the class name.Class Definition Order (Mandatory)The class definition contains class members in the following order, from less restrictedscope (public) to more restrictive (private):Nested types, e.g. classes, enum, struct, etc.Field members, e.g. member variables, const, etc.Member functionsConstructorsFinalizer (Do not use unless absolutely necessary)Methods (Properties, Events, Operations, Overridables, Static)Private nested typesNaming (Mandatory)DO use PascalCasing for all public member, type, and namespace names consisting ofmultiple words.NOTE: A special case is made for two-letter acronyms in which both letters are capitalized,e.g. IOStreamDO use camelCasing for parameter names.Class : ObserverFilename: Observer.cs PropertyDescriptor HtmlTag IOStream propertyDescriptor htmlTag ioStream", + "Text": "9 / 125File Layout (Recommended)Only one public class is allowed per file.The file name is derived from the class name.Class Definition Order (Mandatory)The class definition contains class members in the following order, from less restricted scope (public) tomore restrictive (private):Nested types, e.g. classes, enum, struct, etc.Field members, e.g. member variables, const, etc.Member functionsConstructorsFinalizer (Do not use unless absolutely necessary)Methods (Properties, Events, Operations, Overridables, Static)Private nested typesNaming (Mandatory)DO use PascalCasing for all public member, type, and namespace names consisting of multiplewords.NOTE: A special case is made for two-letter acronyms in which both letters are capitalized, e.g. IOStreamDO use camelCasing for parameter names.DO start with underscore for private fieldsClass : ObserverFilename: Observer.cs PropertyDescriptor HtmlTag IOStream propertyDescriptor htmlTag ioStream private readonly Guid _userId = Guid.NewGuid();", "Links": [] }, { "Number": 10, - "Text": "10 / 127DO start with underscore for private fieldsDO start static readonly fields, constants with capitalized caseDO NOT capitalize each word in so-called closed-form compound words\uF1C5.DO have \"Async\" explicitly in the Async method name to notice people how to use itproperlyFormatting (Mandatory)DO use spaces over tabs, and always show all spaces/tabs in IDETipsVisual Studio > TOOLS > Options > Text Editor > C# > Tabs > Insert spaces (Tab size:4)Visual Studio > Edit > Advanced > View White SpaceDO add using inside namespace declarationDO add a space when:1. for (var i = 0; i < 1; i++)2. if (a == b)Cross-platform codingOur code should supports multiple operating systems. Don't assume we only run (anddevelop) on Windows. Code should be sensitvie to the differences between OS's. Here aresome specifics to consider. private readonly Guid _userId = Guid.NewGuid(); private static readonly IEntityAccessor EntityAccessor = null; private const string MetadataName = \"MetadataName\"; namespace Microsoft.Content.Build.BuildWorker.UnitTest { using System; }", + "Text": "10 / 125DO start static readonly fields, constants with capitalized caseDO NOT capitalize each word in so-called closed-form compound words\uF1C5.DO have \"Async\" explicitly in the Async method name to notice people how to use it properlyFormatting (Mandatory)DO use spaces over tabs, and always show all spaces/tabs in IDETipsVisual Studio > TOOLS > Options > Text Editor > C# > Tabs > Insert spaces (Tab size: 4)Visual Studio > Edit > Advanced > View White SpaceDO add using inside namespace declarationDO add a space when:1. for (var i = 0; i < 1; i++)2. if (a == b)Cross-platform codingOur code should supports multiple operating systems. Don't assume we only run (and develop) onWindows. Code should be sensitvie to the differences between OS's. Here are some specifics to consider.DO use Enviroment.NewLine instead of hard-coding the line break instead of \\r\\n, as Windows uses\\r\\n and OSX/Linux uses \\n.NoteBe aware that thes line-endings may cause problems in code when using @\"\" text blocks with linebreaks. private static readonly IEntityAccessor EntityAccessor = null; private const string MetadataName = \"MetadataName\"; namespace Microsoft.Content.Build.BuildWorker.UnitTest { using System; }", "Links": [ { "Uri": "http://msdn.microsoft.com/en-us/library/ms229043.aspx" @@ -672,27 +672,22 @@ }, { "Number": 11, - "Text": "11 / 127DO use Enviroment.NewLine instead of hard-coding the line break instead of \\r\\n, asWindows uses \\r\\n and OSX/Linux uses \\n.NoteBe aware that thes line-endings may cause problems in code when using @\"\" text blockswith line breaks.DO Use Path.Combine() or Path.DirectorySeparatorChar to separate directories. If this isnot possible (such as in scripting), use a forward slash /. Windows is more forgivingthan Linux in this regard.Unit tests and functional testsAssembly namingThe unit tests for the Microsoft.Foo assembly live in the Microsoft.Foo.Tests assembly.The functional tests for the Microsoft.Foo assmebly live in theMicrosoft.Foo.FunctionalTests assmebly.In general there should be exactly one unit test assebmly for each product runtimeassembly. In general there should be one functional test assembly per repo. Exceptions canbe made for both.Unit test class namingTest class names end with Test and live in the same namespace as the class being tested.For example, the unit tests for the Microsoft.Foo.Boo class would be in a Microsoft.Foo.Booclass in the test assembly.Unit test method namingUnit test method names must be descriptive about what is being tested, under whatconditions, and what the expectations are. Pascal casing and underscores can be used toimprove readability. The following test names are correct:The following test names are incorrect:PublicApiArgumentsShouldHaveNotNullAnnotationPublic_api_arguments_should_have_not_null_annotationTest1Constructor", + "Text": "11 / 125DO Use Path.Combine() or Path.DirectorySeparatorChar to separate directories. If this is notpossible (such as in scripting), use a forward slash /. Windows is more forgiving than Linux in thisregard.Unit tests and functional testsAssembly namingThe unit tests for the Microsoft.Foo assembly live in the Microsoft.Foo.Tests assembly.The functional tests for the Microsoft.Foo assmebly live in the Microsoft.Foo.FunctionalTests assmebly.In general there should be exactly one unit test assebmly for each product runtime assembly. In generalthere should be one functional test assembly per repo. Exceptions can be made for both.Unit test class namingTest class names end with Test and live in the same namespace as the class being tested. For example,the unit tests for the Microsoft.Foo.Boo class would be in a Microsoft.Foo.Boo class in the test assembly.Unit test method namingUnit test method names must be descriptive about what is being tested, under what conditions, and whatthe expectations are. Pascal casing and underscores can be used to improve readability. The followingtest names are correct:The following test names are incorrect:Unit test structureThe contents of every unit test should be split into three distinct stages, optionally separated by thesecomments:PublicApiArgumentsShouldHaveNotNullAnnotationPublic_api_arguments_should_have_not_null_annotationTest1ConstructorFormatStringGetData// Arrange// Act// Assert", "Links": [] }, { "Number": 12, - "Text": "12 / 127Unit test structureThe contents of every unit test should be split into three distinct stages, optionallyseparated by these comments:The crucial thing here is the Act stage is exactly one statement. That one statement isnothing more than a call to the one method that you are trying to test. keeping that onestatement as simple as possible is also very important. For example, this is not ideal:This style is not recomended because way too many things can go wrong in this onestatement. All the GetComplexParamN() calls can throw for a variety of reasons unrelated tothe test itself. It is thus unclear to someone running into a problem why the failure occured.The ideal pattern is to move the complex parameter building into the `Arrange section:Now the only reason the line with CallSomeMethod() can fail is if the method itself blew up.Testing exception messagesIn general testing the specific exception message in a unit test is important. This ensuresthat the exact desired exception is what is being tested rather than a different exception ofFormatStringGetData// Arrange// Act// Assertint result = myObj.CallSomeMethod(GetComplexParam1(), GetComplexParam2(), GetComplexParam3());// ArrangeP1 p1 = GetComplexParam1();P2 p2 = GetComplexParam2();P3 p3 = GetComplexParam3();// Actint result = myObj.CallSomeMethod(p1, p2, p3);// AssertAssert.AreEqual(1234, result);", + "Text": "12 / 125The crucial thing here is the Act stage is exactly one statement. That one statement is nothing more thana call to the one method that you are trying to test. keeping that one statement as simple as possible isalso very important. For example, this is not ideal:This style is not recomended because way too many things can go wrong in this one statement. All theGetComplexParamN() calls can throw for a variety of reasons unrelated to the test itself. It is thus unclearto someone running into a problem why the failure occured.The ideal pattern is to move the complex parameter building into the `Arrange section:Now the only reason the line with CallSomeMethod() can fail is if the method itself blew up.Testing exception messagesIn general testing the specific exception message in a unit test is important. This ensures that the exactdesired exception is what is being tested rather than a different exception of the same type. In order toverify the exact exception it is important to verify the message.Use xUnit.net's plethora of built-in assertionsxUnit.net includes many kinds of assertions – please use the most appropriate one for your test. This willmake the tests a lot more readable and also allow the test runner report the best possible errors(whether it's local or the CI machine). For example, these are bad:int result = myObj.CallSomeMethod(GetComplexParam1(), GetComplexParam2(), GetComplexParam3());// ArrangeP1 p1 = GetComplexParam1();P2 p2 = GetComplexParam2();P3 p3 = GetComplexParam3();// Actint result = myObj.CallSomeMethod(p1, p2, p3);// AssertAssert.AreEqual(1234, result);var ex = Assert.Throws( () => fruitBasket.GetBananaById(1234));Assert.Equal( \"1234\", ex.Message);", "Links": [] }, { "Number": 13, - "Text": "13 / 127the same type. In order to verify the exact exception it is important to verify the message.Use xUnit.net's plethora of built-in assertionsxUnit.net includes many kinds of assertions – please use the most appropriate one for yourtest. This will make the tests a lot more readable and also allow the test runner report thebest possible errors (whether it's local or the CI machine). For example, these are bad:These are good:Parallel testsBy default all unit test assemblies should run in parallel mode, which is the default. Unittests shouldn't depend on any shared state, and so should generally be runnable inparallel. If the tests fail in parallel, the first thing to do is to figure out why; do not justdisable parallel tests!var ex = Assert.Throws( () => fruitBasket.GetBananaById(1234));Assert.Equal( \"1234\", ex.Message);Assert.Equal(true, someBool);Assert.True(\"abc123\" == someString);Assert.True(list1.Length == list2.Length);for (int i = 0; i < list1.Length; i++) { Assert.True( String.Equals list1[i], list2[i], StringComparison.OrdinalIgnoreCase));}Assert.True(someBool);Assert.Equal(\"abc123\", someString);// built-in collection assertions!Assert.Equal(list1, list2, StringComparer.OrdinalIgnoreCase);", + "Text": "13 / 125These are good:Parallel testsBy default all unit test assemblies should run in parallel mode, which is the default. Unit tests shouldn'tdepend on any shared state, and so should generally be runnable in parallel. If the tests fail in parallel,the first thing to do is to figure out why; do not just disable parallel tests!For functional tests it is reasonable to disable parallel tests.Assert.Equal(true, someBool);Assert.True(\"abc123\" == someString);Assert.True(list1.Length == list2.Length);for (int i = 0; i < list1.Length; i++) { Assert.True( String.Equals list1[i], list2[i], StringComparison.OrdinalIgnoreCase));}Assert.True(someBool);Assert.Equal(\"abc123\", someString);// built-in collection assertions!Assert.Equal(list1, list2, StringComparer.OrdinalIgnoreCase);", "Links": [] }, { "Number": 14, - "Text": "14 / 127For functional tests it is reasonable to disable parallel tests.", - "Links": [] - }, - { - "Number": 15, - "Text": "15 / 127MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfxsupports CommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsingengine.Link to Math ExpressionsBlock QuotesThis is a block quote.AlertsNOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", + "Text": "14 / 125MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfx supportsCommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsing engine.Link to Math ExpressionsBlock QuotesThis is a block quote.AlertsNOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", "Links": [ { "Uri": "https://daringfireball.net/projects/markdown/" @@ -723,7 +718,7 @@ }, { "Goto": { - "PageNumber": 17, + "PageNumber": 16, "Coordinates": { "Left": 0, "Top": 239.25 @@ -733,9 +728,9 @@ ] }, { - "Number": 16, + "Number": 15, "NumberOfImages": 1, - "Text": "16 / 127ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", + "Text": "15 / 125ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", "Links": [ { "Uri": "https://learn.microsoft.com/en-us/media/learn/not-found/learn-not-found-light-mode.png?branch=main" @@ -746,17 +741,17 @@ ] }, { - "Number": 17, - "Text": "17 / 127Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", + "Number": 16, + "Text": "16 / 125Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", "Links": [] }, { - "Number": 18, - "Text": "18 / 127Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax canbe described as follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The textof the link will become the text of the tab header, displayed to the customer. In order forthe header to be recognized as a tab, the link itself must start with #tab/ and be followedby an ID representing the content of the tab. The ID is used to sync all same-ID tabs acrossthe page. Using the above example, when a user selects a tab with the link #tab/windows, alltabs with the link #tab/windows on the page will be selected.Dependent tabsresource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", + "Number": 17, + "Text": "17 / 125Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be describedas follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link willbecome the text of the tab header, displayed to the customer. In order for the header to be recognizedas a tab, the link itself must start with #tab/ and be followed by an ID representing the content of thetab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a userselects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in another set of tabs.Here's an example of that in action:resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", "Links": [ { "Goto": { - "PageNumber": 18, + "PageNumber": 17, "Coordinates": { "Left": 0, "Top": 603 @@ -766,27 +761,27 @@ ] }, { - "Number": 19, - "Text": "19 / 127It's possible to make the selection in one set of tabs dependent on the selection in anotherset of tabs. Here's an example of that in action:.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NETand TypeScript tabs. This is because the tab group defines two versions for each .NET andTypeScript, where the Windows/Linux selection above determines which version is shownfor .NET/TypeScript. Here's the markup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", + "Number": 18, + "Text": "18 / 125.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NET andTypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, wherethe Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's themarkup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", "Links": [ { "Goto": { - "PageNumber": 19, + "PageNumber": 18, "Coordinates": { "Left": 0, - "Top": 712.5 + "Top": 760.5 } } } ] }, { - "Number": 20, - "Text": "20 / 127ClassesClass1This is a test class.StructsIssue5432Namespace BuildFromAssembly", + "Number": 19, + "Text": "19 / 125ClassesClass1This is a test class.StructsIssue5432Namespace BuildFromAssembly", "Links": [ { "Goto": { - "PageNumber": 21, + "PageNumber": 20, "Type": 2, "Coordinates": { "Top": 0 @@ -795,7 +790,7 @@ }, { "Goto": { - "PageNumber": 22, + "PageNumber": 21, "Type": 2, "Coordinates": { "Top": 0 @@ -805,8 +800,8 @@ ] }, { - "Number": 21, - "Text": "21 / 127Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 Class1Inherited Membersobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ToString()\uF1C5 ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.GetHashCode()\uF1C5ConstructorsMethodsHello World.Class Class1public class Class1\uF12CClass1()public Class1()HelloWorld()public static void HelloWorld()", + "Number": 20, + "Text": "20 / 125Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllThis is a test class.Inheritanceobject\uF1C5 Class1Inherited Membersobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ToString()\uF1C5 , object.Equals(object)\uF1C5 ,object.Equals(object, object)\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.GetHashCode()\uF1C5ConstructorsMethodsHello World.Class Class1public class Class1\uF12CClass1()public Class1()HelloWorld()public static void HelloWorld()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -882,7 +877,7 @@ }, { "Goto": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -891,7 +886,7 @@ }, { "Goto": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -900,7 +895,7 @@ }, { "Goto": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -910,8 +905,8 @@ ] }, { - "Number": 22, - "Text": "22 / 127Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.GetType()\uF1C5 , object.Equals(object, object)\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5PropertiesProperty Valuestring\uF1C5Struct Issue5432public struct Issue5432Namepublic string Name { get; }", + "Number": 21, + "Text": "21 / 125Namespace:BuildFromAssemblyAssembly:BuildFromAssembly.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 , object.GetType()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.ReferenceEquals(object, object)\uF1C5PropertiesProperty Valuestring\uF1C5Struct Issue5432public struct Issue5432Namepublic string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals" @@ -978,7 +973,7 @@ }, { "Goto": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -987,7 +982,7 @@ }, { "Goto": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -996,7 +991,7 @@ }, { "Goto": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -1006,12 +1001,12 @@ ] }, { - "Number": 23, - "Text": "23 / 127ClassesCSharpNamespace BuildFromCSharpSourceCode", + "Number": 22, + "Text": "22 / 125ClassesCSharpNamespace BuildFromCSharpSourceCode", "Links": [ { "Goto": { - "PageNumber": 24, + "PageNumber": 23, "Type": 2, "Coordinates": { "Top": 0 @@ -1021,8 +1016,8 @@ ] }, { - "Number": 24, - "Text": "24 / 127Namespace:BuildFromCSharpSourceCodeInheritanceobject\uF1C5 CSharpInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParametersargs string\uF1C5[]Class CSharppublic class CSharp\uF12CMain(string[])public static void Main(string[] args)", + "Number": 23, + "Text": "23 / 125Namespace:BuildFromCSharpSourceCodeInheritanceobject\uF1C5 CSharpInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParametersargs string\uF1C5[]Class CSharppublic class CSharp\uF12CMain(string[])public static void Main(string[] args)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1107,7 +1102,7 @@ }, { "Goto": { - "PageNumber": 23, + "PageNumber": 22, "Type": 2, "Coordinates": { "Top": 0 @@ -1116,7 +1111,7 @@ }, { "Goto": { - "PageNumber": 23, + "PageNumber": 22, "Type": 2, "Coordinates": { "Top": 0 @@ -1125,7 +1120,7 @@ }, { "Goto": { - "PageNumber": 23, + "PageNumber": 22, "Type": 2, "Coordinates": { "Top": 0 @@ -1134,7 +1129,7 @@ }, { "Goto": { - "PageNumber": 23, + "PageNumber": 22, "Type": 2, "Coordinates": { "Top": 0 @@ -1143,7 +1138,7 @@ }, { "Goto": { - "PageNumber": 23, + "PageNumber": 22, "Type": 2, "Coordinates": { "Top": 0 @@ -1153,12 +1148,12 @@ ] }, { - "Number": 25, - "Text": "25 / 127NamespacesBuildFromProject.Issue8540ClassesClass1Class1.Issue8665Class1.Issue8696AttributeClass1.Issue8948Class1.TestDogClass representing a dog.InheritdocInheritdoc.Issue6366Inheritdoc.Issue6366.Class1Inheritdoc.Issue6366.Class2Inheritdoc.Issue7035Inheritdoc.Issue7484This is a test class to have something for DocFX to document.Inheritdoc.Issue8101Issue8725A nice classStructsInheritdoc.Issue8129InterfacesClass1.IIssue8948IInheritdocNamespace BuildFromProject", + "Number": 24, + "Text": "24 / 125NamespacesBuildFromProject.Issue8540ClassesClass1Class1.Issue8665Class1.Issue8696AttributeClass1.Issue8948Class1.TestDogClass representing a dog.InheritdocInheritdoc.Issue6366Inheritdoc.Issue6366.Class1Inheritdoc.Issue6366.Class2Inheritdoc.Issue7035Inheritdoc.Issue7484This is a test class to have something for DocFX to document.Inheritdoc.Issue8101Issue8725A nice classStructsInheritdoc.Issue8129InterfacesClass1.IIssue8948IInheritdocNamespace BuildFromProject", "Links": [ { "Goto": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -1167,7 +1162,7 @@ }, { "Goto": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -1176,7 +1171,7 @@ }, { "Goto": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -1185,7 +1180,7 @@ }, { "Goto": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -1194,7 +1189,7 @@ }, { "Goto": { - "PageNumber": 32, + "PageNumber": 31, "Type": 2, "Coordinates": { "Top": 0 @@ -1203,7 +1198,7 @@ }, { "Goto": { - "PageNumber": 38, + "PageNumber": 37, "Type": 2, "Coordinates": { "Top": 0 @@ -1212,7 +1207,7 @@ }, { "Goto": { - "PageNumber": 38, + "PageNumber": 37, "Type": 2, "Coordinates": { "Top": 0 @@ -1221,7 +1216,7 @@ }, { "Goto": { - "PageNumber": 41, + "PageNumber": 40, "Type": 2, "Coordinates": { "Top": 0 @@ -1230,7 +1225,7 @@ }, { "Goto": { - "PageNumber": 41, + "PageNumber": 40, "Type": 2, "Coordinates": { "Top": 0 @@ -1239,7 +1234,7 @@ }, { "Goto": { - "PageNumber": 41, + "PageNumber": 40, "Type": 2, "Coordinates": { "Top": 0 @@ -1248,7 +1243,7 @@ }, { "Goto": { - "PageNumber": 43, + "PageNumber": 42, "Type": 2, "Coordinates": { "Top": 0 @@ -1257,7 +1252,7 @@ }, { "Goto": { - "PageNumber": 43, + "PageNumber": 42, "Type": 2, "Coordinates": { "Top": 0 @@ -1266,7 +1261,7 @@ }, { "Goto": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -1275,7 +1270,7 @@ }, { "Goto": { - "PageNumber": 46, + "PageNumber": 45, "Type": 2, "Coordinates": { "Top": 0 @@ -1284,7 +1279,7 @@ }, { "Goto": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -1293,7 +1288,7 @@ }, { "Goto": { - "PageNumber": 51, + "PageNumber": 50, "Type": 2, "Coordinates": { "Top": 0 @@ -1302,7 +1297,7 @@ }, { "Goto": { - "PageNumber": 51, + "PageNumber": 50, "Type": 2, "Coordinates": { "Top": 0 @@ -1311,7 +1306,7 @@ }, { "Goto": { - "PageNumber": 52, + "PageNumber": 51, "Type": 2, "Coordinates": { "Top": 0 @@ -1320,7 +1315,7 @@ }, { "Goto": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -1329,7 +1324,7 @@ }, { "Goto": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -1338,7 +1333,7 @@ }, { "Goto": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -1347,7 +1342,7 @@ }, { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -1356,7 +1351,7 @@ }, { "Goto": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -1365,7 +1360,7 @@ }, { "Goto": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -1374,7 +1369,7 @@ }, { "Goto": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -1383,7 +1378,7 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -1392,7 +1387,7 @@ }, { "Goto": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -1401,7 +1396,7 @@ }, { "Goto": { - "PageNumber": 61, + "PageNumber": 60, "Type": 2, "Coordinates": { "Top": 0 @@ -1410,7 +1405,7 @@ }, { "Goto": { - "PageNumber": 60, + "PageNumber": 59, "Type": 2, "Coordinates": { "Top": 0 @@ -1419,7 +1414,7 @@ }, { "Goto": { - "PageNumber": 60, + "PageNumber": 59, "Type": 2, "Coordinates": { "Top": 0 @@ -1428,7 +1423,7 @@ }, { "Goto": { - "PageNumber": 37, + "PageNumber": 36, "Type": 2, "Coordinates": { "Top": 0 @@ -1437,7 +1432,7 @@ }, { "Goto": { - "PageNumber": 37, + "PageNumber": 36, "Type": 2, "Coordinates": { "Top": 0 @@ -1446,7 +1441,7 @@ }, { "Goto": { - "PageNumber": 48, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -1456,12 +1451,12 @@ ] }, { - "Number": 26, - "Text": "26 / 127EnumsClass1.Issue9260", + "Number": 25, + "Text": "25 / 125EnumsClass1.Issue9260", "Links": [ { "Goto": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -1470,7 +1465,7 @@ }, { "Goto": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -1480,12 +1475,12 @@ ] }, { - "Number": 27, - "Text": "27 / 127NamespacesBuildFromProject.Issue8540.ABuildFromProject.Issue8540.BNamespace BuildFromProject.Issue8540", + "Number": 26, + "Text": "26 / 125NamespacesBuildFromProject.Issue8540.ABuildFromProject.Issue8540.BNamespace BuildFromProject.Issue8540", "Links": [ { "Goto": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -1494,7 +1489,7 @@ }, { "Goto": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -1503,7 +1498,7 @@ }, { "Goto": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -1512,7 +1507,7 @@ }, { "Goto": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -1521,7 +1516,7 @@ }, { "Goto": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -1530,7 +1525,7 @@ }, { "Goto": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -1539,7 +1534,7 @@ }, { "Goto": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -1548,7 +1543,7 @@ }, { "Goto": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -1557,7 +1552,7 @@ }, { "Goto": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -1566,7 +1561,7 @@ }, { "Goto": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -1576,12 +1571,12 @@ ] }, { - "Number": 28, - "Text": "28 / 127ClassesANamespace BuildFromProject.Issue8540.A", + "Number": 27, + "Text": "27 / 125ClassesANamespace BuildFromProject.Issue8540.A", "Links": [ { "Goto": { - "PageNumber": 29, + "PageNumber": 28, "Type": 2, "Coordinates": { "Top": 0 @@ -1591,8 +1586,8 @@ ] }, { - "Number": 29, - "Text": "29 / 127Namespace:BuildFromProject.Issue8540.AAssembly:BuildFromProject.dllInheritanceobject\uF1C5 AInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Apublic class A\uF12C", + "Number": 28, + "Text": "28 / 125Namespace:BuildFromProject.Issue8540.AAssembly:BuildFromProject.dllInheritanceobject\uF1C5 AInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Apublic class A\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1668,7 +1663,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1677,7 +1672,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1686,7 +1681,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1695,7 +1690,7 @@ }, { "Goto": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -1704,7 +1699,7 @@ }, { "Goto": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -1714,12 +1709,12 @@ ] }, { - "Number": 30, - "Text": "30 / 127ClassesBNamespace BuildFromProject.Issue8540.B", + "Number": 29, + "Text": "29 / 125ClassesBNamespace BuildFromProject.Issue8540.B", "Links": [ { "Goto": { - "PageNumber": 31, + "PageNumber": 30, "Type": 2, "Coordinates": { "Top": 0 @@ -1729,8 +1724,8 @@ ] }, { - "Number": 31, - "Text": "31 / 127Namespace:BuildFromProject.Issue8540.BAssembly:BuildFromProject.dllInheritanceobject\uF1C5 BInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Bpublic class B\uF12C", + "Number": 30, + "Text": "30 / 125Namespace:BuildFromProject.Issue8540.BAssembly:BuildFromProject.dllInheritanceobject\uF1C5 BInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Bpublic class B\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1806,7 +1801,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1815,7 +1810,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1824,7 +1819,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1833,7 +1828,7 @@ }, { "Goto": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -1842,7 +1837,7 @@ }, { "Goto": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -1852,8 +1847,8 @@ ] }, { - "Number": 32, - "Text": "32 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1ImplementsIClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsPricing models are used to calculate theoretical option values1-Black Scholes2-Black763-Black76Fut4-Equity Tree5-Variance Swap6-Dividend ForecastIConfiguration related helper and extension routines.Class Class1public class Class1 : IClass1\uF12CIssue1651()public void Issue1651()Issue1887()", + "Number": 31, + "Text": "31 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1ImplementsIClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsPricing models are used to calculate theoretical option values1-Black Scholes2-Black763-Black76Fut4-Equity Tree5-Variance Swap6-Dividend ForecastIConfiguration related helper and extension routines.Class Class1public class Class1 : IClass1\uF12CIssue1651()public void Issue1651()Issue1887()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -1929,7 +1924,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1938,7 +1933,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1947,7 +1942,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -1957,13 +1952,13 @@ ] }, { - "Number": 33, - "Text": "33 / 127ExamplesRemarksFor example:Remarkspublic void Issue1887()Issue2623()public void Issue2623()MyClass myClass = new MyClass();void Update(){ myClass.Execute();}MyClass myClass = new MyClass();void Update(){ myClass.Execute();}Issue2723()public void Issue2723()NOTEThis is a . & \" '\uF431", + "Number": 32, + "Text": "32 / 125ExamplesRemarksFor example:Remarkspublic void Issue1887()Issue2623()public void Issue2623()MyClass myClass = new MyClass();void Update(){ myClass.Execute();}MyClass myClass = new MyClass();void Update(){ myClass.Execute();}Issue2723()public void Issue2723()NOTEThis is a . & \" '\uF431", "Links": [] }, { - "Number": 34, - "Text": "34 / 127Inline .link\uF1C5ExamplesRemarksfor (var i = 0; i > 10; i++) // & \" 'var range = new Range { Min = 0, Max = 10 };var range = new Range { Min = 0, Max = 10 };Issue4017()public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content); return Task.CompletedTask;}void Update(){", + "Number": 33, + "Text": "33 / 125Inline .link\uF1C5ExamplesRemarksfor (var i = 0; i > 10; i++) // & \" 'var range = new Range { Min = 0, Max = 10 };var range = new Range { Min = 0, Max = 10 };Issue4017()public void Issue4017()public void HookMessageDeleted(BaseSocketClient client){ client.MessageDeleted += HandleMessageDelete;}public Task HandleMessageDelete(Cacheable cachedMessage, ISocketMessageChannel channel){ // check if the message exists in cache; if not, we cannot report what was removed if (!cachedMessage.HasValue) return; var message = cachedMessage.Value; Console.WriteLine($\"A message ({message.Id}) from {message.Author} was removed from the channel {channel.Name} ({channel.Id}):\" + Environment.NewLine + message.Content); return Task.CompletedTask;}void Update(){ myClass.Execute();}", "Links": [ { "Uri": "https://www.github.com/" @@ -1977,13 +1972,13 @@ ] }, { - "Number": 35, - "Text": "35 / 127Remarks@\"\\\\?\\\" @\"\\\\?\\\"RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee DescriptionType ParametersT myClass.Execute();}Issue4392()public void Issue4392()Issue7484()public void Issue7484()Issue8764()public void Issue8764() where T : unmanagedIssue896()", + "Number": 34, + "Text": "34 / 125Remarks@\"\\\\?\\\" @\"\\\\?\\\"RemarksThere's really no reason to not believe that this class can test things.TermDescriptionA TermA DescriptionBee TermBee DescriptionType ParametersTTestIssue4392()public void Issue4392()Issue7484()public void Issue7484()Issue8764()public void Issue8764() where T : unmanagedIssue896()public void Issue896()", "Links": [] }, { - "Number": 36, - "Text": "36 / 127TestSee AlsoClass1.Test, Class1Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:Returnsdouble\uF1C5This method should do something...RemarksThis is remarks.public void Issue896()Issue9216()public static double Issue9216()XmlCommentIncludeTag()public void XmlCommentIncludeTag()", + "Number": 35, + "Text": "35 / 125See AlsoClass1.Test, Class1Calculates the determinant of a 3-dimensional matrix:Returns the smallest value:Returnsdouble\uF1C5This method should do something...RemarksThis is remarks.Issue9216()public static double Issue9216()XmlCommentIncludeTag()public void XmlCommentIncludeTag()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.double" @@ -1996,7 +1991,7 @@ }, { "Goto": { - "PageNumber": 32, + "PageNumber": 31, "Type": 2, "Coordinates": { "Top": 0 @@ -2005,7 +2000,7 @@ }, { "Goto": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -2014,7 +2009,7 @@ }, { "Goto": { - "PageNumber": 32, + "PageNumber": 31, "Type": 2, "Coordinates": { "Top": 0 @@ -2024,12 +2019,12 @@ ] }, { - "Number": 37, - "Text": "37 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsDoes nothing with generic type T.Type ParametersTA generic type.Interface Class1.IIssue8948public interface Class1.IIssue8948DoNothing()void DoNothing()", + "Number": 36, + "Text": "36 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsDoes nothing with generic type T.Type ParametersTA generic type.Interface Class1.IIssue8948public interface Class1.IIssue8948DoNothing()void DoNothing()", "Links": [ { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2038,7 +2033,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2047,7 +2042,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2057,8 +2052,8 @@ ] }, { - "Number": 38, - "Text": "38 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8665Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ConstructorsParametersfoo int\uF1C5Class Class1.Issue8665public class Class1.Issue8665\uF12CIssue8665()public Issue8665()Issue8665(int)public Issue8665(int foo)Issue8665(int, char)public Issue8665(int foo, char bar)", + "Number": 37, + "Text": "37 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8665Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersfoo int\uF1C5ParametersClass Class1.Issue8665public class Class1.Issue8665\uF12CIssue8665()public Issue8665()Issue8665(int)public Issue8665(int foo)Issue8665(int, char)public Issue8665(int foo, char bar)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2143,7 +2138,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2152,7 +2147,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2161,7 +2156,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2171,8 +2166,8 @@ ] }, { - "Number": 39, - "Text": "39 / 127Parametersfoo int\uF1C5bar char\uF1C5Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesProperty Valuechar\uF1C5Property Valuestring\uF1C5Issue8665(int, char, string)public Issue8665(int foo, char bar, string baz)Barpublic char Bar { get; }Bazpublic string Baz { get; }", + "Number": 38, + "Text": "38 / 125foo int\uF1C5bar char\uF1C5Parametersfoo int\uF1C5bar char\uF1C5baz string\uF1C5PropertiesProperty Valuechar\uF1C5Property Valuestring\uF1C5Issue8665(int, char, string)public Issue8665(int foo, char bar, string baz)Barpublic char Bar { get; }Bazpublic string Baz { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -2240,8 +2235,8 @@ ] }, { - "Number": 40, - "Text": "40 / 127Property Valueint\uF1C5Foopublic int Foo { get; }", + "Number": 39, + "Text": "39 / 125Property Valueint\uF1C5Foopublic int Foo { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -2255,8 +2250,8 @@ ] }, { - "Number": 41, - "Text": "41 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Attribute\uF1C5 Class1.Issue8696AttributeInherited MembersAttribute.Equals(object)\uF1C5 , Attribute.GetCustomAttribute(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(Assembly)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, bool)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(Module)\uF1C5 , Attribute.GetCustomAttributes(Module, bool)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetHashCode()\uF1C5 ,Attribute.IsDefaultAttribute()\uF1C5 , Attribute.IsDefined(Assembly, Type)\uF1C5 ,Attribute.IsDefined(Assembly, Type, bool)\uF1C5 , Attribute.IsDefined(MemberInfo, Type)\uF1C5 ,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5 , Attribute.IsDefined(Module, Type)\uF1C5 ,Attribute.IsDefined(Module, Type, bool)\uF1C5 , Attribute.IsDefined(ParameterInfo, Type)\uF1C5 ,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5 , Attribute.Match(object)\uF1C5 ,Class Class1.Issue8696Attributepublic class Class1.Issue8696Attribute : Attribute\uF12C\uF12C", + "Number": 40, + "Text": "40 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Attribute\uF1C5 Class1.Issue8696AttributeInherited MembersAttribute.Equals(object)\uF1C5 , Attribute.GetCustomAttribute(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttribute(Assembly, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(MemberInfo, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(Module, Type)\uF1C5 , Attribute.GetCustomAttribute(Module, Type, bool)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttribute(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(Assembly)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, bool)\uF1C5 , Attribute.GetCustomAttributes(Assembly, Type)\uF1C5 ,Attribute.GetCustomAttributes(Assembly, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(MemberInfo)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(MemberInfo, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(Module)\uF1C5 ,Attribute.GetCustomAttributes(Module, bool)\uF1C5 , Attribute.GetCustomAttributes(Module, Type)\uF1C5 ,Attribute.GetCustomAttributes(Module, Type, bool)\uF1C5 , Attribute.GetCustomAttributes(ParameterInfo)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, bool)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type)\uF1C5 ,Attribute.GetCustomAttributes(ParameterInfo, Type, bool)\uF1C5 , Attribute.GetHashCode()\uF1C5 ,Attribute.IsDefaultAttribute()\uF1C5 , Attribute.IsDefined(Assembly, Type)\uF1C5 ,Attribute.IsDefined(Assembly, Type, bool)\uF1C5 , Attribute.IsDefined(MemberInfo, Type)\uF1C5 ,Attribute.IsDefined(MemberInfo, Type, bool)\uF1C5 , Attribute.IsDefined(Module, Type)\uF1C5 ,Attribute.IsDefined(Module, Type, bool)\uF1C5 , Attribute.IsDefined(ParameterInfo, Type)\uF1C5 ,Attribute.IsDefined(ParameterInfo, Type, bool)\uF1C5 , Attribute.Match(object)\uF1C5 , Attribute.TypeId\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsClass Class1.Issue8696Attributepublic class Class1.Issue8696Attribute : Attribute\uF12C\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2600,39 +2595,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.match" }, - { - "Goto": { - "PageNumber": 25, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 25, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - }, - { - "Goto": { - "PageNumber": 25, - "Type": 2, - "Coordinates": { - "Top": 0 - } - } - } - ] - }, - { - "Number": 42, - "Text": "42 / 127Attribute.TypeId\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsParametersdescription string\uF1C5boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]hasMultipleSelections bool\uF1C5enumType Type\uF1C5Issue8696Attribute(string?, int, int, string[]?, bool,Type?)[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", - "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.attribute.typeid" }, @@ -2688,14 +2650,47 @@ "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + "Goto": { + "PageNumber": 24, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, + "Goto": { + "PageNumber": 24, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + }, + { + "Goto": { + "PageNumber": 24, + "Type": 2, + "Coordinates": { + "Top": 0 + } + } + } + ] + }, + { + "Number": 41, + "Text": "41 / 125Parametersdescription string\uF1C5boundsMin int\uF1C5boundsMax int\uF1C5validGameModes string\uF1C5[]hasMultipleSelections bool\uF1C5enumType Type\uF1C5Issue8696Attribute(string?, int, int, string[]?, bool, Type?)[Class1.Issue8696(\"Changes the name of the server in the server list\", 0, 0, null, false, null)]public Issue8696Attribute(string? description = null, int boundsMin = 0, int boundsMax = 0, string[]? validGameModes = null, bool hasMultipleSelections = false, Type? enumType = null)", + "Links": [ + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -2744,8 +2739,8 @@ ] }, { - "Number": 43, - "Text": "43 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsDoes nothing with generic type T.Type ParametersTA generic type.Class Class1.Issue8948public class Class1.Issue8948 : Class1.IIssue8948\uF12CDoNothing()public void DoNothing()", + "Number": 42, + "Text": "42 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Class1.Issue8948ImplementsClass1.IIssue8948Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsDoes nothing with generic type T.Type ParametersTA generic type.Class Class1.Issue8948public class Class1.Issue8948 : Class1.IIssue8948\uF12CDoNothing()public void DoNothing()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2821,7 +2816,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2830,7 +2825,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2839,7 +2834,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2848,7 +2843,7 @@ }, { "Goto": { - "PageNumber": 32, + "PageNumber": 31, "Type": 2, "Coordinates": { "Top": 0 @@ -2857,7 +2852,7 @@ }, { "Goto": { - "PageNumber": 37, + "PageNumber": 36, "Type": 2, "Coordinates": { "Top": 0 @@ -2867,12 +2862,12 @@ ] }, { - "Number": 44, - "Text": "44 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllFieldsValue = 0This is a regular enum value.[Obsolete] OldAndUnusedValue = 1This is old and unused. You shouldn't use it anymore.[Obsolete(\"Use Value\")] OldAndUnusedValue2 = 2This is old and unused. You shouldn't use it anymore.Enum Class1.Issue9260public enum Class1.Issue9260", + "Number": 43, + "Text": "43 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllFieldsValue = 0This is a regular enum value.[Obsolete] OldAndUnusedValue = 1This is old and unused. You shouldn't use it anymore.[Obsolete(\"Use Value\")] OldAndUnusedValue2 = 2This is old and unused. You shouldn't use it anymore.Enum Class1.Issue9260public enum Class1.Issue9260", "Links": [ { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2881,7 +2876,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2890,7 +2885,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2900,8 +2895,8 @@ ] }, { - "Number": 45, - "Text": "45 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Class1.TestInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Class1.Testpublic class Class1.Test\uF12C", + "Number": 44, + "Text": "44 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Class1.TestInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Class1.Testpublic class Class1.Test\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -2977,7 +2972,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2986,7 +2981,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -2995,7 +2990,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3005,8 +3000,8 @@ ] }, { - "Number": 46, - "Text": "46 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 DogInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ConstructorsConstructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesClass Dogpublic class Dog\uF12CDog(string, int)public Dog(string name, int age)", + "Number": 45, + "Text": "45 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllClass representing a dog.Inheritanceobject\uF1C5 DogInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsConstructor.Parametersname string\uF1C5Name of the dog.age int\uF1C5Age of the dog.PropertiesClass Dogpublic class Dog\uF12CDog(string, int)public Dog(string name, int age)Age", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3100,7 +3095,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3109,7 +3104,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3118,7 +3113,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3128,8 +3123,8 @@ ] }, { - "Number": 47, - "Text": "47 / 127Age of the dog.Property Valueint\uF1C5Name of the dog.Property Valuestring\uF1C5Agepublic int Age { get; }Namepublic string Name { get; }", + "Number": 46, + "Text": "46 / 125Age of the dog.Property Valueint\uF1C5Name of the dog.Property Valuestring\uF1C5public int Age { get; }Namepublic string Name { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -3152,12 +3147,12 @@ ] }, { - "Number": 48, - "Text": "48 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsThis method should do something...Interface IInheritdocpublic interface IInheritdocIssue7629()void Issue7629()", + "Number": 47, + "Text": "47 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllMethodsThis method should do something...Interface IInheritdocpublic interface IInheritdocIssue7629()void Issue7629()", "Links": [ { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3166,7 +3161,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3175,7 +3170,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3185,8 +3180,8 @@ ] }, { - "Number": 49, - "Text": "49 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 InheritdocImplementsIInheritdoc, IDisposable\uF1C5Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsPerforms application-defined tasks associated with freeing, releasing, or resettingunmanaged resources.This method should do something...Class Inheritdocpublic class Inheritdoc : IInheritdoc, IDisposable\uF12CDispose()public void Dispose()Issue7628()public void Issue7628()Issue7629()", + "Number": 48, + "Text": "48 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 InheritdocImplementsIInheritdoc, IDisposable\uF1C5Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.This method should do something...This method should do something...Class Inheritdocpublic class Inheritdoc : IInheritdoc, IDisposable\uF12CDispose()public void Dispose()Issue7628()public void Issue7628()Issue7629()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3271,7 +3266,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3280,7 +3275,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3289,7 +3284,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3298,7 +3293,7 @@ }, { "Goto": { - "PageNumber": 48, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -3308,13 +3303,13 @@ ] }, { - "Number": 50, - "Text": "50 / 127This method should do something...public void Issue7629()", + "Number": 49, + "Text": "49 / 125public void Issue7629()", "Links": [] }, { - "Number": 51, - "Text": "51 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Inheritdoc.Issue6366public class Inheritdoc.Issue6366\uF12C", + "Number": 50, + "Text": "50 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Inheritdoc.Issue6366public class Inheritdoc.Issue6366\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3390,7 +3385,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3399,7 +3394,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3408,7 +3403,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3418,8 +3413,8 @@ ] }, { - "Number": 52, - "Text": "52 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1DerivedInheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class1public abstract class Inheritdoc.Issue6366.Class1\uF12CTestMethod1(T, int)public abstract T TestMethod1(T parm1, int parm2)", + "Number": 51, + "Text": "51 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllType ParametersTInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1DerivedInheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 TThis text NOT inherited.parm2 int\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class1public abstract class Inheritdoc.Issue6366.Class1\uF12CTestMethod1(T, int)public abstract T TestMethod1(T parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3504,7 +3499,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3513,7 +3508,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3522,7 +3517,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3531,7 +3526,7 @@ }, { "Goto": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -3540,7 +3535,7 @@ }, { "Goto": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -3549,7 +3544,7 @@ }, { "Goto": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -3559,13 +3554,13 @@ ] }, { - "Number": 53, - "Text": "53 / 127ReturnsTThis text inherited.", + "Number": 52, + "Text": "52 / 125ReturnsTThis text inherited.", "Links": [] }, { - "Number": 54, - "Text": "54 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1 Inheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class2public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1\uF12C\uF12CTestMethod1(bool, int)public override bool TestMethod1(bool parm1, int parm2)", + "Number": 53, + "Text": "53 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue6366.Class1 Inheritdoc.Issue6366.Class2Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsThis text inherited.Parametersparm1 bool\uF1C5This text NOT inherited.parm2 int\uF1C5This text inherited.Returnsbool\uF1C5This text inherited.Class Inheritdoc.Issue6366.Class2public class Inheritdoc.Issue6366.Class2 : Inheritdoc.Issue6366.Class1\uF12C\uF12CTestMethod1(bool, int)public override bool TestMethod1(bool parm1, int parm2)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3677,7 +3672,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3686,7 +3681,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3695,7 +3690,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3704,7 +3699,7 @@ }, { "Goto": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -3713,7 +3708,7 @@ }, { "Goto": { - "PageNumber": 51, + "PageNumber": 50, "Type": 2, "Coordinates": { "Top": 0 @@ -3722,7 +3717,7 @@ }, { "Goto": { - "PageNumber": 52, + "PageNumber": 51, "Type": 2, "Coordinates": { "Top": 0 @@ -3732,8 +3727,8 @@ ] }, { - "Number": 55, - "Text": "55 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue7035Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsClass Inheritdoc.Issue7035public class Inheritdoc.Issue7035\uF12CA()public void A()B()public void B()", + "Number": 54, + "Text": "54 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue7035Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsClass Inheritdoc.Issue7035public class Inheritdoc.Issue7035\uF12CA()public void A()B()public void B()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3809,7 +3804,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3818,7 +3813,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3827,7 +3822,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3837,8 +3832,8 @@ ] }, { - "Number": 56, - "Text": "56 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 Inheritdoc.Issue7484Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsThis is a constructor to document.PropertiesClass Inheritdoc.Issue7484public class Inheritdoc.Issue7484\uF12CIssue7484()public Issue7484()DoDad", + "Number": 55, + "Text": "55 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllThis is a test class to have something for DocFX to document.Inheritanceobject\uF1C5 Inheritdoc.Issue7484Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5RemarksWe're going to talk about things now.BoolReturningMethod(bool)Simple method to generate docs for.DoDadA string that could have something.ConstructorsThis is a constructor to document.PropertiesA string that could have something.Class Inheritdoc.Issue7484public class Inheritdoc.Issue7484\uF12CIssue7484()public Issue7484()DoDad", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3914,7 +3909,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3923,7 +3918,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3932,7 +3927,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -3941,54 +3936,54 @@ }, { "Goto": { - "PageNumber": 57, + "PageNumber": 56, "Coordinates": { "Left": 0, - "Top": 582.75 + "Top": 612.75 } } }, { "Goto": { - "PageNumber": 57, + "PageNumber": 56, "Coordinates": { "Left": 0, - "Top": 582.75 + "Top": 612.75 } } }, { "Goto": { - "PageNumber": 57, + "PageNumber": 56, "Coordinates": { "Left": 0, - "Top": 582.75 + "Top": 612.75 } } }, { "Goto": { - "PageNumber": 56, + "PageNumber": 55, "Coordinates": { "Left": 0, - "Top": 89.25 + "Top": 108 } } }, { "Goto": { - "PageNumber": 56, + "PageNumber": 55, "Coordinates": { "Left": 0, - "Top": 89.25 + "Top": 108 } } } ] }, { - "Number": 57, - "Text": "57 / 127A string that could have something.Property Valuestring\uF1C5MethodsSimple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I canwrite documentation like this.public string DoDad { get; }BoolReturningMethod(bool)public bool BoolReturningMethod(bool source)", + "Number": 56, + "Text": "56 / 125Property Valuestring\uF1C5MethodsSimple method to generate docs for.Parameterssource bool\uF1C5A meaningless boolean value, much like most questions in the world.Returnsbool\uF1C5An exactly equivalently meaningless boolean value, much like most answers in the world.RemarksI'd like to take a moment to thank all of those who helped me get to a place where I can writedocumentation like this.public string DoDad { get; }BoolReturningMethod(bool)public bool BoolReturningMethod(bool source)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -4020,8 +4015,8 @@ ] }, { - "Number": 58, - "Text": "58 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue8101Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsCreate a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5Class Inheritdoc.Issue8101public class Inheritdoc.Issue8101\uF12CTween(int, int, float, Action)public static object Tween(int from, int to, float duration, Action onChange)", + "Number": 57, + "Text": "57 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInheritanceobject\uF1C5 Inheritdoc.Issue8101Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsCreate a new tween.Parametersfrom int\uF1C5The starting value.to int\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Class Inheritdoc.Issue8101public class Inheritdoc.Issue8101\uF12CTween(int, int, float, Action)public static object Tween(int from, int to, float duration, Action onChange)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4142,7 +4137,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4151,7 +4146,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4160,7 +4155,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4170,8 +4165,8 @@ ] }, { - "Number": 59, - "Text": "59 / 127A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Create a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5<float\uF1C5>A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Tween(float, float, float, Action<float>)public static object Tween(float from, float to, float duration, Action onChange)", + "Number": 58, + "Text": "58 / 125Returnsobject\uF1C5The newly created tween instance.Create a new tween.Parametersfrom float\uF1C5The starting value.to float\uF1C5The end value.duration float\uF1C5Total tween duration in seconds.onChange Action\uF1C5A callback that will be invoked every time the tween value changes.Returnsobject\uF1C5The newly created tween instance.Tween(float, float, float, Action)public static object Tween(float from, float to, float duration, Action onChange)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4239,8 +4234,8 @@ ] }, { - "Number": 60, - "Text": "60 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5ConstructorsParametersfoo string\uF1C5Struct Inheritdoc.Issue8129public struct Inheritdoc.Issue8129Issue8129(string)public Issue8129(string foo)", + "Number": 59, + "Text": "59 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5ConstructorsParametersfoo string\uF1C5Struct Inheritdoc.Issue8129public struct Inheritdoc.Issue8129Issue8129(string)public Issue8129(string foo)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals" @@ -4307,7 +4302,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4316,7 +4311,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4325,7 +4320,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4335,8 +4330,8 @@ ] }, { - "Number": 61, - "Text": "61 / 127Namespace:BuildFromProjectAssembly:BuildFromProject.dllA nice classInheritanceobject\uF1C5 Issue8725Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsAnother nice operationA nice operationSee AlsoClass1Class Issue8725public class Issue8725\uF12CMoreOperations()public void MoreOperations()MyOperation()public void MyOperation()", + "Number": 60, + "Text": "60 / 125Namespace:BuildFromProjectAssembly:BuildFromProject.dllA nice classInheritanceobject\uF1C5 Issue8725Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsAnother nice operationA nice operationSee AlsoClass1Class Issue8725public class Issue8725\uF12CMoreOperations()public void MoreOperations()MyOperation()public void MyOperation()", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4412,7 +4407,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4421,7 +4416,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4430,7 +4425,7 @@ }, { "Goto": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -4439,7 +4434,7 @@ }, { "Goto": { - "PageNumber": 32, + "PageNumber": 31, "Type": 2, "Coordinates": { "Top": 0 @@ -4449,12 +4444,12 @@ ] }, { - "Number": 62, - "Text": "62 / 127ClassesBaseClass1This is the BaseClassClass1This is summary from vb class...Namespace BuildFromVBSourceCode", + "Number": 61, + "Text": "61 / 125ClassesBaseClass1This is the BaseClassClass1This is summary from vb class...Namespace BuildFromVBSourceCode", "Links": [ { "Goto": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -4463,7 +4458,7 @@ }, { "Goto": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -4472,7 +4467,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4482,8 +4477,8 @@ ] }, { - "Number": 63, - "Text": "63 / 127Namespace:BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 ,object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParameterskeyword Class1ReturnsDateTime\uF1C5Class BaseClass1public abstract class BaseClass1\uF12CWithDeclarationKeyword(Class1)public abstract DateTime WithDeclarationKeyword(Class1 keyword)", + "Number": 62, + "Text": "62 / 125Namespace:BuildFromVBSourceCodeThis is the BaseClassInheritanceobject\uF1C5 BaseClass1DerivedClass1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParameterskeyword Class1ReturnsDateTime\uF1C5Class BaseClass1public abstract class BaseClass1\uF12CWithDeclarationKeyword(Class1)public abstract DateTime WithDeclarationKeyword(Class1 keyword)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4577,7 +4572,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4586,7 +4581,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4595,7 +4590,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4604,7 +4599,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4613,7 +4608,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4622,7 +4617,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4632,8 +4627,8 @@ ] }, { - "Number": 64, - "Text": "64 / 127Namespace:BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 BaseClass1 Class1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 ,object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5FieldsThis is a Value typeField ValueClass1PropertiesProperty ValueClass Class1public class Class1 : BaseClass1\uF12C\uF12CValueClasspublic Class1 ValueClassKeyword[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }", + "Number": 63, + "Text": "63 / 125Namespace:BuildFromVBSourceCodeThis is summary from vb class...Inheritanceobject\uF1C5 BaseClass1 Class1Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.Finalize()\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5FieldsThis is a Value typeField ValueClass1PropertiesProperty ValueClass Class1public class Class1 : BaseClass1\uF12C\uF12CValueClasspublic Class1 ValueClassKeyword[Obsolete(\"This member is obsolete.\", true)]public Class1 Keyword { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -4718,7 +4713,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4727,7 +4722,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4736,7 +4731,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4745,7 +4740,7 @@ }, { "Goto": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -4754,7 +4749,7 @@ }, { "Goto": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -4763,7 +4758,7 @@ }, { "Goto": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -4772,7 +4767,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4782,8 +4777,8 @@ ] }, { - "Number": 65, - "Text": "65 / 127Class1MethodsThis is a FunctionParametersname string\uF1C5Name as the String valueReturnsint\uF1C5Returns AhoooWhat is Sub?Parameterskeyword Class1ReturnsDateTime\uF1C5Value(string)public int Value(string name)WithDeclarationKeyword(Class1)public override DateTime WithDeclarationKeyword(Class1 keyword)", + "Number": 64, + "Text": "64 / 125Class1MethodsThis is a FunctionParametersname string\uF1C5Name as the String valueReturnsint\uF1C5Returns AhoooWhat is Sub?Parameterskeyword Class1ReturnsDateTime\uF1C5Value(string)public int Value(string name)WithDeclarationKeyword(Class1)public override DateTime WithDeclarationKeyword(Class1 keyword)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -4814,7 +4809,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4823,7 +4818,7 @@ }, { "Goto": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -4833,12 +4828,12 @@ ] }, { - "Number": 66, - "Text": "66 / 127NamespacesCatLibrary.CoreClassesCatExceptionCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interfaceDelegatesFakeDelegateFake delegateNamespace CatLibrary", + "Number": 65, + "Text": "65 / 125NamespacesCatLibrary.CoreClassesCatExceptionCatHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classComplexICatExtensionIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classTomTom class is only inherit from Object. Not any member inside itself.TomFromBaseClassTomFromBaseClass inherits from @InterfacesIAnimalThis is basic interface of all animal.ICatCat's interfaceDelegatesFakeDelegateFake delegateNamespace CatLibrary", "Links": [ { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -4847,7 +4842,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -4856,7 +4851,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -4865,7 +4860,7 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 76, "Type": 2, "Coordinates": { "Top": 0 @@ -4874,7 +4869,7 @@ }, { "Goto": { - "PageNumber": 78, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -4883,7 +4878,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -4892,7 +4887,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -4901,7 +4896,7 @@ }, { "Goto": { - "PageNumber": 87, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -4910,7 +4905,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -4919,7 +4914,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -4928,7 +4923,7 @@ }, { "Goto": { - "PageNumber": 97, + "PageNumber": 96, "Type": 2, "Coordinates": { "Top": 0 @@ -4937,7 +4932,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -4946,7 +4941,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -4955,7 +4950,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -4964,7 +4959,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -4973,7 +4968,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Type": 2, "Coordinates": { "Top": 0 @@ -4982,7 +4977,7 @@ }, { "Goto": { - "PageNumber": 92, + "PageNumber": 91, "Type": 2, "Coordinates": { "Top": 0 @@ -4991,7 +4986,7 @@ }, { "Goto": { - "PageNumber": 88, + "PageNumber": 87, "Type": 2, "Coordinates": { "Top": 0 @@ -5001,12 +4996,12 @@ ] }, { - "Number": 67, - "Text": "67 / 127MRefDelegateGeneric delegate with many constrains.MRefNormalDelegateDelegate in the namespace", + "Number": 66, + "Text": "66 / 125MRefDelegateGeneric delegate with many constrains.MRefNormalDelegateDelegate in the namespace", "Links": [ { "Goto": { - "PageNumber": 95, + "PageNumber": 94, "Type": 2, "Coordinates": { "Top": 0 @@ -5015,7 +5010,7 @@ }, { "Goto": { - "PageNumber": 96, + "PageNumber": 95, "Type": 2, "Coordinates": { "Top": 0 @@ -5024,7 +5019,7 @@ }, { "Goto": { - "PageNumber": 96, + "PageNumber": 95, "Type": 2, "Coordinates": { "Top": 0 @@ -5033,7 +5028,7 @@ }, { "Goto": { - "PageNumber": 96, + "PageNumber": 95, "Type": 2, "Coordinates": { "Top": 0 @@ -5043,12 +5038,12 @@ ] }, { - "Number": 68, - "Text": "68 / 127ClassesContainersRefType.ContainersRefTypeChildExplicitLayoutClassIssue231StructsContainersRefTypeStruct ContainersRefTypeInterfacesContainersRefType.ContainersRefTypeChildInterfaceEnumsContainersRefType.ColorTypeEnumeration ColorTypeDelegatesContainersRefType.ContainersRefTypeDelegateDelegate ContainersRefTypeDelegateNamespace CatLibrary.Core", + "Number": 67, + "Text": "67 / 125ClassesContainersRefType.ContainersRefTypeChildExplicitLayoutClassIssue231StructsContainersRefTypeStruct ContainersRefTypeInterfacesContainersRefType.ContainersRefTypeChildInterfaceEnumsContainersRefType.ColorTypeEnumeration ColorTypeDelegatesContainersRefType.ContainersRefTypeDelegateDelegate ContainersRefTypeDelegateNamespace CatLibrary.Core", "Links": [ { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5057,7 +5052,7 @@ }, { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5066,7 +5061,7 @@ }, { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5075,7 +5070,7 @@ }, { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5084,7 +5079,7 @@ }, { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5093,7 +5088,7 @@ }, { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5102,7 +5097,7 @@ }, { "Goto": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -5111,7 +5106,7 @@ }, { "Goto": { - "PageNumber": 75, + "PageNumber": 74, "Type": 2, "Coordinates": { "Top": 0 @@ -5120,7 +5115,7 @@ }, { "Goto": { - "PageNumber": 75, + "PageNumber": 74, "Type": 2, "Coordinates": { "Top": 0 @@ -5129,7 +5124,7 @@ }, { "Goto": { - "PageNumber": 75, + "PageNumber": 74, "Type": 2, "Coordinates": { "Top": 0 @@ -5138,7 +5133,7 @@ }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -5147,7 +5142,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -5156,7 +5151,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -5165,7 +5160,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -5174,7 +5169,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5183,7 +5178,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5192,7 +5187,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5201,7 +5196,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5210,7 +5205,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5219,7 +5214,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5228,7 +5223,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5237,7 +5232,7 @@ }, { "Goto": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -5246,7 +5241,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -5255,7 +5250,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -5264,7 +5259,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -5273,7 +5268,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -5282,7 +5277,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -5291,7 +5286,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5300,7 +5295,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5309,7 +5304,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5318,7 +5313,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5327,7 +5322,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5336,7 +5331,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5345,7 +5340,7 @@ }, { "Goto": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -5355,8 +5350,8 @@ ] }, { - "Number": 69, - "Text": "69 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllStruct ContainersRefTypeInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 ,object.ReferenceEquals(object, object)\uF1C5Extension MethodsIssue231.Bar(ContainersRefType) , Issue231.Foo(ContainersRefType)FieldsColorCountField Valuelong\uF1C5PropertiesGetColorCountStruct ContainersRefTypepublic struct ContainersRefTypeColorCountpublic long ColorCountGetColorCountpublic long GetColorCount { get; }", + "Number": 68, + "Text": "68 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllStruct ContainersRefTypeInherited MembersValueType.Equals(object)\uF1C5 , ValueType.GetHashCode()\uF1C5 , ValueType.ToString()\uF1C5 ,object.Equals(object, object)\uF1C5 , object.GetType()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5Extension MethodsIssue231.Bar(ContainersRefType) , Issue231.Foo(ContainersRefType)FieldsColorCountField Valuelong\uF1C5PropertiesGetColorCountStruct ContainersRefTypepublic struct ContainersRefTypeColorCountpublic long ColorCountGetColorCountpublic long GetColorCount { get; }", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals" @@ -5423,7 +5418,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5432,7 +5427,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5441,7 +5436,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5450,81 +5445,81 @@ }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 438.75 + "Top": 457.5 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } }, { "Goto": { - "PageNumber": 76, + "PageNumber": 75, "Coordinates": { "Left": 0, - "Top": 263.25 + "Top": 282 } } } ] }, { - "Number": 70, - "Text": "70 / 127Property Valuelong\uF1C5MethodsContainersRefTypeNonRefMethodarrayParametersparmsArray object\uF1C5[]Returnsint\uF1C5EventsEvent TypeEventHandler\uF1C5ContainersRefTypeNonRefMethod(params object[])public static int ContainersRefTypeNonRefMethod(params object[] parmsArray)ContainersRefTypeEventHandlerpublic event EventHandler ContainersRefTypeEventHandler", + "Number": 69, + "Text": "69 / 125Property Valuelong\uF1C5MethodsContainersRefTypeNonRefMethodarrayParametersparmsArray object\uF1C5[]Returnsint\uF1C5EventsEvent TypeEventHandler\uF1C5ContainersRefTypeNonRefMethod(params object[])public static int ContainersRefTypeNonRefMethod(params object[] parmsArray)ContainersRefTypeEventHandlerpublic event EventHandler ContainersRefTypeEventHandler", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -5565,12 +5560,12 @@ ] }, { - "Number": 71, - "Text": "71 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllEnumeration ColorTypeFieldsRed = 0redBlue = 1blueYellow = 2yellowEnum ContainersRefType.ColorTypepublic enum ContainersRefType.ColorType", + "Number": 70, + "Text": "70 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllEnumeration ColorTypeFieldsRed = 0redBlue = 1blueYellow = 2yellowEnum ContainersRefType.ColorTypepublic enum ContainersRefType.ColorType", "Links": [ { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5579,7 +5574,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5588,7 +5583,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5598,8 +5593,8 @@ ] }, { - "Number": 72, - "Text": "72 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ClassContainersRefType.ContainersRefTypeChildpublic class ContainersRefType.ContainersRefTypeChild\uF12C", + "Number": 71, + "Text": "71 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ContainersRefType.ContainersRefTypeChildInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ClassContainersRefType.ContainersRefTypeChildpublic class ContainersRefType.ContainersRefTypeChild\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5675,7 +5670,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5684,7 +5679,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5693,7 +5688,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5703,12 +5698,12 @@ ] }, { - "Number": 73, - "Text": "73 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInterfaceContainersRefType.ContainersRefTypeChildInterfacepublic interface ContainersRefType.ContainersRefTypeChildInterface", + "Number": 72, + "Text": "72 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInterfaceContainersRefType.ContainersRefTypeChildInterfacepublic interface ContainersRefType.ContainersRefTypeChildInterface", "Links": [ { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5717,7 +5712,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5726,7 +5721,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5736,12 +5731,12 @@ ] }, { - "Number": 74, - "Text": "74 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllDelegate ContainersRefTypeDelegateDelegateContainersRefType.ContainersRefTypeDelegatepublic delegate void ContainersRefType.ContainersRefTypeDelegate()", + "Number": 73, + "Text": "73 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllDelegate ContainersRefTypeDelegateDelegateContainersRefType.ContainersRefTypeDelegatepublic delegate void ContainersRefType.ContainersRefTypeDelegate()", "Links": [ { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5750,7 +5745,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5759,7 +5754,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5769,8 +5764,8 @@ ] }, { - "Number": 75, - "Text": "75 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ExplicitLayoutClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class ExplicitLayoutClasspublic class ExplicitLayoutClass\uF12C", + "Number": 74, + "Text": "74 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.Core.dllInheritanceobject\uF1C5 ExplicitLayoutClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class ExplicitLayoutClasspublic class ExplicitLayoutClass\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5846,7 +5841,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5855,7 +5850,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5864,7 +5859,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5874,8 +5869,8 @@ ] }, { - "Number": 76, - "Text": "76 / 127Namespace:CatLibrary.CoreAssembly:CatLibrary.dllInheritanceobject\uF1C5 Issue231Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsParametersc ContainersRefTypeParametersc ContainersRefTypeClass Issue231public static class Issue231\uF12CBar(ContainersRefType)public static void Bar(this ContainersRefType c)Foo(ContainersRefType)public static void Foo(this ContainersRefType c)", + "Number": 75, + "Text": "75 / 125Namespace:CatLibrary.CoreAssembly:CatLibrary.dllInheritanceobject\uF1C5 Issue231Inherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsParametersc ContainersRefTypeParametersc ContainersRefTypeClass Issue231public static class Issue231\uF12CBar(ContainersRefType)public static void Bar(this ContainersRefType c)Foo(ContainersRefType)public static void Foo(this ContainersRefType c)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -5951,7 +5946,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5960,7 +5955,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -5969,7 +5964,7 @@ }, { "Goto": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -5978,7 +5973,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -5987,7 +5982,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -5996,7 +5991,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -6005,7 +6000,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -6014,7 +6009,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -6023,7 +6018,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -6033,8 +6028,8 @@ ] }, { - "Number": 77, - "Text": "77 / 127Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTInheritanceobject\uF1C5 Exception\uF1C5 CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5 ,Exception.GetObjectData(SerializationInfo, StreamingContext)\uF1C5 , Exception.GetType()\uF1C5 ,Exception.ToString()\uF1C5 , Exception.Data\uF1C5 , Exception.HelpLink\uF1C5 , Exception.HResult\uF1C5 ,Exception.InnerException\uF1C5 , Exception.Message\uF1C5 , Exception.Source\uF1C5 ,Exception.StackTrace\uF1C5 , Exception.TargetSite\uF1C5 , Exception.SerializeObjectState\uF1C5 ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5Class CatExceptionpublic class CatException : Exception, ISerializable\uF12C\uF12C", + "Number": 76, + "Text": "76 / 125Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTInheritanceobject\uF1C5 Exception\uF1C5 CatExceptionImplementsISerializable\uF1C5Inherited MembersException.GetBaseException()\uF1C5 , Exception.GetType()\uF1C5 , Exception.ToString()\uF1C5 , Exception.Data\uF1C5 ,Exception.HelpLink\uF1C5 , Exception.HResult\uF1C5 , Exception.InnerException\uF1C5 , Exception.Message\uF1C5 ,Exception.Source\uF1C5 , Exception.StackTrace\uF1C5 , Exception.TargetSite\uF1C5 , Exception.SerializeObjectState\uF1C5 ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5Class CatExceptionpublic class CatException : Exception, ISerializable\uF12C\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -6072,15 +6067,6 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception" }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.exception.gettype" }, @@ -6227,7 +6213,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6236,7 +6222,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6246,8 +6232,8 @@ ] }, { - "Number": 78, - "Text": "78 / 127Namespace:CatLibraryAssembly:CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see theremarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classThis is a class talking about CAT\uF1C5.NOTE This is a CAT classRefer to IAnimal to see other animals.Type ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 CatImplementsICat, IAnimalInherited MembersClass Cat[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct\uF12C", + "Number": 77, + "Text": "77 / 125Namespace:CatLibraryAssembly:CatLibrary.dllHere's main class of this Demo.You can see mostly type of article within this class and you for more detail, please see the remarks.this class is a template class. It has two Generic parameter. they are: T and K.The extension method of this class can refer to ICatExtension classThis is a class talking about CAT\uF1C5.NOTE This is a CAT classRefer to IAnimal to see other animals.Type ParametersTThis type should be class and can new instance.KThis type is a struct type, class type can't be used for this parameter.Inheritanceobject\uF1C5 CatImplementsICat, IAnimalInherited Membersobject.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Cat[Serializable][Obsolete]public class Cat : ICat, IAnimal where T : class, new() where K : struct\uF12C", "Links": [ { "Uri": "https://en.wikipedia.org/wiki/Cat" @@ -6267,9 +6253,63 @@ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + }, + { + "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6278,7 +6318,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6287,7 +6327,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -6296,7 +6336,7 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -6305,7 +6345,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Type": 2, "Coordinates": { "Top": 0 @@ -6314,7 +6354,7 @@ }, { "Goto": { - "PageNumber": 92, + "PageNumber": 91, "Type": 2, "Coordinates": { "Top": 0 @@ -6323,7 +6363,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Type": 2, "Coordinates": { "Top": 0 @@ -6333,138 +6373,93 @@ ] }, { - "Number": 79, - "Text": "79 / 127object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)ExamplesHere's example of how to create an instance of this class. As T is limited with class and K islimited with struct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksTHIS is remarks overridden in MARKDWON fileConstructorsDefault constructor.It's a complex constructor. The parameter will have some attributes.Parametersvar a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}Cat()public Cat()Cat(string, out int, string, bool)public Cat(string nickName, out int age, string realName, bool isHealthy)", + "Number": 78, + "Text": "78 / 125Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)ExamplesHere's example of how to create an instance of this class. As T is limited with class and K is limited withstruct.As you see, here we bring in pointer so we need to add unsafe keyword.RemarksTHIS is remarks overridden in MARKDWON fileConstructorsDefault constructor.It's a complex constructor. The parameter will have some attributes.ParametersnickName string\uF1C5var a = new Cat(object, int)();int catNumber = new int();unsafe{ a.GetFeetLength(catNumber);}Cat()public Cat()Cat(string, out int, string, bool)public Cat(string nickName, out int age, string realName, bool isHealthy)", "Links": [ { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.gettype" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, { - "Uri": "https://learn.microsoft.com/dotnet/api/system.object.tostring" + "Uri": "https://learn.microsoft.com/dotnet/api/system.string" }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -6473,7 +6468,7 @@ }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -6482,7 +6477,7 @@ }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -6491,7 +6486,7 @@ }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -6501,18 +6496,9 @@ ] }, { - "Number": 80, - "Text": "80 / 127nickName string\uF1C5it's string type.age int\uF1C5It's an out and ref parameter.realName string\uF1C5It's an out paramter.isHealthy bool\uF1C5It's an in parameter.Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.FieldsField with attribute.Field ValueCat(T)public Cat(T ownType)isHealthy[ContextStatic][NonSerialized][Obsolete]public bool isHealthy", + "Number": 79, + "Text": "79 / 125it's string type.age int\uF1C5It's an out and ref parameter.realName string\uF1C5It's an out paramter.isHealthy bool\uF1C5It's an in parameter.Constructor with one generic parameter.ParametersownType TThis parameter type defined by class.FieldsField with attribute.Field Valuebool\uF1C5Cat(T)public Cat(T ownType)isHealthy[ContextStatic][NonSerialized][Obsolete]public bool isHealthy", "Links": [ - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, - { - "Uri": "https://learn.microsoft.com/dotnet/api/system.string" - }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -6539,13 +6525,7 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - } - ] - }, - { - "Number": 81, - "Text": "81 / 127bool\uF1C5PropertiesHint cat's age.Property Valueint\uF1C5This is index property of Cat. You can see that the visibility is different between get and setmethod.Parametersa string\uF1C5Cat's name.Property Valueint\uF1C5Cat's number.EII property.Age[Obsolete]protected int Age { get; set; }this[string]public int this[string a] { protected get; set; }Name", - "Links": [ + }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" }, @@ -6554,7 +6534,13 @@ }, { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" - }, + } + ] + }, + { + "Number": 80, + "Text": "80 / 125PropertiesHint cat's age.Property Valueint\uF1C5This is index property of Cat. You can see that the visibility is different between get and set method.Parametersa string\uF1C5Cat's name.Property Valueint\uF1C5Cat's number.EII property.Age[Obsolete]protected int Age { get; set; }this[string]public int this[string a] { protected get; set; }Namepublic string Name { get; }", + "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" }, @@ -6585,8 +6571,8 @@ ] }, { - "Number": 82, - "Text": "82 / 127Property Valuestring\uF1C5MethodsIt's an overridden summary in markdown formatThis is overriding methods. You can override parameter descriptions for methods, you caneven add exceptions to methods. Check the intermediate obj folder to see the data modelof the generated method/class. Override Yaml header should follow the data structure.Parametersdate DateTime\uF1C5This is overridden description for a parameter. id must be specified.ReturnsDictionary\uF1C5>It's overridden description for return. type must be specified.ExceptionsArgumentException\uF1C5This is an overridden argument exception. you can add additional exception by addingdifferent exception type.public string Name { get; }Override CalculateFood Namepublic Dictionary> CalculateFood(DateTime date)Equals(object)", + "Number": 81, + "Text": "81 / 125Property Valuestring\uF1C5MethodsIt's an overridden summary in markdown formatThis is overriding methods. You can override parameter descriptions for methods, you can even addexceptions to methods. Check the intermediate obj folder to see the data model of the generatedmethod/class. Override Yaml header should follow the data structure.Parametersdate DateTime\uF1C5This is overridden description for a parameter. id must be specified.ReturnsDictionary\uF1C5>It's overridden description for return. type must be specified.ExceptionsArgumentException\uF1C5This is an overridden argument exception. you can add additional exception by adding differentexception type.Override the method of Object.Equals(object obj).Override CalculateFood Namepublic Dictionary> CalculateFood(DateTime date)Equals(object)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -6654,8 +6640,8 @@ ] }, { - "Number": 83, - "Text": "83 / 127Override the method of Object.Equals(object obj).Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.public override bool Equals(object obj)GetTailLength(int*, params object[])public long GetTailLength(int* catName, params object[] parameters)Jump(T, K, ref bool)", + "Number": 82, + "Text": "82 / 125Parametersobj object\uF1C5Can pass any class type.Returnsbool\uF1C5The return value tell you whehter the compare operation is successful.It's an unsafe method. As you see, catName is a pointer, so we need to add unsafe keyword.ParameterscatName int\uF1C5*Thie represent for cat name length.parameters object\uF1C5[]Optional parameters.Returnslong\uF1C5Return cat tail's length.This method have attribute above it.public override bool Equals(object obj)GetTailLength(int*, params object[])public long GetTailLength(int* catName, params object[] parameters)Jump(T, K, ref bool)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -6705,8 +6691,8 @@ ] }, { - "Number": 84, - "Text": "84 / 127This method have attribute above it.ParametersownType TType come from class define.anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionEventsEat event of this catEvent TypeEventHandler\uF1C5Operators[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)ownEat[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEat", + "Number": 83, + "Text": "83 / 125ParametersownType TType come from class define.anotherOwnType KType come from class define.cheat bool\uF1C5Hint whether this cat has cheat mode.ExceptionsArgumentException\uF1C5This is an argument exceptionEventsEat event of this catEvent TypeEventHandler\uF1C5Operators[Conditional(\"Debug\")]public void Jump(T ownType, K anotherOwnType, ref bool cheat)ownEat[Obsolete(\"This _event handler_ is deprecated.\")]public event EventHandler ownEatoperator +(Cat, int)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.boolean" @@ -6738,8 +6724,8 @@ ] }, { - "Number": 85, - "Text": "85 / 127Addition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5Result with int type.Expilicit operator of this class.It means this cat can evolve to change to Tom. Tom and Jerry.Parameterssrc CatInstance of this class.ReturnsTomAdvanced class type of cat.operator +(Cat, int)public static int operator +(Cat lsr, int rsr)explicit operator Tom(Cat)public static explicit operator Tom(Cat src)", + "Number": 84, + "Text": "84 / 125Addition operator of this class.Parameterslsr Cat..rsr int\uF1C5~~Returnsint\uF1C5Result with int type.Expilicit operator of this class.It means this cat can evolve to change to Tom. Tom and Jerry.Parameterssrc CatInstance of this class.ReturnsTomAdvanced class type of cat.public static int operator +(Cat lsr, int rsr)explicit operator Tom(Cat)public static explicit operator Tom(Cat src)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -6761,7 +6747,7 @@ }, { "Goto": { - "PageNumber": 78, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -6770,7 +6756,7 @@ }, { "Goto": { - "PageNumber": 78, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -6779,7 +6765,7 @@ }, { "Goto": { - "PageNumber": 97, + "PageNumber": 96, "Type": 2, "Coordinates": { "Top": 0 @@ -6789,8 +6775,8 @@ ] }, { - "Number": 86, - "Text": "86 / 127Similar with operaotr +, refer to that topic.Parameterslsr Catrsr int\uF1C5Returnsint\uF1C5operator -(Cat, int)public static int operator -(Cat lsr, int rsr)", + "Number": 85, + "Text": "85 / 125Similar with operaotr +, refer to that topic.Parameterslsr Catrsr int\uF1C5Returnsint\uF1C5operator -(Cat, int)public static int operator -(Cat lsr, int rsr)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -6812,7 +6798,7 @@ }, { "Goto": { - "PageNumber": 78, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -6822,8 +6808,8 @@ ] }, { - "Number": 87, - "Text": "87 / 127Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ComplexInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5Class Complexpublic class Complex\uF12C", + "Number": 86, + "Text": "86 / 125Namespace:CatLibraryAssembly:CatLibrary.dllType ParametersTJInheritanceobject\uF1C5 ComplexInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5Class Complexpublic class Complex\uF12C", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -6899,7 +6885,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6908,7 +6894,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6918,8 +6904,8 @@ ] }, { - "Number": 88, - "Text": "88 / 127Namespace:CatLibraryAssembly:CatLibrary.dllFake delegateParametersnum long\uF1C5Fake paraname string\uF1C5Fake parascores object\uF1C5[]Optional Parameter.Returnsint\uF1C5Return a fake number to confuse you.Type ParametersTFake paraDelegate FakeDelegatepublic delegate int FakeDelegate(long num, string name, params object[] scores)", + "Number": 87, + "Text": "87 / 125Namespace:CatLibraryAssembly:CatLibrary.dllFake delegateParametersnum long\uF1C5Fake paraname string\uF1C5Fake parascores object\uF1C5[]Optional Parameter.Returnsint\uF1C5Return a fake number to confuse you.Type ParametersTFake paraDelegate FakeDelegatepublic delegate int FakeDelegate(long num, string name, params object[] scores)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -6959,7 +6945,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6968,7 +6954,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -6978,8 +6964,8 @@ ] }, { - "Number": 89, - "Text": "89 / 127Namespace:CatLibraryAssembly:CatLibrary.dllThis is basic interface of all animal.Welcome to the Animal world!RemarksTHIS is remarks overridden in MARKDWON filePropertiesReturn specific number animal's name.Parametersindex int\uF1C5Animal number.Property Valuestring\uF1C5Animal name.Name of Animal.Interface IAnimalpublic interface IAnimalthis[int]string this[int index] { get; }Name", + "Number": 88, + "Text": "88 / 125Namespace:CatLibraryAssembly:CatLibrary.dllThis is basic interface of all animal.Welcome to the Animal world!RemarksTHIS is remarks overridden in MARKDWON filePropertiesReturn specific number animal's name.Parametersindex int\uF1C5Animal number.Property Valuestring\uF1C5Animal name.Name of Animal.Interface IAnimalpublic interface IAnimalthis[int]string this[int index] { get; }Name", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int32" @@ -7001,7 +6987,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7010,7 +6996,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7020,8 +7006,8 @@ ] }, { - "Number": 90, - "Text": "90 / 127Property Valuestring\uF1C5MethodsAnimal's eat method.Feed the animal with some foodParametersfood string\uF1C5Food to eatOverload method of eat. This define the animal eat by which tool.Parameterstool Toolstring Name { get; }Eat()void Eat()Eat(string)void Eat(string food)Eat(Tool)void Eat(Tool tool) where Tool : class", + "Number": 89, + "Text": "89 / 125Property Valuestring\uF1C5MethodsAnimal's eat method.Feed the animal with some foodParametersfood string\uF1C5Food to eatOverload method of eat. This define the animal eat by which tool.Parameterstool Toolstring Name { get; }Eat()void Eat()Eat(string)void Eat(string food)Eat(Tool)void Eat(Tool tool) where Tool : class", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -7044,13 +7030,13 @@ ] }, { - "Number": 91, - "Text": "91 / 127Tool name.Type ParametersToolIt's a class type.", + "Number": 90, + "Text": "90 / 125Tool name.Type ParametersToolIt's a class type.", "Links": [] }, { - "Number": 92, - "Text": "92 / 127Namespace:CatLibraryAssembly:CatLibrary.dllCat's interfaceInherited MembersIAnimal.Name , IAnimal.this[int] , IAnimal.Eat() , IAnimal.Eat(Tool) ,IAnimal.Eat(string)Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)Eventseat event of cat. Every cat must implement this event.Event TypeEventHandler\uF1C5Interface ICatpublic interface ICat : IAnimaleatevent EventHandler eat", + "Number": 91, + "Text": "91 / 125Namespace:CatLibraryAssembly:CatLibrary.dllCat's interfaceInherited MembersIAnimal.Name , IAnimal.this[int] , IAnimal.Eat() , IAnimal.Eat(Tool) , IAnimal.Eat(string)Extension MethodsICatExtension.Play(ICat, ContainersRefType.ColorType) , ICatExtension.Sleep(ICat, long)Eventseat event of cat. Every cat must implement this event.Event TypeEventHandler\uF1C5Interface ICatpublic interface ICat : IAnimaleatevent EventHandler eat", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.eventhandler" @@ -7063,7 +7049,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7072,7 +7058,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7081,7 +7067,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Coordinates": { "Left": 0, "Top": 118.5 @@ -7090,7 +7076,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Coordinates": { "Left": 0, "Top": 118.5 @@ -7099,7 +7085,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Coordinates": { "Left": 0, "Top": 453.75 @@ -7108,7 +7094,7 @@ }, { "Goto": { - "PageNumber": 89, + "PageNumber": 88, "Coordinates": { "Left": 0, "Top": 453.75 @@ -7117,7 +7103,7 @@ }, { "Goto": { - "PageNumber": 90, + "PageNumber": 89, "Coordinates": { "Left": 0, "Top": 612.75 @@ -7126,7 +7112,7 @@ }, { "Goto": { - "PageNumber": 90, + "PageNumber": 89, "Coordinates": { "Left": 0, "Top": 612.75 @@ -7135,7 +7121,7 @@ }, { "Goto": { - "PageNumber": 90, + "PageNumber": 89, "Coordinates": { "Left": 0, "Top": 242.25 @@ -7144,7 +7130,7 @@ }, { "Goto": { - "PageNumber": 90, + "PageNumber": 89, "Coordinates": { "Left": 0, "Top": 477.75 @@ -7153,7 +7139,7 @@ }, { "Goto": { - "PageNumber": 90, + "PageNumber": 89, "Coordinates": { "Left": 0, "Top": 477.75 @@ -7162,79 +7148,79 @@ }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 93, + "PageNumber": 92, "Coordinates": { "Left": 0, - "Top": 348.75 + "Top": 367.5 } } }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -7243,7 +7229,7 @@ }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -7252,7 +7238,7 @@ }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -7261,7 +7247,7 @@ }, { "Goto": { - "PageNumber": 94, + "PageNumber": 93, "Coordinates": { "Left": 0, "Top": 792 @@ -7271,8 +7257,8 @@ ] }, { - "Number": 93, - "Text": "93 / 127Namespace:CatLibraryAssembly:CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ICatExtensionInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsExtension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playClass ICatExtensionpublic static class ICatExtension\uF12CPlay(ICat, ColorType)public static void Play(this ICat icat, ContainersRefType.ColorType toy)", + "Number": 92, + "Text": "92 / 125Namespace:CatLibraryAssembly:CatLibrary.dllIt's the class that contains ICat interface's extension method.This class must be public and static.Also it shouldn't be a geneic classInheritanceobject\uF1C5 ICatExtensionInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsExtension method to let cat playParametersicat ICatCattoy ContainersRefType.ColorTypeSomething to playClass ICatExtensionpublic static class ICatExtension\uF12CPlay(ICat, ColorType)public static void Play(this ICat icat, ContainersRefType.ColorType toy)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -7348,7 +7334,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7357,7 +7343,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7366,7 +7352,7 @@ }, { "Goto": { - "PageNumber": 92, + "PageNumber": 91, "Type": 2, "Coordinates": { "Top": 0 @@ -7375,7 +7361,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -7384,7 +7370,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -7393,7 +7379,7 @@ }, { "Goto": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -7402,7 +7388,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -7411,7 +7397,7 @@ }, { "Goto": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -7421,8 +7407,8 @@ ] }, { - "Number": 94, - "Text": "94 / 127Extension method hint that how long the cat can sleep.Parametersicat ICatThe type will be extended.hours long\uF1C5The length of sleep.Sleep(ICat, long)public static void Sleep(this ICat icat, long hours)", + "Number": 93, + "Text": "93 / 125Extension method hint that how long the cat can sleep.Parametersicat ICatThe type will be extended.hours long\uF1C5The length of sleep.Sleep(ICat, long)public static void Sleep(this ICat icat, long hours)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.int64" @@ -7435,7 +7421,7 @@ }, { "Goto": { - "PageNumber": 92, + "PageNumber": 91, "Type": 2, "Coordinates": { "Top": 0 @@ -7445,12 +7431,12 @@ ] }, { - "Number": 95, - "Text": "95 / 127Namespace:CatLibraryAssembly:CatLibrary.dllGeneric delegate with many constrains.Parametersk KType K.t TType T.l LType L.Type ParametersKGeneric K.TGeneric T.LGeneric L.Delegate MRefDelegatepublic delegate void MRefDelegate(K k, T t, L l) where K : class, IComparable where T : struct where L : Tom, IEnumerable", + "Number": 94, + "Text": "94 / 125Namespace:CatLibraryAssembly:CatLibrary.dllGeneric delegate with many constrains.Parametersk KType K.t TType T.l LType L.Type ParametersKGeneric K.TGeneric T.LGeneric L.Delegate MRefDelegatepublic delegate void MRefDelegate(K k, T t, L l) where K : class, IComparable where T : struct where L : Tom, IEnumerable", "Links": [ { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7459,7 +7445,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7469,8 +7455,8 @@ ] }, { - "Number": 96, - "Text": "96 / 127Namespace:CatLibraryAssembly:CatLibrary.dllDelegate in the namespaceParameterspics List\uF1C5a name list of pictures.name string\uF1C5give out the needed name.Delegate MRefNormalDelegatepublic delegate void MRefNormalDelegate(List pics, out string name)", + "Number": 95, + "Text": "95 / 125Namespace:CatLibraryAssembly:CatLibrary.dllDelegate in the namespaceParameterspics List\uF1C5a name list of pictures.name string\uF1C5give out the needed name.Delegate MRefNormalDelegatepublic delegate void MRefNormalDelegate(List pics, out string name)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1" @@ -7501,7 +7487,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7510,7 +7496,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7520,8 +7506,8 @@ ] }, { - "Number": 97, - "Text": "97 / 127Namespace:CatLibraryAssembly:CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 TomDerivedTomFromBaseClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5MethodsThis is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Another complex inputClass Tompublic class Tom\uF12CTomMethod(Complex, Tuple)public Complex TomMethod(Complex a, Tuple b)", + "Number": 96, + "Text": "96 / 125Namespace:CatLibraryAssembly:CatLibrary.dllTom class is only inherit from Object. Not any member inside itself.Inheritanceobject\uF1C5 TomDerivedTomFromBaseClassInherited Membersobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5MethodsThis is a Tom Method with complex type as returnParametersa ComplexA complex inputb Tuple\uF1C5Another complex inputClass Tompublic class Tom\uF12CTomMethod(Complex, Tuple)public Complex TomMethod(Complex a, Tuple b)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -7615,7 +7601,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7624,7 +7610,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7633,7 +7619,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7642,7 +7628,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7651,7 +7637,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7660,7 +7646,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7669,7 +7655,7 @@ }, { "Goto": { - "PageNumber": 87, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -7678,7 +7664,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7687,7 +7673,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7696,7 +7682,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7705,7 +7691,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7714,7 +7700,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7723,7 +7709,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7732,7 +7718,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7741,7 +7727,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7750,7 +7736,7 @@ }, { "Goto": { - "PageNumber": 97, + "PageNumber": 96, "Type": 2, "Coordinates": { "Top": 0 @@ -7760,8 +7746,8 @@ ] }, { - "Number": 98, - "Text": "98 / 127ReturnsComplexComplex TomFromBaseClassExceptionsNotImplementedException\uF1C5This is not implementedArgumentException\uF1C5This is the exception to be thrown when implementedCatExceptionThis is the exception in current documentation", + "Number": 97, + "Text": "97 / 125ReturnsComplexComplex TomFromBaseClassExceptionsNotImplementedException\uF1C5This is not implementedArgumentException\uF1C5This is the exception to be thrown when implementedCatExceptionThis is the exception in current documentation", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.string" @@ -7792,7 +7778,7 @@ }, { "Goto": { - "PageNumber": 87, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -7801,7 +7787,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7810,7 +7796,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7819,7 +7805,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7828,7 +7814,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7837,7 +7823,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7846,7 +7832,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7855,7 +7841,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7864,7 +7850,7 @@ }, { "Goto": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -7873,7 +7859,7 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 76, "Type": 2, "Coordinates": { "Top": 0 @@ -7882,7 +7868,7 @@ }, { "Goto": { - "PageNumber": 77, + "PageNumber": 76, "Type": 2, "Coordinates": { "Top": 0 @@ -7892,8 +7878,8 @@ ] }, { - "Number": 99, - "Text": "99 / 127Namespace:CatLibraryAssembly:CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 Tom TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple) ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,object.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,object.ToString()\uF1C5ConstructorsThis is a #ctor with parameterParametersk int\uF1C5Class TomFromBaseClasspublic class TomFromBaseClass : Tom\uF12C\uF12CTomFromBaseClass(int)public TomFromBaseClass(int k)", + "Number": 98, + "Text": "98 / 125Namespace:CatLibraryAssembly:CatLibrary.dllTomFromBaseClass inherits from @Inheritanceobject\uF1C5 Tom TomFromBaseClassInherited MembersTom.TomMethod(Complex, Tuple) ,object.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 , object.GetType()\uF1C5 ,object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 , object.ToString()\uF1C5ConstructorsThis is a #ctor with parameterParametersk int\uF1C5Class TomFromBaseClasspublic class TomFromBaseClass : Tom\uF12C\uF12CTomFromBaseClass(int)public TomFromBaseClass(int k)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -7978,7 +7964,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7987,7 +7973,7 @@ }, { "Goto": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -7996,7 +7982,7 @@ }, { "Goto": { - "PageNumber": 97, + "PageNumber": 96, "Type": 2, "Coordinates": { "Top": 0 @@ -8005,22 +7991,22 @@ }, { "Goto": { - "PageNumber": 97, + "PageNumber": 96, "Coordinates": { "Left": 0, - "Top": 360.75 + "Top": 379.5 } } } ] }, { - "Number": 100, - "Text": "100 / 127EnumsColorTypeEnumeration ColorTypeNamespace MRef.Demo.Enumeration", + "Number": 99, + "Text": "99 / 125EnumsColorTypeEnumeration ColorTypeNamespace MRef.Demo.Enumeration", "Links": [ { "Goto": { - "PageNumber": 101, + "PageNumber": 100, "Type": 2, "Coordinates": { "Top": 0 @@ -8029,7 +8015,7 @@ }, { "Goto": { - "PageNumber": 101, + "PageNumber": 100, "Type": 2, "Coordinates": { "Top": 0 @@ -8039,8 +8025,8 @@ ] }, { - "Number": 101, - "Text": "101 / 127Namespace:MRef.Demo.EnumerationAssembly:CatLibrary.dllEnumeration ColorTypeFieldsRed = 0this color is redBlue = 1blue like riverYellow = 2yellow comes from desertRemarksRed/Blue/Yellow can become all color you want.See Alsoobject\uF1C5Enum ColorTypepublic enum ColorType", + "Number": 100, + "Text": "100 / 125Namespace:MRef.Demo.EnumerationAssembly:CatLibrary.dllEnumeration ColorTypeFieldsRed = 0this color is redBlue = 1blue like riverYellow = 2yellow comes from desertRemarksRed/Blue/Yellow can become all color you want.See Alsoobject\uF1C5Enum ColorTypepublic enum ColorType", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -8059,7 +8045,7 @@ }, { "Goto": { - "PageNumber": 100, + "PageNumber": 99, "Type": 2, "Coordinates": { "Top": 0 @@ -8069,8 +8055,8 @@ ] }, { - "Number": 102, - "Text": "102 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Swagger PetstoreDescribe APIs in Pet StorepetDescription for pet tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.UpdatePetUpdate an existing petRequestParametersPOST /petPUT /pet", + "Number": 101, + "Text": "101 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Swagger PetstoreDescribe APIs in Pet StorepetDescription for pet tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.UpdatePetUpdate an existing petRequestParametersPOST /petPUT /pet", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_addPet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FaddPet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8110,7 +8096,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 406.5 @@ -8120,8 +8106,8 @@ ] }, { - "Number": 103, - "Text": "103 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Pet not found405Validation exceptionFindPetsByStatusFinds Pets by statusMultiple status values can be provided with comma separated stringsRequestParametersNameTypeDefaultNotes*statusStatus values that need to be considered for filterResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid status valueFindPetsByTagsGET /pet/findByStatus?status", + "Number": 102, + "Text": "102 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Pet not found405Validation exceptionFindPetsByStatusFinds Pets by statusMultiple status values can be provided with comma separated stringsRequestParametersNameTypeDefaultNotes*statusStatus values that need to be considered for filterResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid status valueFindPetsByTagsGET /pet/findByStatus?status", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_findPetsByStatus.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FfindPetsByStatus%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8161,7 +8147,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 406.5 @@ -8170,7 +8156,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 406.5 @@ -8180,8 +8166,8 @@ ] }, { - "Number": 104, - "Text": "104 / 127| Improve this Doc\uF1C5View Source\uF1C5Finds Pets by tagsMuliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 fortesting.RequestParametersNameTypeDefaultNotes*tagsTags to filter byResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid tag valueDeletePetDeletes a petRequestParametersNameTypeDefaultNotesapi_key*petIdPet id to deleteResponsesGET /pet/findByTags?tagsDELETE /pet/{petId}", + "Number": 103, + "Text": "103 / 125| Improve this Doc\uF1C5View Source\uF1C5Finds Pets by tagsMuliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.RequestParametersNameTypeDefaultNotes*tagsTags to filter byResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid tag valueDeletePetDeletes a petRequestParametersNameTypeDefaultNotesapi_key*petIdPet id to deleteResponsesGET /pet/findByTags?tagsDELETE /pet/{petId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_deletePet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FdeletePet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8203,7 +8189,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 406.5 @@ -8213,8 +8199,8 @@ ] }, { - "Number": 105, - "Text": "105 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid ID supplied404Pet not foundGetPetByIdFind pet by IDReturns a single petRequestParametersNameTypeDefaultNotes*petIdID of pet to returnResponsesStatus CodeTypeDescriptionSamples200Petsuccessful operation400Invalid ID supplied404Pet not foundUpdatePetWithFormUpdates a pet in the store with form dataRequestGET /pet/{petId}POST /pet/{petId}", + "Number": 104, + "Text": "104 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid ID supplied404Pet not foundGetPetByIdFind pet by IDReturns a single petRequestParametersNameTypeDefaultNotes*petIdID of pet to returnResponsesStatus CodeTypeDescriptionSamples200Petsuccessful operation400Invalid ID supplied404Pet not foundUpdatePetWithFormUpdates a pet in the store with form dataRequestGET /pet/{petId}POST /pet/{petId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getPetById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetPetById%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8254,7 +8240,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 406.5 @@ -8264,8 +8250,8 @@ ] }, { - "Number": 106, - "Text": "106 / 127| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*petIdID of pet that needs to be updatednameUpdated name of the petstatusUpdated status of the petResponsesStatus CodeTypeDescriptionSamples405Invalid inputUploadFileuploads an imageRequestParametersNameTypeDefaultNotes*petIdID of pet to updateadditionalMetadataAdditional data to pass to serverfilefile to uploadResponsesStatus CodeTypeDescriptionSamples200ApiResponsesuccessful operationPOST /pet/{petId}/uploadImage", + "Number": 105, + "Text": "105 / 125| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*petIdID of pet that needs to be updatednameUpdated name of the petstatusUpdated status of the petResponsesStatus CodeTypeDescriptionSamples405Invalid inputUploadFileuploads an imageRequestParametersNameTypeDefaultNotes*petIdID of pet to updateadditionalMetadataAdditional data to pass to serverfilefile to uploadResponsesStatus CodeTypeDescriptionSamples200ApiResponsesuccessful operationPOST /pet/{petId}/uploadImage", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_uploadFile.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FuploadFile%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8287,7 +8273,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 553.5 @@ -8296,7 +8282,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 553.5 @@ -8306,8 +8292,8 @@ ] }, { - "Number": 107, - "Text": "107 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5storeAccess to Petstore ordersAdditional description for store tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.GetInventoryReturns pet inventories by statusReturns a map of status codes to quantitiesRequestResponsesPOST /petGET /store/inventory", + "Number": 106, + "Text": "106 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5storeAccess to Petstore ordersAdditional description for store tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.GetInventoryReturns pet inventories by statusReturns a map of status codes to quantitiesRequestResponsesPOST /petGET /store/inventory", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_addPet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FaddPet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8347,7 +8333,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 406.5 @@ -8357,8 +8343,8 @@ ] }, { - "Number": 108, - "Text": "108 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples200objectsuccessful operationPlaceOrderPlace an order for a petRequestParametersNameTypeDefaultNotes*bodyOrderorder placed for purchasing the petResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid OrderDeleteOrderDelete purchase order by IDFor valid response try integer IDs with positive integer value. Negative or non-integervalues will generate API errorsRequestParametersPOST /store/orderDELETE /store/order/{orderId}", + "Number": 107, + "Text": "107 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples200objectsuccessful operationPlaceOrderPlace an order for a petRequestParametersNameTypeDefaultNotes*bodyOrderorder placed for purchasing the petResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid OrderDeleteOrderDelete purchase order by IDFor valid response try integer IDs with positive integer value. Negative or non-integer values willgenerate API errorsRequestParametersPOST /store/orderDELETE /store/order/{orderId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_placeOrder.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FplaceOrder%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8398,7 +8384,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 389.25 @@ -8407,7 +8393,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 389.25 @@ -8417,8 +8403,8 @@ ] }, { - "Number": 109, - "Text": "109 / 127| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*orderIdID of the order that needs to be deletedResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Order not foundGetOrderByIdFind purchase order by IDFor valid response try integer IDs with value >= 1 and <= 10. Other values will generatedexceptionsRequestParametersNameTypeDefaultNotes*orderIdID of pet that needs to be fetchedResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid ID supplied404Order not foundGET /store/order/{orderId}", + "Number": 108, + "Text": "108 / 125| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*orderIdID of the order that needs to be deletedResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Order not foundGetOrderByIdFind purchase order by IDFor valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptionsRequestParametersNameTypeDefaultNotes*orderIdID of pet that needs to be fetchedResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid ID supplied404Order not founduserGET /store/order/{orderId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getOrderById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetOrderById%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8440,7 +8426,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 389.25 @@ -8450,8 +8436,8 @@ ] }, { - "Number": 110, - "Text": "110 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5userOperations about userCreateUserCreate userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*bodyUserCreated user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithArrayInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesPOST /userPOST /user/createWithArray", + "Number": 109, + "Text": "109 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Operations about userCreateUserCreate userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*bodyUserCreated user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithArrayInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesPOST /userPOST /user/createWithArray", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUser%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8491,7 +8477,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 120.75 @@ -8500,7 +8486,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 120.75 @@ -8510,8 +8496,8 @@ ] }, { - "Number": 111, - "Text": "111 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithListInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationLoginUserLogs user into the systemRequestParametersNameTypeDefaultNotes*usernameThe user name for login*passwordThe password for login in clear textPOST /user/createWithListGET /user/login?username&password", + "Number": 110, + "Text": "110 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithListInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationLoginUserLogs user into the systemRequestParametersNameTypeDefaultNotes*usernameThe user name for login*passwordThe password for login in clear textPOST /user/createWithListGET /user/login?username&password", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUsersWithListInput.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUsersWithListInput%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8551,7 +8537,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 120.75 @@ -8561,8 +8547,8 @@ ] }, { - "Number": 112, - "Text": "112 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ResponsesStatus CodeTypeDescriptionSamples200stringsuccessful operation400Invalid username/password suppliedLogoutUserLogs out current logged in user sessionRequestResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationDeleteUserDelete userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*usernameThe name that needs to be deletedResponsesGET /user/logoutDELETE /user/{username}", + "Number": 111, + "Text": "111 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ResponsesStatus CodeTypeDescriptionSamples200stringsuccessful operation400Invalid username/password suppliedLogoutUserLogs out current logged in user sessionRequestResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationDeleteUserDelete userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*usernameThe name that needs to be deletedResponsesGET /user/logoutDELETE /user/{username}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_logoutUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FlogoutUser%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8603,8 +8589,8 @@ ] }, { - "Number": 113, - "Text": "113 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid username supplied404User not foundGetUserByNameGet user by user nameRequestParametersNameTypeDefaultNotes*usernameThe name that needs to be fetched. Use user1 for testing.ResponsesStatus CodeTypeDescriptionSamples200Usersuccessful operation400Invalid username supplied404User not foundOther APIsUpdateUserUpdated userThis can only be done by the logged in user.RequestGET /user/{username}", + "Number": 112, + "Text": "112 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid username supplied404User not foundGetUserByNameGet user by user nameRequestParametersNameTypeDefaultNotes*usernameThe name that needs to be fetched. Use user1 for testing.ResponsesStatus CodeTypeDescriptionSamples200Usersuccessful operation400Invalid username supplied404User not foundOther APIsUpdateUserUpdated userThis can only be done by the logged in user.RequestGET /user/{username}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getUserByName.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetUserByName%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8644,7 +8630,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 120.75 @@ -8654,12 +8640,12 @@ ] }, { - "Number": 114, - "Text": "114 / 127ParametersNameTypeDefaultNotes*usernamename that need to be updated*bodyUserUpdated user objectResponsesStatus CodeTypeDescriptionSamples400Invalid user supplied404User not foundDefinitionsPetNameTypeNotescategoryCategory[]idinteger (int64)namestringphotoUrlsarraystatusstringpet status in the storetagsTag[]CategoryPUT /user/{username}", + "Number": 113, + "Text": "113 / 125ParametersNameTypeDefaultNotes*usernamename that need to be updated*bodyUserUpdated user objectResponsesStatus CodeTypeDescriptionSamples400Invalid user supplied404User not foundDefinitionsPetNameTypeNotescategoryCategory[]idinteger (int64)namestringphotoUrlsarraystatusstringpet status in the storetagsTag[]CategoryPUT /user/{username}", "Links": [ { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 120.75 @@ -8668,7 +8654,7 @@ }, { "Goto": { - "PageNumber": 114, + "PageNumber": 113, "Coordinates": { "Left": 0, "Top": 138 @@ -8677,7 +8663,7 @@ }, { "Goto": { - "PageNumber": 115, + "PageNumber": 114, "Coordinates": { "Left": 0, "Top": 687 @@ -8687,17 +8673,17 @@ ] }, { - "Number": 115, - "Text": "115 / 127NameTypeNotesidinteger (int64)namestringTagNameTypeNotesidinteger (int64)namestringApiResponseNameTypeNotescodeinteger (int32)messagestringtypestringOrderNameTypeNotescompletebooleanidinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder StatusUser", + "Number": 114, + "Text": "114 / 125NameTypeNotesidinteger (int64)namestringTagNameTypeNotesidinteger (int64)namestringApiResponseNameTypeNotescodeinteger (int32)messagestringtypestringOrderNameTypeNotescompletebooleanidinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder StatusUser", "Links": [] }, { - "Number": 116, - "Text": "116 / 127NameTypeNotesemailstringfirstNamestringidinteger (int64)lastNamestringpasswordstringphonestringuserStatusinteger (int32)User StatususernamestringSee AlsosSee other REST APIs:Contacts API", + "Number": 115, + "Text": "115 / 125NameTypeNotesemailstringfirstNamestringidinteger (int64)lastNamestringpasswordstringphonestringuserStatusinteger (int32)User StatususernamestringSee AlsosSee other REST APIs:Contacts API", "Links": [ { "Goto": { - "PageNumber": 117, + "PageNumber": 116, "Type": 2, "Coordinates": { "Top": 0 @@ -8707,8 +8693,8 @@ ] }, { - "Number": 117, - "Text": "117 / 127| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ContactsGet ContactsYou can get a collection of contacts from your tenant.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented as datestrings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Theresults arereturned intheresponsebody.Mime type: application/jsonGet Contact By IdGet a contact by using the object ID.Required scope: Contacts.Read or Contacts.WriteGET /contacts?api-version{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"value\": [ { \"odata.type\": \"Microsoft.DirectoryServices.Contac \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9 \"deletionTimestamp\": null,", + "Number": 116, + "Text": "116 / 125| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ContactsGet ContactsYou can get a collection of contacts from your tenant.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*api-version1.6The version of the Graph API to target. Beginning with version 1.5, theapi-version string is represented in major.minor format. Prior releaseswere represented as date strings: '2013-11-08' and '2013-04-05'.Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Theresults arereturned intheresponsebody.Mime type: application/jsonGet Contact By IdGet a contact by using the object ID.Required scope: Contacts.Read or Contacts.WriteGET /contacts?api-version{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"value\": [ { \"odata.type\": \"Microsoft.DirectoryServices.Contact\", \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9\", \"deletionTimestamp\": null,", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contacts.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contacts%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8749,8 +8735,8 @@ ] }, { - "Number": 118, - "Text": "118 / 127| Improve this Doc\uF1C5View Source\uF1C5RequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6Specifies the version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Thecontact isreturned intheresponsebody.Mime type: application/jsonUpdate ContactChange a contact's properties.Required scope: Contacts.WriteRequestGET /contacts/{object_id}?api-version{ \"odata.metadata\": \"https://graph.windows.net/graphdir1.onmicrosoft.com/$m \"odata.type\": \"Microsoft.DirectoryServices.Contact\", \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9\", \"deletionTimestamp\": null, \"city\": null, \"companyName\": null,", + "Number": 117, + "Text": "117 / 125| Improve this Doc\uF1C5View Source\uF1C5RequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6Specifies the version of the Graph API to target. Beginningwith version 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Thecontact isreturned intheresponsebody.Mime type: application/jsonUpdate ContactChange a contact's properties.Required scope: Contacts.WriteRequestGET /contacts/{object_id}?api-version{ \"odata.metadata\": \"https://graph.windows.net/graphdir1.onmicrosoft.com/$metadata#di \"odata.type\": \"Microsoft.DirectoryServices.Contact\", \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9\", \"deletionTimestamp\": null, \"city\": null, \"companyName\": null,PATCH /contacts/{object_id}?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_update_contact.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fupdate%20contact%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8773,8 +8759,8 @@ ] }, { - "Number": 119, - "Text": "119 / 127| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-versionstring is represented in major.minor format.Prior releases were represented as datestrings: '2013-11-08' and '2013-04-05'.Required.bodyparamcontactthis is request body, not real parameterResponsesStatusCodeTypeDescriptionSamples204No Content. Indicates success. No response body isreturned.Delete ContactDelete a contact.Required scope: Contacts.WriteRequestParametersPATCH /contacts/{object_id}?api-versionDELETE /contacts/{object_id}[?api-version]", + "Number": 118, + "Text": "118 / 125| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.bodyparamcontactthis is request body, not real parameterResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success. No response body is returned.Delete ContactDelete a contact.Required scope: Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.api-version1.6Specifies the version of the Graph API to target. Beginningwith version 1.5, the api-version string is represented inDELETE /contacts/{object_id}[?api-version]", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_delete_contact.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fdelete%20contact%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8796,18 +8782,18 @@ }, { "Goto": { - "PageNumber": 125, + "PageNumber": 124, "Coordinates": { "Left": 0, - "Top": 324.75 + "Top": 495 } } } ] }, { - "Number": 120, - "Text": "120 / 127| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.api-version1.6Specifies the version of the Graph API to target.Beginning with version 1.5, the api-versionstring is represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success.Get Contact Manager LinkGet a link to the contact's manager.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.GET /contacts/{object_id}/$links/manager?api-version", + "Number": 119, + "Text": "119 / 125| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotesmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success.Get Contact Manager LinkGet a link to the contact's manager.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. AMime type: application/jsonGET /contacts/{object_id}/$links/manager?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_manager_link.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20manager%20link%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8830,8 +8816,8 @@ ] }, { - "Number": 121, - "Text": "121 / 127| Improve this Doc\uF1C5View Source\uF1C5ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Alink to thecontact'smanager isreturned.Mime type: application/json404Not Found.Therequestedresourcewas notfound. Thiscan occur ifthe managerproperty isnot currentlyset for thespecifiedcontact. Itcan alsohave othercauses, forexample, abad domain.A code andassociatedmessage isreturnedwith theerror.Mime type: application/jsonUpdate Contact Manager{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"url\": \"https://graph.windows.net/myorganization/dire4c4a-93b2-03f065fabd93/Microsoft.WindowsAzure.ActiveDir}{ \"odata.error\": { \"code\": \"Request_ResourceNotFound\", \"message\": { \"lang\": \"en\", \"value\": \"Resource not found for the segment 'man } }}", + "Number": 120, + "Text": "120 / 125| Improve this Doc\uF1C5View Source\uF1C5StatusCodeTypeDescriptionSampleslink to thecontact'smanager isreturned.404Not Found.Therequestedresourcewas notfound. Thiscan occur ifthemanagerproperty isnotcurrentlyset for thespecifiedcontact. Itcan alsohave othercauses, forexample, abaddomain. Acode andassociatedmessage isreturnedwith theerror.Mime type: application/jsonUpdate Contact Manager{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"url\": \"https://graph.windows.net/myorganization/directoryObjec4c4a-93b2-03f065fabd93/Microsoft.WindowsAzure.ActiveDirectory.Con}{ \"odata.error\": { \"code\": \"Request_ResourceNotFound\", \"message\": { \"lang\": \"en\", \"value\": \"Resource not found for the segment 'manager'.\" } }}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_update_contact_manager.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fupdate%20contact%20manager%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8854,8 +8840,8 @@ ] }, { - "Number": 122, - "Text": "122 / 127| Improve this Doc\uF1C5View Source\uF1C5Update the contact's managerRequired scope: Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-versionstring is represented in major.minor format.Prior releases were represented as datestrings: '2013-11-08' and '2013-04-05'.Required.*bodyparamThe request body contains a single propertythat specifies the URL of the user or contact toadd as manager.ResponsesStatusCodeTypeDescriptionSamples204No Content. Indicates success. No response body isreturned.Delete Contact Manager By IdDelete the contact's manager.Required scope: Contacts.WriteRequestPUT /contacts/{object_id}/$links/manager?api-version", + "Number": 121, + "Text": "121 / 125| Improve this Doc\uF1C5View Source\uF1C5Update the contact's managerRequired scope: Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.*bodyparamThe request body contains a single property thatspecifies the URL of the user or contact to add asmanager.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success. No response body is returned.Delete Contact Manager By IdDelete the contact's manager.Required scope: Contacts.WriteRequestParametersPUT /contacts/{object_id}/$links/manager?api-versionDELETE /contacts/{object_id}/$links/manager?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_delete_contact_manager_by_id.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fdelete%20contact%20manager%20by%20id%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8878,8 +8864,8 @@ ] }, { - "Number": 123, - "Text": "123 / 127| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples204No Content. Indicates success. N response body isreturned.Get Contact Direct Reports LinksGet a links to the contact's direct reports.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.DELETE /contacts/{object_id}/$links/manager?api-versionGET /contacts/{object_id}/$links/directReports?api-version", + "Number": 122, + "Text": "122 / 125| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success. N response body is returned.Get Contact Direct Reports LinksGet a links to the contact's direct reports.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesGET /contacts/{object_id}/$links/directReports?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_direct_reports_links.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20direct%20reports%20links%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8902,8 +8888,8 @@ ] }, { - "Number": 124, - "Text": "124 / 127| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One or moredirectreports arereturned.Mime type: application/jsonGet Contact MemberOf LinksGet a links to the contact's direct group and directory role memberships.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/4e26-b24f-c830606ef41c/Microsoft.DirectoryServices.Cont } ]GET /contacts/{object_id}/$links/memberOf?api-version", + "Number": 123, + "Text": "123 / 125| Improve this Doc\uF1C5View Source\uF1C5StatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One ormore directreports arereturned.Mime type: application/jsonGet Contact MemberOf LinksGet a links to the contact's direct group and directory role memberships.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.Responses{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/directoryOb24f-c830606ef41c/Microsoft.DirectoryServices.Contact\" } ]GET /contacts/{object_id}/$links/memberOf?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_memberOf_links.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20memberOf%20links%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -8926,38 +8912,33 @@ ] }, { - "Number": 125, - "Text": "125 / 127NameTypeDefaultNotes*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One or moregroupsand/ordirectoryroles arereturned.Mime type: application/jsonDefinitionsContactNameTypeNotesobjectTypestringobjectIdstringdeletionTimestampstring (date-time)citystringcountrystringdepartmentstring{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/b942-47c9-a10e-a4bee353ce60/Microsoft.DirectoryServices } ]", + "Number": 124, + "Text": "124 / 125StatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One ormoregroupsand/ordirectoryroles arereturned.Mime type: application/jsonDefinitionsContactNameTypeNotesobjectTypestringobjectIdstringdeletionTimestampstring (date-time)citystringcountrystringdepartmentstringdirSyncEnabledbooleandisplayNamestringfacsimileTelephoneNumberstringgivenNamestringjobTitlestringlastDirSyncTimestring (date-time){ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/directoryO47c9-a10e-a4bee353ce60/Microsoft.DirectoryServices.Group\" } ]", "Links": [] }, { - "Number": 126, - "Text": "126 / 127NameTypeNotesdirSyncEnabledbooleandisplayNamestringfacsimileTelephoneNumberstringgivenNamestringjobTitlestringlastDirSyncTimestring (date-time)mailstringmailNicknamestringmobilestringphysicalDeliveryOfficeNamestringpostalCodestringprovisioningErrorsProvisioningError[]proxyAddressesarraysipProxyAddressstringstatestringstreetAddressstringsurnamestringtelephoneNumberstringthumbnailPhotostringProvisioningErrorNameTypeNoteserrorDetailstring", + "Number": 125, + "Text": "125 / 125NameTypeNotesmailstringmailNicknamestringmobilestringphysicalDeliveryOfficeNamestringpostalCodestringprovisioningErrorsProvisioningError[]proxyAddressesarraysipProxyAddressstringstatestringstreetAddressstringsurnamestringtelephoneNumberstringthumbnailPhotostringProvisioningErrorNameTypeNoteserrorDetailstringresolvedbooleanserviceInstancestringtimestampstring (date-time)", "Links": [ { "Goto": { - "PageNumber": 126, + "PageNumber": 125, "Coordinates": { "Left": 0, - "Top": 164.25 + "Top": 348.75 } } }, { "Goto": { - "PageNumber": 126, + "PageNumber": 125, "Coordinates": { "Left": 0, - "Top": 164.25 + "Top": 348.75 } } } ] - }, - { - "Number": 127, - "Text": "127 / 127NameTypeNotesresolvedbooleanserviceInstancestringtimestampstring (date-time)", - "Links": [] } ], "Bookmarks": [ @@ -9024,7 +9005,7 @@ "Title": "Markdown", "Children": [], "Destination": { - "PageNumber": 15, + "PageNumber": 14, "Type": 2, "Coordinates": { "Top": 0 @@ -9055,7 +9036,7 @@ "Title": "Class1", "Children": [], "Destination": { - "PageNumber": 21, + "PageNumber": 20, "Type": 2, "Coordinates": { "Top": 0 @@ -9066,7 +9047,7 @@ "Title": "Issue5432", "Children": [], "Destination": { - "PageNumber": 22, + "PageNumber": 21, "Type": 2, "Coordinates": { "Top": 0 @@ -9075,7 +9056,7 @@ } ], "Destination": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -9089,7 +9070,7 @@ "Title": "CSharp", "Children": [], "Destination": { - "PageNumber": 24, + "PageNumber": 23, "Type": 2, "Coordinates": { "Top": 0 @@ -9098,7 +9079,7 @@ } ], "Destination": { - "PageNumber": 23, + "PageNumber": 22, "Type": 2, "Coordinates": { "Top": 0 @@ -9118,7 +9099,7 @@ "Title": "A", "Children": [], "Destination": { - "PageNumber": 29, + "PageNumber": 28, "Type": 2, "Coordinates": { "Top": 0 @@ -9127,7 +9108,7 @@ } ], "Destination": { - "PageNumber": 28, + "PageNumber": 27, "Type": 2, "Coordinates": { "Top": 0 @@ -9141,7 +9122,7 @@ "Title": "B", "Children": [], "Destination": { - "PageNumber": 31, + "PageNumber": 30, "Type": 2, "Coordinates": { "Top": 0 @@ -9150,7 +9131,7 @@ } ], "Destination": { - "PageNumber": 30, + "PageNumber": 29, "Type": 2, "Coordinates": { "Top": 0 @@ -9159,7 +9140,7 @@ } ], "Destination": { - "PageNumber": 27, + "PageNumber": 26, "Type": 2, "Coordinates": { "Top": 0 @@ -9170,7 +9151,7 @@ "Title": "Class1", "Children": [], "Destination": { - "PageNumber": 32, + "PageNumber": 31, "Type": 2, "Coordinates": { "Top": 0 @@ -9181,7 +9162,7 @@ "Title": "Class1.IIssue8948", "Children": [], "Destination": { - "PageNumber": 37, + "PageNumber": 36, "Type": 2, "Coordinates": { "Top": 0 @@ -9192,7 +9173,7 @@ "Title": "Class1.Issue8665", "Children": [], "Destination": { - "PageNumber": 38, + "PageNumber": 37, "Type": 2, "Coordinates": { "Top": 0 @@ -9203,7 +9184,7 @@ "Title": "Class1.Issue8696Attribute", "Children": [], "Destination": { - "PageNumber": 41, + "PageNumber": 40, "Type": 2, "Coordinates": { "Top": 0 @@ -9214,7 +9195,7 @@ "Title": "Class1.Issue8948", "Children": [], "Destination": { - "PageNumber": 43, + "PageNumber": 42, "Type": 2, "Coordinates": { "Top": 0 @@ -9225,7 +9206,7 @@ "Title": "Class1.Issue9260", "Children": [], "Destination": { - "PageNumber": 44, + "PageNumber": 43, "Type": 2, "Coordinates": { "Top": 0 @@ -9236,7 +9217,7 @@ "Title": "Class1.Test", "Children": [], "Destination": { - "PageNumber": 45, + "PageNumber": 44, "Type": 2, "Coordinates": { "Top": 0 @@ -9247,7 +9228,7 @@ "Title": "Dog", "Children": [], "Destination": { - "PageNumber": 46, + "PageNumber": 45, "Type": 2, "Coordinates": { "Top": 0 @@ -9258,7 +9239,7 @@ "Title": "IInheritdoc", "Children": [], "Destination": { - "PageNumber": 48, + "PageNumber": 47, "Type": 2, "Coordinates": { "Top": 0 @@ -9269,7 +9250,7 @@ "Title": "Inheritdoc", "Children": [], "Destination": { - "PageNumber": 49, + "PageNumber": 48, "Type": 2, "Coordinates": { "Top": 0 @@ -9280,7 +9261,7 @@ "Title": "Inheritdoc.Issue6366", "Children": [], "Destination": { - "PageNumber": 51, + "PageNumber": 50, "Type": 2, "Coordinates": { "Top": 0 @@ -9291,7 +9272,7 @@ "Title": "Inheritdoc.Issue6366.Class1", "Children": [], "Destination": { - "PageNumber": 52, + "PageNumber": 51, "Type": 2, "Coordinates": { "Top": 0 @@ -9302,7 +9283,7 @@ "Title": "Inheritdoc.Issue6366.Class2", "Children": [], "Destination": { - "PageNumber": 54, + "PageNumber": 53, "Type": 2, "Coordinates": { "Top": 0 @@ -9313,7 +9294,7 @@ "Title": "Inheritdoc.Issue7035", "Children": [], "Destination": { - "PageNumber": 55, + "PageNumber": 54, "Type": 2, "Coordinates": { "Top": 0 @@ -9324,7 +9305,7 @@ "Title": "Inheritdoc.Issue7484", "Children": [], "Destination": { - "PageNumber": 56, + "PageNumber": 55, "Type": 2, "Coordinates": { "Top": 0 @@ -9335,7 +9316,7 @@ "Title": "Inheritdoc.Issue8101", "Children": [], "Destination": { - "PageNumber": 58, + "PageNumber": 57, "Type": 2, "Coordinates": { "Top": 0 @@ -9346,7 +9327,7 @@ "Title": "Inheritdoc.Issue8129", "Children": [], "Destination": { - "PageNumber": 60, + "PageNumber": 59, "Type": 2, "Coordinates": { "Top": 0 @@ -9357,7 +9338,7 @@ "Title": "Issue8725", "Children": [], "Destination": { - "PageNumber": 61, + "PageNumber": 60, "Type": 2, "Coordinates": { "Top": 0 @@ -9366,7 +9347,7 @@ } ], "Destination": { - "PageNumber": 25, + "PageNumber": 24, "Type": 2, "Coordinates": { "Top": 0 @@ -9380,7 +9361,7 @@ "Title": "BaseClass1", "Children": [], "Destination": { - "PageNumber": 63, + "PageNumber": 62, "Type": 2, "Coordinates": { "Top": 0 @@ -9391,7 +9372,7 @@ "Title": "Class1", "Children": [], "Destination": { - "PageNumber": 64, + "PageNumber": 63, "Type": 2, "Coordinates": { "Top": 0 @@ -9400,7 +9381,7 @@ } ], "Destination": { - "PageNumber": 62, + "PageNumber": 61, "Type": 2, "Coordinates": { "Top": 0 @@ -9417,7 +9398,7 @@ "Title": "ContainersRefType", "Children": [], "Destination": { - "PageNumber": 69, + "PageNumber": 68, "Type": 2, "Coordinates": { "Top": 0 @@ -9428,7 +9409,7 @@ "Title": "ContainersRefType.ColorType", "Children": [], "Destination": { - "PageNumber": 71, + "PageNumber": 70, "Type": 2, "Coordinates": { "Top": 0 @@ -9439,7 +9420,7 @@ "Title": "ContainersRefType.ContainersRefTypeChild", "Children": [], "Destination": { - "PageNumber": 72, + "PageNumber": 71, "Type": 2, "Coordinates": { "Top": 0 @@ -9450,7 +9431,7 @@ "Title": "ContainersRefType.ContainersRefTypeChildInterface", "Children": [], "Destination": { - "PageNumber": 73, + "PageNumber": 72, "Type": 2, "Coordinates": { "Top": 0 @@ -9461,7 +9442,7 @@ "Title": "ContainersRefType.ContainersRefTypeDelegate", "Children": [], "Destination": { - "PageNumber": 74, + "PageNumber": 73, "Type": 2, "Coordinates": { "Top": 0 @@ -9472,7 +9453,7 @@ "Title": "ExplicitLayoutClass", "Children": [], "Destination": { - "PageNumber": 75, + "PageNumber": 74, "Type": 2, "Coordinates": { "Top": 0 @@ -9483,7 +9464,7 @@ "Title": "Issue231", "Children": [], "Destination": { - "PageNumber": 76, + "PageNumber": 75, "Type": 2, "Coordinates": { "Top": 0 @@ -9492,7 +9473,7 @@ } ], "Destination": { - "PageNumber": 68, + "PageNumber": 67, "Type": 2, "Coordinates": { "Top": 0 @@ -9503,7 +9484,7 @@ "Title": "CatException", "Children": [], "Destination": { - "PageNumber": 77, + "PageNumber": 76, "Type": 2, "Coordinates": { "Top": 0 @@ -9514,7 +9495,7 @@ "Title": "Cat", "Children": [], "Destination": { - "PageNumber": 78, + "PageNumber": 77, "Type": 2, "Coordinates": { "Top": 0 @@ -9525,7 +9506,7 @@ "Title": "Complex", "Children": [], "Destination": { - "PageNumber": 87, + "PageNumber": 86, "Type": 2, "Coordinates": { "Top": 0 @@ -9536,7 +9517,7 @@ "Title": "FakeDelegate", "Children": [], "Destination": { - "PageNumber": 88, + "PageNumber": 87, "Type": 2, "Coordinates": { "Top": 0 @@ -9547,7 +9528,7 @@ "Title": "IAnimal", "Children": [], "Destination": { - "PageNumber": 89, + "PageNumber": 88, "Type": 2, "Coordinates": { "Top": 0 @@ -9558,7 +9539,7 @@ "Title": "ICat", "Children": [], "Destination": { - "PageNumber": 92, + "PageNumber": 91, "Type": 2, "Coordinates": { "Top": 0 @@ -9569,7 +9550,7 @@ "Title": "ICatExtension", "Children": [], "Destination": { - "PageNumber": 93, + "PageNumber": 92, "Type": 2, "Coordinates": { "Top": 0 @@ -9580,7 +9561,7 @@ "Title": "MRefDelegate", "Children": [], "Destination": { - "PageNumber": 95, + "PageNumber": 94, "Type": 2, "Coordinates": { "Top": 0 @@ -9591,7 +9572,7 @@ "Title": "MRefNormalDelegate", "Children": [], "Destination": { - "PageNumber": 96, + "PageNumber": 95, "Type": 2, "Coordinates": { "Top": 0 @@ -9602,7 +9583,7 @@ "Title": "Tom", "Children": [], "Destination": { - "PageNumber": 97, + "PageNumber": 96, "Type": 2, "Coordinates": { "Top": 0 @@ -9613,7 +9594,7 @@ "Title": "TomFromBaseClass", "Children": [], "Destination": { - "PageNumber": 99, + "PageNumber": 98, "Type": 2, "Coordinates": { "Top": 0 @@ -9622,7 +9603,7 @@ } ], "Destination": { - "PageNumber": 66, + "PageNumber": 65, "Type": 2, "Coordinates": { "Top": 0 @@ -9636,7 +9617,7 @@ "Title": "ColorType", "Children": [], "Destination": { - "PageNumber": 101, + "PageNumber": 100, "Type": 2, "Coordinates": { "Top": 0 @@ -9645,7 +9626,7 @@ } ], "Destination": { - "PageNumber": 100, + "PageNumber": 99, "Type": 2, "Coordinates": { "Top": 0 @@ -9654,7 +9635,7 @@ } ], "Destination": { - "PageNumber": 20, + "PageNumber": 19, "Type": 2, "Coordinates": { "Top": 0 @@ -9668,7 +9649,7 @@ "Title": "Pet Store API", "Children": [], "Destination": { - "PageNumber": 102, + "PageNumber": 101, "Type": 2, "Coordinates": { "Top": 0 @@ -9679,7 +9660,7 @@ "Title": "Contacts API", "Children": [], "Destination": { - "PageNumber": 117, + "PageNumber": 116, "Type": 2, "Coordinates": { "Top": 0 @@ -9688,7 +9669,7 @@ } ], "Destination": { - "PageNumber": 102, + "PageNumber": 101, "Type": 2, "Coordinates": { "Top": 0 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/contacts.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/contacts.html.view.verified.json index 53a2b849b94..a5d5eecd038 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/contacts.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/contacts.html.view.verified.json @@ -42,8 +42,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contacts.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contacts%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -99,8 +99,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_by_id.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20by%20id%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -402,8 +402,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_update_contact.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fupdate%20contact%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -453,8 +453,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_delete_contact.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fdelete%20contact%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -520,8 +520,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_manager_link.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20manager%20link%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -592,8 +592,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_update_contact_manager.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fupdate%20contact%20manager%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -643,8 +643,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_delete_contact_manager_by_id.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fdelete%20contact%20manager%20by%20id%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -700,8 +700,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_direct_reports_links.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20direct%20reports%20links%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -757,8 +757,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_memberOf_links.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20memberOf%20links%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/contacts_swagger2.json/#L1", @@ -781,8 +781,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/petstore.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/petstore.html.view.verified.json index 41f785e7897..d3850989ff5 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/petstore.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/petstore.html.view.verified.json @@ -185,8 +185,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "footer": "\n
    \n

    NOTE: Add pet only when you needs.

    \n
    \n", "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_addPet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FaddPet%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", @@ -376,8 +376,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_updatePet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FupdatePet%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -529,8 +529,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_findPetsByStatus.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FfindPetsByStatus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -677,8 +677,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_findPetsByTags.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FfindPetsByTags%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -742,8 +742,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_deletePet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FdeletePet%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -928,8 +928,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getPetById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetPetById%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1000,8 +1000,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_updatePetWithForm.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FupdatePetWithForm%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1101,8 +1101,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_uploadFile.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FuploadFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1295,8 +1295,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "footer": "\n
    \n

    NOTE: Add pet only when you needs.

    \n
    \n", "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_addPet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FaddPet%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", @@ -1344,8 +1344,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getInventory.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetInventory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1519,8 +1519,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_placeOrder.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FplaceOrder%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1542,7 +1542,7 @@ "name": "orderId", "format": "int64", "in": "path", - "minimum": 1.0, + "minimum": 1, "required": true, "type": "integer" } @@ -1571,8 +1571,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_deleteOrder.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FdeleteOrder%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1594,8 +1594,8 @@ "name": "orderId", "format": "int64", "in": "path", - "maximum": 10.0, - "minimum": 1.0, + "maximum": 10, + "minimum": 1, "required": true, "type": "integer" } @@ -1691,8 +1691,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getOrderById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetOrderById%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1817,8 +1817,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUser%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1904,8 +1904,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUsersWithArrayInput.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUsersWithArrayInput%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -1991,8 +1991,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUsersWithListInput.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUsersWithListInput%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -2063,8 +2063,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_loginUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FloginUser%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -2101,8 +2101,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_logoutUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FlogoutUser%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -2151,8 +2151,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_deleteUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FdeleteUser%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -2274,8 +2274,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getUserByName.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetUserByName%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -2402,8 +2402,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_updateUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FupdateUser%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/restapi/petstore.swagger.json/#L1", @@ -2447,8 +2447,8 @@ "branch": "main", "repo": "https://github.com/dotnet/docfx" }, - "startLine": 0.0, - "endLine": 0.0 + "startLine": 0, + "endLine": 0 }, "_appName": "Seed", "_appTitle": "docfx seed website", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.html.view.verified.json index 8b2b3523dc8..9299a65565d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.html.view.verified.json @@ -1,12 +1,12 @@ { - "order": 100.0, + "order": 100, "items": [ { "name": "Pet Store API", "href": "petstore.html", "topicHref": "petstore.html", "tocHref": null, - "level": 2.0, + "level": 2, "items": [], "leaf": true }, @@ -15,7 +15,7 @@ "href": "contacts.html", "topicHref": "contacts.html", "tocHref": null, - "level": 2.0, + "level": 2, "items": [], "leaf": true } @@ -37,7 +37,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.pdf.verified.json index 0fba6d54726..28c70e7a252 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/restapi/toc.pdf.verified.json @@ -1,5 +1,5 @@ { - "NumberOfPages": 27, + "NumberOfPages": 26, "Pages": [ { "Number": 1, @@ -27,7 +27,7 @@ }, { "Number": 2, - "Text": "2 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Swagger PetstoreDescribe APIs in Pet StorepetDescription for pet tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.UpdatePetUpdate an existing petRequestParametersPOST /petPUT /pet", + "Text": "2 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Swagger PetstoreDescribe APIs in Pet StorepetDescription for pet tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.UpdatePetUpdate an existing petRequestParametersPOST /petPUT /pet", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_addPet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FaddPet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -78,7 +78,7 @@ }, { "Number": 3, - "Text": "3 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Pet not found405Validation exceptionFindPetsByStatusFinds Pets by statusMultiple status values can be provided with comma separated stringsRequestParametersNameTypeDefaultNotes*statusStatus values that need to be considered for filterResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid status valueFindPetsByTagsGET /pet/findByStatus?status", + "Text": "3 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Pet not found405Validation exceptionFindPetsByStatusFinds Pets by statusMultiple status values can be provided with comma separated stringsRequestParametersNameTypeDefaultNotes*statusStatus values that need to be considered for filterResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid status valueFindPetsByTagsGET /pet/findByStatus?status", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_findPetsByStatus.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FfindPetsByStatus%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -138,7 +138,7 @@ }, { "Number": 4, - "Text": "4 / 27| Improve this Doc\uF1C5View Source\uF1C5Finds Pets by tagsMuliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 fortesting.RequestParametersNameTypeDefaultNotes*tagsTags to filter byResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid tag valueDeletePetDeletes a petRequestParametersNameTypeDefaultNotesapi_key*petIdPet id to deleteResponsesGET /pet/findByTags?tagsDELETE /pet/{petId}", + "Text": "4 / 26| Improve this Doc\uF1C5View Source\uF1C5Finds Pets by tagsMuliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.RequestParametersNameTypeDefaultNotes*tagsTags to filter byResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid tag valueDeletePetDeletes a petRequestParametersNameTypeDefaultNotesapi_key*petIdPet id to deleteResponsesGET /pet/findByTags?tagsDELETE /pet/{petId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_deletePet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FdeletePet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -171,7 +171,7 @@ }, { "Number": 5, - "Text": "5 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid ID supplied404Pet not foundGetPetByIdFind pet by IDReturns a single petRequestParametersNameTypeDefaultNotes*petIdID of pet to returnResponsesStatus CodeTypeDescriptionSamples200Petsuccessful operation400Invalid ID supplied404Pet not foundUpdatePetWithFormUpdates a pet in the store with form dataRequestGET /pet/{petId}POST /pet/{petId}", + "Text": "5 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid ID supplied404Pet not foundGetPetByIdFind pet by IDReturns a single petRequestParametersNameTypeDefaultNotes*petIdID of pet to returnResponsesStatus CodeTypeDescriptionSamples200Petsuccessful operation400Invalid ID supplied404Pet not foundUpdatePetWithFormUpdates a pet in the store with form dataRequestGET /pet/{petId}POST /pet/{petId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getPetById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetPetById%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -222,7 +222,7 @@ }, { "Number": 6, - "Text": "6 / 27| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*petIdID of pet that needs to be updatednameUpdated name of the petstatusUpdated status of the petResponsesStatus CodeTypeDescriptionSamples405Invalid inputUploadFileuploads an imageRequestParametersNameTypeDefaultNotes*petIdID of pet to updateadditionalMetadataAdditional data to pass to serverfilefile to uploadResponsesStatus CodeTypeDescriptionSamples200ApiResponsesuccessful operationPOST /pet/{petId}/uploadImage", + "Text": "6 / 26| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*petIdID of pet that needs to be updatednameUpdated name of the petstatusUpdated status of the petResponsesStatus CodeTypeDescriptionSamples405Invalid inputUploadFileuploads an imageRequestParametersNameTypeDefaultNotes*petIdID of pet to updateadditionalMetadataAdditional data to pass to serverfilefile to uploadResponsesStatus CodeTypeDescriptionSamples200ApiResponsesuccessful operationPOST /pet/{petId}/uploadImage", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_uploadFile.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FuploadFile%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -264,7 +264,7 @@ }, { "Number": 7, - "Text": "7 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5storeAccess to Petstore ordersAdditional description for store tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.GetInventoryReturns pet inventories by statusReturns a map of status codes to quantitiesRequestResponsesPOST /petGET /store/inventory", + "Text": "7 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5storeAccess to Petstore ordersAdditional description for store tagAddPetAdd a new pet to the storeRequestParametersNameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples405Invalid inputNOTE: Add pet only when you needs.GetInventoryReturns pet inventories by statusReturns a map of status codes to quantitiesRequestResponsesPOST /petGET /store/inventory", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_addPet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FaddPet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -315,7 +315,7 @@ }, { "Number": 8, - "Text": "8 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples200objectsuccessful operationPlaceOrderPlace an order for a petRequestParametersNameTypeDefaultNotes*bodyOrderorder placed for purchasing the petResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid OrderDeleteOrderDelete purchase order by IDFor valid response try integer IDs with positive integer value. Negative or non-integervalues will generate API errorsRequestParametersPOST /store/orderDELETE /store/order/{orderId}", + "Text": "8 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples200objectsuccessful operationPlaceOrderPlace an order for a petRequestParametersNameTypeDefaultNotes*bodyOrderorder placed for purchasing the petResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid OrderDeleteOrderDelete purchase order by IDFor valid response try integer IDs with positive integer value. Negative or non-integer values willgenerate API errorsRequestParametersPOST /store/orderDELETE /store/order/{orderId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_placeOrder.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FplaceOrder%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -375,7 +375,7 @@ }, { "Number": 9, - "Text": "9 / 27| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*orderIdID of the order that needs to be deletedResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Order not foundGetOrderByIdFind purchase order by IDFor valid response try integer IDs with value >= 1 and <= 10. Other values will generatedexceptionsRequestParametersNameTypeDefaultNotes*orderIdID of pet that needs to be fetchedResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid ID supplied404Order not foundGET /store/order/{orderId}", + "Text": "9 / 26| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*orderIdID of the order that needs to be deletedResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Order not foundGetOrderByIdFind purchase order by IDFor valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptionsRequestParametersNameTypeDefaultNotes*orderIdID of pet that needs to be fetchedResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid ID supplied404Order not founduserGET /store/order/{orderId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getOrderById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetOrderById%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -408,7 +408,7 @@ }, { "Number": 10, - "Text": "10 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5userOperations about userCreateUserCreate userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*bodyUserCreated user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithArrayInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesPOST /userPOST /user/createWithArray", + "Text": "10 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Operations about userCreateUserCreate userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*bodyUserCreated user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithArrayInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesPOST /userPOST /user/createWithArray", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUser%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -468,7 +468,7 @@ }, { "Number": 11, - "Text": "11 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithListInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationLoginUserLogs user into the systemRequestParametersNameTypeDefaultNotes*usernameThe user name for login*passwordThe password for login in clear textPOST /user/createWithListGET /user/login?username&password", + "Text": "11 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithListInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationLoginUserLogs user into the systemRequestParametersNameTypeDefaultNotes*usernameThe user name for login*passwordThe password for login in clear textPOST /user/createWithListGET /user/login?username&password", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUsersWithListInput.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUsersWithListInput%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -519,7 +519,7 @@ }, { "Number": 12, - "Text": "12 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ResponsesStatus CodeTypeDescriptionSamples200stringsuccessful operation400Invalid username/password suppliedLogoutUserLogs out current logged in user sessionRequestResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationDeleteUserDelete userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*usernameThe name that needs to be deletedResponsesGET /user/logoutDELETE /user/{username}", + "Text": "12 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ResponsesStatus CodeTypeDescriptionSamples200stringsuccessful operation400Invalid username/password suppliedLogoutUserLogs out current logged in user sessionRequestResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationDeleteUserDelete userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*usernameThe name that needs to be deletedResponsesGET /user/logoutDELETE /user/{username}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_logoutUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FlogoutUser%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -561,7 +561,7 @@ }, { "Number": 13, - "Text": "13 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid username supplied404User not foundGetUserByNameGet user by user nameRequestParametersNameTypeDefaultNotes*usernameThe name that needs to be fetched. Use user1 for testing.ResponsesStatus CodeTypeDescriptionSamples200Usersuccessful operation400Invalid username supplied404User not foundOther APIsUpdateUserUpdated userThis can only be done by the logged in user.RequestGET /user/{username}", + "Text": "13 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples400Invalid username supplied404User not foundGetUserByNameGet user by user nameRequestParametersNameTypeDefaultNotes*usernameThe name that needs to be fetched. Use user1 for testing.ResponsesStatus CodeTypeDescriptionSamples200Usersuccessful operation400Invalid username supplied404User not foundOther APIsUpdateUserUpdated userThis can only be done by the logged in user.RequestGET /user/{username}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getUserByName.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetUserByName%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -612,7 +612,7 @@ }, { "Number": 14, - "Text": "14 / 27ParametersNameTypeDefaultNotes*usernamename that need to be updated*bodyUserUpdated user objectResponsesStatus CodeTypeDescriptionSamples400Invalid user supplied404User not foundDefinitionsPetNameTypeNotescategoryCategory[]idinteger (int64)namestringphotoUrlsarraystatusstringpet status in the storetagsTag[]CategoryPUT /user/{username}", + "Text": "14 / 26ParametersNameTypeDefaultNotes*usernamename that need to be updated*bodyUserUpdated user objectResponsesStatus CodeTypeDescriptionSamples400Invalid user supplied404User not foundDefinitionsPetNameTypeNotescategoryCategory[]idinteger (int64)namestringphotoUrlsarraystatusstringpet status in the storetagsTag[]CategoryPUT /user/{username}", "Links": [ { "Goto": { @@ -645,12 +645,12 @@ }, { "Number": 15, - "Text": "15 / 27NameTypeNotesidinteger (int64)namestringTagNameTypeNotesidinteger (int64)namestringApiResponseNameTypeNotescodeinteger (int32)messagestringtypestringOrderNameTypeNotescompletebooleanidinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder StatusUser", + "Text": "15 / 26NameTypeNotesidinteger (int64)namestringTagNameTypeNotesidinteger (int64)namestringApiResponseNameTypeNotescodeinteger (int32)messagestringtypestringOrderNameTypeNotescompletebooleanidinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder StatusUser", "Links": [] }, { "Number": 16, - "Text": "16 / 27NameTypeNotesemailstringfirstNamestringidinteger (int64)lastNamestringpasswordstringphonestringuserStatusinteger (int32)User StatususernamestringSee AlsosSee other REST APIs:Contacts API", + "Text": "16 / 26NameTypeNotesemailstringfirstNamestringidinteger (int64)lastNamestringpasswordstringphonestringuserStatusinteger (int32)User StatususernamestringSee AlsosSee other REST APIs:Contacts API", "Links": [ { "Goto": { @@ -665,7 +665,7 @@ }, { "Number": 17, - "Text": "17 / 27| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ContactsGet ContactsYou can get a collection of contacts from your tenant.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented as datestrings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Theresults arereturned intheresponsebody.Mime type: application/jsonGet Contact By IdGet a contact by using the object ID.Required scope: Contacts.Read or Contacts.WriteGET /contacts?api-version{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"value\": [ { \"odata.type\": \"Microsoft.DirectoryServices.Contac \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9 \"deletionTimestamp\": null,", + "Text": "17 / 26| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5ContactsGet ContactsYou can get a collection of contacts from your tenant.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*api-version1.6The version of the Graph API to target. Beginning with version 1.5, theapi-version string is represented in major.minor format. Prior releaseswere represented as date strings: '2013-11-08' and '2013-04-05'.Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Theresults arereturned intheresponsebody.Mime type: application/jsonGet Contact By IdGet a contact by using the object ID.Required scope: Contacts.Read or Contacts.WriteGET /contacts?api-version{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"value\": [ { \"odata.type\": \"Microsoft.DirectoryServices.Contact\", \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9\", \"deletionTimestamp\": null,", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contacts.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contacts%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -707,7 +707,7 @@ }, { "Number": 18, - "Text": "18 / 27| Improve this Doc\uF1C5View Source\uF1C5RequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6Specifies the version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Thecontact isreturned intheresponsebody.Mime type: application/jsonUpdate ContactChange a contact's properties.Required scope: Contacts.WriteRequestGET /contacts/{object_id}?api-version{ \"odata.metadata\": \"https://graph.windows.net/graphdir1.onmicrosoft.com/$m \"odata.type\": \"Microsoft.DirectoryServices.Contact\", \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9\", \"deletionTimestamp\": null, \"city\": null, \"companyName\": null,", + "Text": "18 / 26| Improve this Doc\uF1C5View Source\uF1C5RequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6Specifies the version of the Graph API to target. Beginningwith version 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Thecontact isreturned intheresponsebody.Mime type: application/jsonUpdate ContactChange a contact's properties.Required scope: Contacts.WriteRequestGET /contacts/{object_id}?api-version{ \"odata.metadata\": \"https://graph.windows.net/graphdir1.onmicrosoft.com/$metadata#di \"odata.type\": \"Microsoft.DirectoryServices.Contact\", \"objectType\": \"Contact\", \"objectId\": \"31944231-fd52-4a7f-b32e-7902a01fddf9\", \"deletionTimestamp\": null, \"city\": null, \"companyName\": null,PATCH /contacts/{object_id}?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_update_contact.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fupdate%20contact%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -731,7 +731,7 @@ }, { "Number": 19, - "Text": "19 / 27| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-versionstring is represented in major.minor format.Prior releases were represented as datestrings: '2013-11-08' and '2013-04-05'.Required.bodyparamcontactthis is request body, not real parameterResponsesStatusCodeTypeDescriptionSamples204No Content. Indicates success. No response body isreturned.Delete ContactDelete a contact.Required scope: Contacts.WriteRequestParametersPATCH /contacts/{object_id}?api-versionDELETE /contacts/{object_id}[?api-version]", + "Text": "19 / 26| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.bodyparamcontactthis is request body, not real parameterResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success. No response body is returned.Delete ContactDelete a contact.Required scope: Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.api-version1.6Specifies the version of the Graph API to target. Beginningwith version 1.5, the api-version string is represented inDELETE /contacts/{object_id}[?api-version]", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_delete_contact.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fdelete%20contact%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -756,7 +756,7 @@ "PageNumber": 25, "Coordinates": { "Left": 0, - "Top": 324.75 + "Top": 495 } } } @@ -764,7 +764,7 @@ }, { "Number": 20, - "Text": "20 / 27| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*object_id7163f3b8-70c9-43d2-b9e1-4467ddaf087aThe object ID (GUID) of the target contact.api-version1.6Specifies the version of the Graph API to target.Beginning with version 1.5, the api-versionstring is represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success.Get Contact Manager LinkGet a link to the contact's manager.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.GET /contacts/{object_id}/$links/manager?api-version", + "Text": "20 / 26| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotesmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success.Get Contact Manager LinkGet a link to the contact's manager.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. AMime type: application/jsonGET /contacts/{object_id}/$links/manager?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_manager_link.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20manager%20link%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -788,7 +788,7 @@ }, { "Number": 21, - "Text": "21 / 27| Improve this Doc\uF1C5View Source\uF1C5ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess. Alink to thecontact'smanager isreturned.Mime type: application/json404Not Found.Therequestedresourcewas notfound. Thiscan occur ifthe managerproperty isnot currentlyset for thespecifiedcontact. Itcan alsohave othercauses, forexample, abad domain.A code andassociatedmessage isreturnedwith theerror.Mime type: application/jsonUpdate Contact Manager{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"url\": \"https://graph.windows.net/myorganization/dire4c4a-93b2-03f065fabd93/Microsoft.WindowsAzure.ActiveDir}{ \"odata.error\": { \"code\": \"Request_ResourceNotFound\", \"message\": { \"lang\": \"en\", \"value\": \"Resource not found for the segment 'man } }}", + "Text": "21 / 26| Improve this Doc\uF1C5View Source\uF1C5StatusCodeTypeDescriptionSampleslink to thecontact'smanager isreturned.404Not Found.Therequestedresourcewas notfound. Thiscan occur ifthemanagerproperty isnotcurrentlyset for thespecifiedcontact. Itcan alsohave othercauses, forexample, abaddomain. Acode andassociatedmessage isreturnedwith theerror.Mime type: application/jsonUpdate Contact Manager{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"url\": \"https://graph.windows.net/myorganization/directoryObjec4c4a-93b2-03f065fabd93/Microsoft.WindowsAzure.ActiveDirectory.Con}{ \"odata.error\": { \"code\": \"Request_ResourceNotFound\", \"message\": { \"lang\": \"en\", \"value\": \"Resource not found for the segment 'manager'.\" } }}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_update_contact_manager.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fupdate%20contact%20manager%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -812,7 +812,7 @@ }, { "Number": 22, - "Text": "22 / 27| Improve this Doc\uF1C5View Source\uF1C5Update the contact's managerRequired scope: Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-versionstring is represented in major.minor format.Prior releases were represented as datestrings: '2013-11-08' and '2013-04-05'.Required.*bodyparamThe request body contains a single propertythat specifies the URL of the user or contact toadd as manager.ResponsesStatusCodeTypeDescriptionSamples204No Content. Indicates success. No response body isreturned.Delete Contact Manager By IdDelete the contact's manager.Required scope: Contacts.WriteRequestPUT /contacts/{object_id}/$links/manager?api-version", + "Text": "22 / 26| Improve this Doc\uF1C5View Source\uF1C5Update the contact's managerRequired scope: Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.*bodyparamThe request body contains a single property thatspecifies the URL of the user or contact to add asmanager.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success. No response body is returned.Delete Contact Manager By IdDelete the contact's manager.Required scope: Contacts.WriteRequestParametersPUT /contacts/{object_id}/$links/manager?api-versionDELETE /contacts/{object_id}/$links/manager?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_delete_contact_manager_by_id.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fdelete%20contact%20manager%20by%20id%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -836,7 +836,7 @@ }, { "Number": 23, - "Text": "23 / 27| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples204No Content. Indicates success. N response body isreturned.Get Contact Direct Reports LinksGet a links to the contact's direct reports.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.DELETE /contacts/{object_id}/$links/manager?api-versionGET /contacts/{object_id}/$links/directReports?api-version", + "Text": "23 / 26| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesStatus CodeTypeDescriptionSamples204No Content. Indicates success. N response body is returned.Get Contact Direct Reports LinksGet a links to the contact's direct reports.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.ResponsesGET /contacts/{object_id}/$links/directReports?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_direct_reports_links.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20direct%20reports%20links%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -860,7 +860,7 @@ }, { "Number": 24, - "Text": "24 / 27| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One or moredirectreports arereturned.Mime type: application/jsonGet Contact MemberOf LinksGet a links to the contact's direct group and directory role memberships.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/4e26-b24f-c830606ef41c/Microsoft.DirectoryServices.Cont } ]GET /contacts/{object_id}/$links/memberOf?api-version", + "Text": "24 / 26| Improve this Doc\uF1C5View Source\uF1C5StatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One ormore directreports arereturned.Mime type: application/jsonGet Contact MemberOf LinksGet a links to the contact's direct group and directory role memberships.Required scope: Contacts.Read or Contacts.WriteRequestParametersNameTypeDefaultNotes*object_id31944231-fd52-4a7f-b32e-7902a01fddf9The object ID (GUID) of the target contact.*api-version1.6The version of the Graph API to target. Beginning withversion 1.5, the api-version string is represented inmajor.minor format. Prior releases were represented asdate strings: '2013-11-08' and '2013-04-05'. Required.Responses{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/directoryOb24f-c830606ef41c/Microsoft.DirectoryServices.Contact\" } ]GET /contacts/{object_id}/$links/memberOf?api-version", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=graph_windows_net_myorganization_Contacts_1_6_get_contact_memberOf_links.md&value=---%0Auid%3A%20graph.windows.net%2Fmyorganization%2FContacts%2F1.6%2Fget%20contact%20memberOf%20links%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -884,19 +884,19 @@ }, { "Number": 25, - "Text": "25 / 27NameTypeDefaultNotes*api-version1.6The version of the Graph API to target.Beginning with version 1.5, the api-version stringis represented in major.minor format. Priorreleases were represented as date strings:'2013-11-08' and '2013-04-05'. Required.ResponsesStatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One or moregroupsand/ordirectoryroles arereturned.Mime type: application/jsonDefinitionsContactNameTypeNotesobjectTypestringobjectIdstringdeletionTimestampstring (date-time)citystringcountrystringdepartmentstring{ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#dir \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/b942-47c9-a10e-a4bee353ce60/Microsoft.DirectoryServices } ]", + "Text": "25 / 26StatusCodeTypeDescriptionSamples200OK.Indicatessuccess.One ormoregroupsand/ordirectoryroles arereturned.Mime type: application/jsonDefinitionsContactNameTypeNotesobjectTypestringobjectIdstringdeletionTimestampstring (date-time)citystringcountrystringdepartmentstringdirSyncEnabledbooleandisplayNamestringfacsimileTelephoneNumberstringgivenNamestringjobTitlestringlastDirSyncTimestring (date-time){ \"odata.metadata\": \"https://graph.windows.net/myorganization/$metadata#directoryObje \"value\": [ { \"url\": \"https://graph.windows.net/myorganization/directoryO47c9-a10e-a4bee353ce60/Microsoft.DirectoryServices.Group\" } ]", "Links": [] }, { "Number": 26, - "Text": "26 / 27NameTypeNotesdirSyncEnabledbooleandisplayNamestringfacsimileTelephoneNumberstringgivenNamestringjobTitlestringlastDirSyncTimestring (date-time)mailstringmailNicknamestringmobilestringphysicalDeliveryOfficeNamestringpostalCodestringprovisioningErrorsProvisioningError[]proxyAddressesarraysipProxyAddressstringstatestringstreetAddressstringsurnamestringtelephoneNumberstringthumbnailPhotostringProvisioningErrorNameTypeNoteserrorDetailstring", + "Text": "26 / 26NameTypeNotesmailstringmailNicknamestringmobilestringphysicalDeliveryOfficeNamestringpostalCodestringprovisioningErrorsProvisioningError[]proxyAddressesarraysipProxyAddressstringstatestringstreetAddressstringsurnamestringtelephoneNumberstringthumbnailPhotostringProvisioningErrorNameTypeNoteserrorDetailstringresolvedbooleanserviceInstancestringtimestampstring (date-time)", "Links": [ { "Goto": { "PageNumber": 26, "Coordinates": { "Left": 0, - "Top": 164.25 + "Top": 348.75 } } }, @@ -905,16 +905,11 @@ "PageNumber": 26, "Coordinates": { "Left": 0, - "Top": 164.25 + "Top": 348.75 } } } ] - }, - { - "Number": 27, - "Text": "27 / 27NameTypeNotesresolvedbooleanserviceInstancestringtimestampstring (date-time)", - "Links": [] } ], "Bookmarks": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json index 37c679027e7..f9875c67eb2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json @@ -5,7 +5,7 @@ "href": "index.html", "topicHref": "index.html", "tocHref": null, - "level": 2.0, + "level": 2, "items": [], "leaf": true }, @@ -14,7 +14,7 @@ "href": "articles/docfx_getting_started.html", "tocHref": "articles/toc.html", "topicHref": "articles/docfx_getting_started.html", - "level": 2.0, + "level": 2, "items": [], "leaf": true }, @@ -27,7 +27,7 @@ "tocHref": "api/toc.html", "topicHref": "api/BuildFromAssembly.html", "topicUid": "BuildFromAssembly", - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -36,7 +36,7 @@ "href": "md/BuildFromAssembly.html", "tocHref": "md/toc.html", "topicHref": "md/BuildFromAssembly.html", - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -45,7 +45,7 @@ "href": "apipage/BuildFromAssembly.html", "tocHref": "apipage/toc.html", "topicHref": "apipage/BuildFromAssembly.html", - "level": 3.0, + "level": 3, "items": [], "leaf": true }, @@ -54,14 +54,14 @@ "href": "restapi/petstore.html", "tocHref": "restapi/toc.html", "topicHref": "restapi/petstore.html", - "level": 3.0, + "level": 3, "items": [], "leaf": true } ], "topicHref": null, "tocHref": null, - "level": 2.0 + "level": 2 } ], "_appName": "Seed", @@ -81,7 +81,7 @@ "topicHref": null, "tocHref": null, "name": null, - "level": 1.0, + "level": 1, "leaf": false, "title": "Table of Content", "_disableToc": true diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.pdf.verified.json index 5bcf9db7018..a960a8cef14 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.pdf.verified.json @@ -63,7 +63,7 @@ }, { "Number": 2, - "Text": "2 / 22docfx-seedDescriptionThis is a sample docfx documentation project. It contains .NET source code and markdownfiles. docfx.json is the configuration file for running docfx. docfx will generate a staticwebsite as similar to http://docascode.github.io/docfx-seed.How to runUnder WindowsDownload and unzip docfx.zip to run docfx.exe directly!Run docfx under current repo! Website will be generated under _site folder.Run any web hosting tool to host _site folder, e.g. docfx serve _site.Cross platform and use dnxAs a prerequisite, you will need to install DNVM and DNX. ###Quick Startdnvm upgrade to get the latest dnvm.Add feed https://www.myget.org/F/aspnetrelease/api/v2/ to Nuget.configFor Windows, the nuget config file is %AppData%\\NuGet\\NuGet.config.For Linux/OSX, the nuget config file is ~/.config/NuGet/NuGet.config.dnu commands install docfx to install docfx as a commandRun docfx under current repo! Website will be generated under _site folder.Run any web hosting tool to host _site folder, e.g. docfx serve _site.Further information about docfxdocfx is a tool to generate documentation towards .NET source code and markdown files.Please refer to docfx to get start. The docfx website itself is generated by docfx!", + "Text": "2 / 22docfx-seedDescriptionThis is a sample docfx documentation project. It contains .NET source code and markdown files.docfx.json is the configuration file for running docfx. docfx will generate a static website as similar tohttp://docascode.github.io/docfx-seed.How to runUnder WindowsDownload and unzip docfx.zip to run docfx.exe directly!Run docfx under current repo! Website will be generated under _site folder.Run any web hosting tool to host _site folder, e.g. docfx serve _site.Cross platform and use dnxAs a prerequisite, you will need to install DNVM and DNX. ###Quick Startdnvm upgrade to get the latest dnvm.Add feed https://www.myget.org/F/aspnetrelease/api/v2/ to Nuget.configFor Windows, the nuget config file is %AppData%\\NuGet\\NuGet.config.For Linux/OSX, the nuget config file is ~/.config/NuGet/NuGet.config.dnu commands install docfx to install docfx as a commandRun docfx under current repo! Website will be generated under _site folder.Run any web hosting tool to host _site folder, e.g. docfx serve _site.Further information about docfxdocfx is a tool to generate documentation towards .NET source code and markdown files. Please refer todocfx to get start. The docfx website itself is generated by docfx!", "Links": [ { "Uri": "http://docascode.github.io/docfx-seed/index.html" @@ -100,7 +100,7 @@ }, { "Number": 4, - "Text": "4 / 22docfx is an API documentation generator for .NET, currently support C# and VB. It has theability to extract triple slash comments out from your source code. What's more, it hassyntax to link additional files to API to add additional remarks. docfx will scan your sourcecode and your additional conceptual files and generate a complete HTML documentationwebsite for you. docfx provides the flexibility for you to customize the website throughtemplates. We currently have several embedded templates, including websites containingpure static html pages and also website managed by AngularJS.Click \"View Source\" for an API to route to the source code in GitHub (your API must bepushed to GitHub)docfx provide DNX version for cross platform use.docfx can be used within Visual Studio seamlessly. NOTE offical docfx.msbuild nugetpackage is now in pre-release version. You can also build your own with source codeand use it locally.We support Docfx Flavored Markdown(DFM) for writing conceptual files. DFM is100% compatible with Github Flavored Markdown(GFM) and add several new featuresincluding file inclusion, cross reference, and yaml header.", + "Text": "4 / 22docfx is an API documentation generator for .NET, currently support C# and VB. It has the ability toextract triple slash comments out from your source code. What's more, it has syntax to link additionalfiles to API to add additional remarks. docfx will scan your source code and your additional conceptualfiles and generate a complete HTML documentation website for you. docfx provides the flexibility foryou to customize the website through templates. We currently have several embedded templates,including websites containing pure static html pages and also website managed by AngularJS.Click \"View Source\" for an API to route to the source code in GitHub (your API must be pushed toGitHub)docfx provide DNX version for cross platform use.docfx can be used within Visual Studio seamlessly. NOTE offical docfx.msbuild nuget package isnow in pre-release version. You can also build your own with source code and use it locally.We support Docfx Flavored Markdown(DFM) for writing conceptual files. DFM is 100%compatible with Github Flavored Markdown(GFM) and add several new features including fileinclusion, cross reference, and yaml header.", "Links": [] }, { @@ -192,7 +192,7 @@ }, { "Number": 9, - "Text": "9 / 22| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Pet not found405Validation exceptionFindPetsByStatusFinds Pets by statusMultiple status values can be provided with comma separated stringsRequestParametersNameTypeDefaultNotes*statusStatus values that need to be considered for filterResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid status valueFindPetsByTagsGET /pet/findByStatus?status", + "Text": "9 / 22| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*bodyPetPet object that needs to be added to the storeResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Pet not found405Validation exceptionFindPetsByStatusFinds Pets by statusMultiple status values can be provided with comma separated stringsRequestParametersNameTypeDefaultNotes*statusStatus values that need to be considered for filterResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid status valueFindPetsByTagsGET /pet/findByStatus?status", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_findPetsByStatus.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FfindPetsByStatus%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -252,7 +252,7 @@ }, { "Number": 10, - "Text": "10 / 22| Improve this Doc\uF1C5View Source\uF1C5Finds Pets by tagsMuliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 fortesting.RequestParametersNameTypeDefaultNotes*tagsTags to filter byResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid tag valueDeletePetDeletes a petRequestParametersNameTypeDefaultNotesapi_key*petIdPet id to deleteResponsesGET /pet/findByTags?tagsDELETE /pet/{petId}", + "Text": "10 / 22| Improve this Doc\uF1C5View Source\uF1C5Finds Pets by tagsMuliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.RequestParametersNameTypeDefaultNotes*tagsTags to filter byResponsesStatus CodeTypeDescriptionSamples200Pet[]successful operation400Invalid tag valueDeletePetDeletes a petRequestParametersNameTypeDefaultNotesapi_key*petIdPet id to deleteResponsesGET /pet/findByTags?tagsDELETE /pet/{petId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_deletePet.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FdeletePet%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -336,7 +336,7 @@ }, { "Number": 12, - "Text": "12 / 22| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*petIdID of pet that needs to be updatednameUpdated name of the petstatusUpdated status of the petResponsesStatus CodeTypeDescriptionSamples405Invalid inputUploadFileuploads an imageRequestParametersNameTypeDefaultNotes*petIdID of pet to updateadditionalMetadataAdditional data to pass to serverfilefile to uploadResponsesStatus CodeTypeDescriptionSamples200ApiResponsesuccessful operationPOST /pet/{petId}/uploadImage", + "Text": "12 / 22| Improve this Doc\uF1C5View Source\uF1C5ParametersNameTypeDefaultNotes*petIdID of pet that needs to be updatednameUpdated name of the petstatusUpdated status of the petResponsesStatus CodeTypeDescriptionSamples405Invalid inputUploadFileuploads an imageRequestParametersNameTypeDefaultNotes*petIdID of pet to updateadditionalMetadataAdditional data to pass to serverfilefile to uploadResponsesStatus CodeTypeDescriptionSamples200ApiResponsesuccessful operationPOST /pet/{petId}/uploadImage", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_uploadFile.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FuploadFile%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -429,7 +429,7 @@ }, { "Number": 14, - "Text": "14 / 22| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples200objectsuccessful operationPlaceOrderPlace an order for a petRequestParametersNameTypeDefaultNotes*bodyOrderorder placed for purchasing the petResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid OrderDeleteOrderDelete purchase order by IDFor valid response try integer IDs with positive integer value. Negative or non-integervalues will generate API errorsRequestParametersPOST /store/orderDELETE /store/order/{orderId}", + "Text": "14 / 22| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Status CodeTypeDescriptionSamples200objectsuccessful operationPlaceOrderPlace an order for a petRequestParametersNameTypeDefaultNotes*bodyOrderorder placed for purchasing the petResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid OrderDeleteOrderDelete purchase order by IDFor valid response try integer IDs with positive integer value. Negative or non-integer values willgenerate API errorsRequestParametersPOST /store/orderDELETE /store/order/{orderId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_placeOrder.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FplaceOrder%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -489,7 +489,7 @@ }, { "Number": 15, - "Text": "15 / 22| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*orderIdID of the order that needs to be deletedResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Order not foundGetOrderByIdFind purchase order by IDFor valid response try integer IDs with value >= 1 and <= 10. Other values will generatedexceptionsRequestParametersNameTypeDefaultNotes*orderIdID of pet that needs to be fetchedResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid ID supplied404Order not foundGET /store/order/{orderId}", + "Text": "15 / 22| Improve this Doc\uF1C5View Source\uF1C5NameTypeDefaultNotes*orderIdID of the order that needs to be deletedResponsesStatus CodeTypeDescriptionSamples400Invalid ID supplied404Order not foundGetOrderByIdFind purchase order by IDFor valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptionsRequestParametersNameTypeDefaultNotes*orderIdID of pet that needs to be fetchedResponsesStatus CodeTypeDescriptionSamples200Ordersuccessful operation400Invalid ID supplied404Order not founduserGET /store/order/{orderId}", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_getOrderById.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FgetOrderById%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -522,7 +522,7 @@ }, { "Number": 16, - "Text": "16 / 22| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5userOperations about userCreateUserCreate userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*bodyUserCreated user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithArrayInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesPOST /userPOST /user/createWithArray", + "Text": "16 / 22| Improve this Doc\uF1C5View Source\uF1C5| Improve this Doc\uF1C5View Source\uF1C5Operations about userCreateUserCreate userThis can only be done by the logged in user.RequestParametersNameTypeDefaultNotes*bodyUserCreated user objectResponsesStatus CodeTypeDescriptionSamplesdefaultsuccessful operationCreateUsersWithArrayInputCreates list of users with given input arrayRequestParametersNameTypeDefaultNotes*bodyUser[]List of user objectResponsesPOST /userPOST /user/createWithArray", "Links": [ { "Uri": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=petstore_swagger_io_v2_Swagger_Petstore_1_0_0_createUser.md&value=---%0Auid%3A%20petstore.swagger.io%2Fv2%2FSwagger%20Petstore%2F1.0.0%2FcreateUser%0Asummary%3A%20%27*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax%27%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" @@ -726,7 +726,7 @@ }, { "Number": 20, - "Text": "20 / 22ParametersNameTypeDefaultNotes*usernamename that need to be updated*bodyUserUpdated user objectResponsesStatus CodeTypeDescriptionSamples400Invalid user supplied404User not foundDefinitionsPetNameTypeNotescategoryCategory[]idinteger (int64)namestringphotoUrlsarraystatusstringpet status in the storetagsTag[]CategoryPUT /user/{username}", + "Text": "20 / 22ParametersNameTypeDefaultNotes*usernamename that need to be updated*bodyUserUpdated user objectResponsesStatus CodeTypeDescriptionSamples400Invalid user supplied404User not foundDefinitionsPetNameTypeNotescategoryCategory[]idinteger (int64)namestringphotoUrlsarraystatusstringpet status in the storetagsTag[]CategoryPUT /user/{username}", "Links": [ { "Goto": { @@ -764,7 +764,7 @@ }, { "Number": 22, - "Text": "22 / 22NameTypeNotesemailstringfirstNamestringidinteger (int64)lastNamestringpasswordstringphonestringuserStatusinteger (int32)User StatususernamestringSee AlsosSee other REST APIs:Contacts API", + "Text": "22 / 22NameTypeNotesemailstringfirstNamestringidinteger (int64)lastNamestringpasswordstringphonestringuserStatusinteger (int32)User StatususernamestringSee AlsosSee other REST APIs:Contacts API", "Links": [ { "Uri": "" From fefd1db3f95eb180def7ce9aa535308ea1bd6b2f Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 7 Nov 2024 15:19:20 +1100 Subject: [PATCH 10/70] remove redundant startswith member in XmlComment (#10367) --- src/Docfx.Dotnet/Parsers/XmlComment.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Docfx.Dotnet/Parsers/XmlComment.cs b/src/Docfx.Dotnet/Parsers/XmlComment.cs index 20afb45bf3a..1f11f699790 100644 --- a/src/Docfx.Dotnet/Parsers/XmlComment.cs +++ b/src/Docfx.Dotnet/Parsers/XmlComment.cs @@ -60,9 +60,8 @@ private XmlComment(string xml, XmlCommentParserContext context) else xml = $"{innerXml}"; } - // Workaround: https://github.com/dotnet/roslyn/pull/66668 - if (!xml.StartsWith("", StringComparison.Ordinal)) + else if (!xml.StartsWith("", StringComparison.Ordinal)) { xml = $"{xml}"; } From cd82ac1cd9c8c631bebe4cfc54fe1967e9301626 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Wed, 6 Nov 2024 23:21:46 -0700 Subject: [PATCH 11/70] docs: Document the xref `nameWithType` option (#10368) --- docs/docs/links-and-cross-references.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/links-and-cross-references.md b/docs/docs/links-and-cross-references.md index 9afad763ae4..eb7b0f5cee5 100644 --- a/docs/docs/links-and-cross-references.md +++ b/docs/docs/links-and-cross-references.md @@ -178,6 +178,8 @@ You can create a cross link with following options: - `displayProperty`: the property of display text when the cross reference is has resolved correctly. e.g.: `` will be resolved as . + + e.g.: `` will be resolved as . - `altProperty`: the property of display text when the cross reference does not have a `href` property. e.g.: ```` will be resolved as . From 440ab292b3aa7998f4cf6c9eb8a8a53a8955b73d Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Thu, 7 Nov 2024 14:28:33 +0800 Subject: [PATCH 12/70] Revert "test: generate public API contract" This reverts commit 1613584e70195bbdb46ebc7b92a7a517c1ef0875 --- Directory.Packages.props | 1 - test/docfx.Tests/Api.verified.cs | 4564 --------------------- test/docfx.Tests/PublicApiContractTest.cs | 36 - test/docfx.Tests/docfx.Tests.csproj | 5 - 4 files changed, 4606 deletions(-) delete mode 100644 test/docfx.Tests/Api.verified.cs delete mode 100644 test/docfx.Tests/PublicApiContractTest.cs diff --git a/Directory.Packages.props b/Directory.Packages.props index 2ca7cb4b913..92de3602319 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -43,7 +43,6 @@ - diff --git a/test/docfx.Tests/Api.verified.cs b/test/docfx.Tests/Api.verified.cs deleted file mode 100644 index cee7a5a2ba8..00000000000 --- a/test/docfx.Tests/Api.verified.cs +++ /dev/null @@ -1,4564 +0,0 @@ -namespace Docfx -{ - public class BuildOptions - { - public BuildOptions() { } - public System.Func? ConfigureMarkdig { get; init; } - } - public static class Docset - { - public static System.Threading.Tasks.Task Build(string configPath) { } - public static System.Threading.Tasks.Task Build(string configPath, Docfx.BuildOptions options) { } - public static System.Threading.Tasks.Task Pdf(string configPath) { } - public static System.Threading.Tasks.Task Pdf(string configPath, Docfx.BuildOptions options) { } - } -} -namespace Docfx.Build.Engine -{ - [System.Flags] - public enum ApplyTemplateOptions - { - None = 0, - ExportRawModel = 1, - ExportViewModel = 2, - TransformDocument = 4, - All = 7, - } - public class ApplyTemplateSettings - { - public static readonly Docfx.Build.Engine.ExportSettings DefaultRawModelExportSettings; - public static readonly Docfx.Build.Engine.ExportSettings DefaultViewModelExportSettings; - public ApplyTemplateSettings(string inputFolder, string outputFolder) { } - public ApplyTemplateSettings(string inputFolder, string outputFolder, string debugOutputFolder, bool debugMode) { } - public bool DebugMode { get; } - public Docfx.Plugins.ICustomHrefGenerator HrefGenerator { get; set; } - public string InputFolder { get; } - public Docfx.Build.Engine.ApplyTemplateOptions Options { get; } - public string OutputFolder { get; } - public Docfx.Build.Engine.ExportSettings RawModelExportSettings { get; set; } - public Docfx.Build.Engine.ExportSettings RawModelExportSettingsForDebug { get; set; } - public bool TransformDocument { get; set; } - public Docfx.Build.Engine.ExportSettings ViewModelExportSettings { get; set; } - public Docfx.Build.Engine.ExportSettings ViewModelExportSettingsForDebug { get; set; } - } - public class BasicXRefMapReader : Docfx.Build.Engine.IXRefContainerReader - { - public BasicXRefMapReader(Docfx.Build.Engine.XRefMap map) { } - protected Docfx.Build.Engine.XRefMap Map { get; } - public virtual Docfx.Plugins.XRefSpec Find(string uid) { } - } - public sealed class CompositeResourceReader : Docfx.Build.Engine.ResourceFileReader, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable - { - public CompositeResourceReader(System.Collections.Generic.IEnumerable declaredReaders) { } - public override bool IsEmpty { get; } - public override string Name { get; } - public override System.Collections.Generic.IEnumerable Names { get; } - public System.Collections.Generic.IEnumerator GetEnumerator() { } - public override System.IO.Stream GetResourceStream(string name) { } - } - public sealed class DocumentBuildContext : Docfx.Plugins.IDocumentBuildContext - { - public DocumentBuildContext(Docfx.Build.Engine.DocumentBuildParameters parameters, System.Threading.CancellationToken cancellationToken) { } - public System.Collections.Immutable.ImmutableDictionary AllSourceFiles { get; } - public Docfx.Build.Engine.ApplyTemplateSettings ApplyTemplateSettings { get; set; } - public string BuildOutputFolder { get; } - public System.Threading.CancellationToken CancellationToken { get; } - public System.Collections.Immutable.ImmutableArray ExternalReferencePackages { get; } - public System.Collections.Concurrent.ConcurrentDictionary FileMap { get; } - public Docfx.Plugins.GroupInfo GroupInfo { get; } - public Docfx.Plugins.ICustomHrefGenerator HrefGenerator { get; } - public Docfx.Plugins.IMarkdownService MarkdownService { get; set; } - public int MaxParallelism { get; } - public string RootTocPath { get; } - public System.Collections.Concurrent.ConcurrentDictionary> TocMap { get; } - public string VersionFolder { get; } - public string VersionName { get; } - public System.Collections.Generic.HashSet XRef { get; } - public System.Collections.Concurrent.ConcurrentDictionary XRefSpecMap { get; } - public string GetFilePath(string key) { } - public System.Collections.Immutable.IImmutableList GetTocFileKeySet(string key) { } - public System.Collections.Immutable.IImmutableList GetTocInfo() { } - public Docfx.Plugins.XRefSpec GetXrefSpec(string uid) { } - public void RegisterInternalXrefSpec(Docfx.Plugins.XRefSpec xrefSpec) { } - public void RegisterInternalXrefSpecBookmark(string uid, string bookmark) { } - public void RegisterToc(string tocFileKey, string fileKey) { } - public void RegisterTocInfo(Docfx.Plugins.TocInfo toc) { } - public void ReportExternalXRefSpec(Docfx.Plugins.XRefSpec spec) { } - public void ResolveExternalXRefSpec() { } - public void ResolveExternalXRefSpecForNoneSpecsAsync() { } - public void SetFilePath(string key, string filePath) { } - public string UpdateHref(string href) { } - public string UpdateHref(string href, Docfx.Common.RelativePath fromFile) { } - } - public class DocumentBuildParameters - { - public DocumentBuildParameters() { } - public Docfx.Build.Engine.ApplyTemplateSettings ApplyTemplateSettings { get; set; } - public System.Func ConfigureMarkdig { get; set; } - public string CustomLinkResolver { get; set; } - public bool DisableGitFeatures { get; set; } - public Docfx.Build.Engine.FileMetadata FileMetadata { get; set; } - public Docfx.Build.Engine.FileCollection Files { get; set; } - public Docfx.Plugins.GroupInfo GroupInfo { get; set; } - public Docfx.Plugins.MarkdownServiceProperties MarkdownEngineParameters { get; set; } - public int MaxParallelism { get; set; } - public System.Collections.Immutable.ImmutableDictionary Metadata { get; set; } - public string OutputBaseDir { get; set; } - public System.Collections.Immutable.ImmutableArray PostProcessors { get; set; } - public string RootTocPath { get; set; } - public Docfx.Plugins.SitemapOptions SitemapOptions { get; set; } - public string TemplateDir { get; set; } - public Docfx.Build.Engine.TemplateManager TemplateManager { get; set; } - public string VersionDir { get; set; } - public string VersionName { get; set; } - public System.Collections.Immutable.ImmutableArray XRefMaps { get; set; } - public Docfx.Build.Engine.DocumentBuildParameters Clone() { } - } - public class DocumentBuilder : System.IDisposable - { - public DocumentBuilder(System.Collections.Generic.IEnumerable assemblies, System.Collections.Immutable.ImmutableArray postProcessorNames) { } - public void Build(Docfx.Build.Engine.DocumentBuildParameters parameter) { } - public void Build(System.Collections.Generic.IList parameters, string outputDirectory, System.Threading.CancellationToken cancellationToken = default) { } - public void Dispose() { } - } - public sealed class EmptyResourceReader : Docfx.Build.Engine.ResourceFileReader - { - public EmptyResourceReader() { } - public override bool IsEmpty { get; } - public override string Name { get; } - public override System.Collections.Generic.IEnumerable Names { get; } - public override System.IO.Stream GetResourceStream(string name) { } - } - public class ExportSettings - { - public ExportSettings() { } - public ExportSettings(Docfx.Build.Engine.ExportSettings settings) { } - public bool Export { get; set; } - public string Extension { get; set; } - public string OutputFolder { get; set; } - public System.Func PathRewriter { get; set; } - } - public class FileCollection - { - public FileCollection(Docfx.Build.Engine.FileCollection collection) { } - public FileCollection(string defaultBaseDir) { } - public int Count { get; } - public string DefaultBaseDir { get; set; } - public void Add(Docfx.Plugins.DocumentType type, System.Collections.Generic.IEnumerable files, string sourceDir = null, string destinationDir = null) { } - public void Add(Docfx.Plugins.DocumentType type, string baseDir, System.Collections.Generic.IEnumerable files, string sourceDir = null, string destinationDir = null) { } - public System.Collections.Generic.IEnumerable EnumerateFiles() { } - public void RemoveAll(System.Predicate match) { } - } - public sealed class FileMetadata : System.Collections.Generic.Dictionary> - { - public FileMetadata(string baseDir) { } - public FileMetadata(string baseDir, System.Collections.Generic.IDictionary> dictionary) { } - public string BaseDir { get; } - public System.Collections.Generic.IEnumerable GetAllGlobs() { } - } - public static class FileMetadataHelper - { - public static System.Collections.Generic.IEnumerable GetChangedGlobs(this Docfx.Build.Engine.FileMetadata left, Docfx.Build.Engine.FileMetadata right) { } - } - public sealed class FileMetadataItem : System.IEquatable - { - public FileMetadataItem(Docfx.Glob.GlobMatcher glob, string key, object value) { } - public Docfx.Glob.GlobMatcher Glob { get; } - public string Key { get; } - public object Value { get; } - public bool Equals(Docfx.Build.Engine.FileMetadataItem other) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - } - public abstract class HtmlDocumentHandler : Docfx.Build.Engine.IHtmlDocumentHandler - { - protected HtmlDocumentHandler() { } - public void Handle(HtmlAgilityPack.HtmlDocument document, Docfx.Plugins.ManifestItem manifestItem, string inputFile, string outputFile) { } - protected abstract void HandleCore(HtmlAgilityPack.HtmlDocument document, Docfx.Plugins.ManifestItem manifestItem, string inputFile, string outputFile); - public Docfx.Plugins.Manifest PostHandle(Docfx.Plugins.Manifest manifest) { } - protected virtual Docfx.Plugins.Manifest PostHandleCore(Docfx.Plugins.Manifest manifest) { } - public Docfx.Plugins.Manifest PreHandle(Docfx.Plugins.Manifest manifest) { } - protected virtual Docfx.Plugins.Manifest PreHandleCore(Docfx.Plugins.Manifest manifest) { } - } - public interface IHtmlDocumentHandler - { - void Handle(HtmlAgilityPack.HtmlDocument document, Docfx.Plugins.ManifestItem manifestItem, string inputFile, string outputFile); - Docfx.Plugins.Manifest PostHandle(Docfx.Plugins.Manifest manifest); - Docfx.Plugins.Manifest PreHandle(Docfx.Plugins.Manifest manifest); - } - public interface ITemplatePreprocessor - { - bool ContainsGetOptions { get; } - bool ContainsModelTransformation { get; } - string Name { get; } - string Path { get; } - object GetOptions(object model); - object TransformModel(object model); - } - public interface ITemplateRenderer - { - System.Collections.Generic.IEnumerable Dependencies { get; } - string Name { get; } - string Path { get; } - string Render(object model); - } - public interface IXRefContainer - { - bool IsEmbeddedRedirections { get; } - Docfx.Build.Engine.IXRefContainerReader GetReader(); - System.Collections.Generic.IEnumerable GetRedirections(); - } - public interface IXRefContainerReader - { - Docfx.Plugins.XRefSpec Find(string uid); - } - public class InvalidPreprocessorException : Docfx.Exceptions.DocfxException - { - public InvalidPreprocessorException(string message) { } - } - public static class JintProcessorHelper - { - public static Jint.Native.JsValue ConvertObjectToJsValue(Jint.Engine engine, object raw) { } - } - public sealed class LocalFileResourceReader : Docfx.Build.Engine.ResourceFileReader - { - public LocalFileResourceReader(string directory, int maxSearchLevel = 5) { } - public override bool IsEmpty { get; } - public override string Name { get; } - public override System.Collections.Generic.IEnumerable Names { get; } - public override System.IO.Stream GetResourceStream(string name) { } - } - public static class MarkupUtility - { - public static Docfx.Plugins.MarkupResult Parse(Docfx.Plugins.MarkupResult markupResult, Docfx.Plugins.FileAndType ft, System.Collections.Immutable.ImmutableDictionary sourceFiles) { } - public static Docfx.Plugins.MarkupResult Parse(Docfx.Plugins.MarkupResult markupResult, string file, System.Collections.Immutable.ImmutableDictionary sourceFiles) { } - } - public class PreprocessorLoader - { - public PreprocessorLoader(Docfx.Build.Engine.ResourceFileReader reader, Docfx.Build.Engine.DocumentBuildContext context, int maxParallelism) { } - public Docfx.Build.Engine.ITemplatePreprocessor Load(Docfx.Build.Engine.ResourceInfo res, string name = null) { } - public System.Collections.Generic.IEnumerable LoadFromRenderer(Docfx.Build.Engine.ITemplateRenderer renderer) { } - public System.Collections.Generic.IEnumerable LoadStandalones() { } - } - public class RendererLoader - { - public RendererLoader(Docfx.Build.Engine.ResourceFileReader reader, int maxParallelism) { } - public Docfx.Build.Engine.ITemplateRenderer Load(Docfx.Build.Engine.ResourceInfo res) { } - public Docfx.Build.Engine.ITemplateRenderer Load(string path) { } - public System.Collections.Generic.IEnumerable LoadAll() { } - } - public abstract class ResourceFileReader - { - protected ResourceFileReader() { } - public abstract bool IsEmpty { get; } - public abstract string Name { get; } - public abstract System.Collections.Generic.IEnumerable Names { get; } - public virtual string GetResource(string name) { } - public abstract System.IO.Stream GetResourceStream(string name); - public System.Collections.Generic.IEnumerable> GetResourceStreams(string selector = null) { } - public System.Collections.Generic.IEnumerable GetResources(string selector = null) { } - protected static string GetString(System.IO.Stream stream) { } - } - public class ResourceInfo - { - public ResourceInfo(string path, string content) { } - public string Content { get; } - public string Path { get; } - } - public class Template - { - public Template(Docfx.Build.Engine.ITemplateRenderer renderer, Docfx.Build.Engine.ITemplatePreprocessor preprocessor) { } - public bool ContainsGetOptions { get; } - public bool ContainsModelTransformation { get; } - public string Extension { get; } - public string Name { get; } - public Docfx.Build.Engine.ITemplatePreprocessor Preprocessor { get; } - public Docfx.Build.Engine.ITemplateRenderer Renderer { get; } - public System.Collections.Generic.IEnumerable Resources { get; } - public string ScriptName { get; } - public Docfx.Build.Engine.TemplateType TemplateType { get; } - public string Type { get; } - public Docfx.Build.Engine.TransformModelOptions GetOptions(object model) { } - public string Transform(object model) { } - public object TransformModel(object model) { } - } - public class TemplateBundle - { - public TemplateBundle(string documentType, System.Collections.Generic.IEnumerable templates) { } - public string DocumentType { get; } - public string Extension { get; } - public System.Collections.Generic.IEnumerable Resources { get; } - public System.Collections.Generic.IEnumerable Templates { get; } - } - public class TemplateCollection : System.Collections.Generic.Dictionary - { - public TemplateCollection(Docfx.Build.Engine.ResourceFileReader provider, Docfx.Build.Engine.DocumentBuildContext context, int maxParallelism) { } - public Docfx.Build.Engine.TemplateBundle this[string key] { get; set; } - public int MaxParallelism { get; } - public Docfx.Build.Engine.ResourceFileReader Reader { get; } - } - public class TemplateJintPreprocessor : Docfx.Build.Engine.ITemplatePreprocessor - { - public const string Extension = ".js"; - public const string StandaloneExtension = ".tmpl.js"; - public TemplateJintPreprocessor(Docfx.Build.Engine.ResourceFileReader resourceCollection, Docfx.Build.Engine.ResourceInfo scriptResource, Docfx.Build.Engine.DocumentBuildContext context, string name = null) { } - public bool ContainsGetOptions { get; } - public bool ContainsModelTransformation { get; } - public string Name { get; } - public string Path { get; } - public object GetOptions(object model) { } - public object TransformModel(object model) { } - } - public class TemplateManager - { - public TemplateManager(System.Collections.Generic.List templates, System.Collections.Generic.List? themes, string? baseDirectory) { } - public Docfx.Build.Engine.CompositeResourceReader CreateTemplateResource() { } - public System.Collections.Generic.IEnumerable GetTemplateDirectories() { } - public Docfx.Build.Engine.TemplateProcessor GetTemplateProcessor(Docfx.Build.Engine.DocumentBuildContext context, int maxParallelism) { } - public void ProcessTheme(string outputDirectory, bool overwrite) { } - public bool TryExportTemplateFiles(string outputDirectory, string? regexFilter = null) { } - } - public class TemplateModelTransformer - { - public TemplateModelTransformer(Docfx.Build.Engine.DocumentBuildContext context, Docfx.Build.Engine.TemplateCollection templateCollection, Docfx.Build.Engine.ApplyTemplateSettings settings, System.Collections.Generic.IDictionary globals) { } - } - public class TemplatePageLoader - { - public TemplatePageLoader(Docfx.Build.Engine.ResourceFileReader reader, Docfx.Build.Engine.DocumentBuildContext context, int maxParallelism) { } - public System.Collections.Generic.IEnumerable LoadAll() { } - } - public class TemplateProcessor - { - public TemplateProcessor(Docfx.Build.Engine.ResourceFileReader resourceProvider, Docfx.Build.Engine.DocumentBuildContext context, int maxParallelism = 0) { } - public System.Collections.Generic.IDictionary Tokens { get; } - public void CopyTemplateResources(Docfx.Build.Engine.ApplyTemplateSettings settings) { } - public Docfx.Build.Engine.TemplateBundle GetTemplateBundle(string documentType) { } - public bool TryGetFileExtension(string documentType, out string fileExtension) { } - } - public static class TemplateProcessorUtility - { - public static System.Collections.Generic.IDictionary LoadTokens(Docfx.Build.Engine.ResourceFileReader resource) { } - } - public sealed class TemplateResourceInfo - { - public TemplateResourceInfo(string resourceKey) { } - public string ResourceKey { get; } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - } - public enum TemplateType - { - Default = 0, - Primary = 1, - Auxiliary = 2, - } - public class TemplateUtility - { - public TemplateUtility(Docfx.Build.Engine.DocumentBuildContext context) { } - public string GetHrefFromRoot(string originalHref, string sourceFileKey) { } - public string Markup(string markdown, string sourceFileKey) { } - public string ResolveSourceRelativePath(string originPath, string currentFileOutputPath) { } - } - public class TransformModelOptions - { - public TransformModelOptions() { } - [Newtonsoft.Json.JsonProperty(PropertyName="bookmarks")] - [System.Text.Json.Serialization.JsonPropertyName("bookmarks")] - public System.Collections.Generic.Dictionary Bookmarks { get; set; } - [Newtonsoft.Json.JsonProperty(PropertyName="isShared")] - [System.Text.Json.Serialization.JsonPropertyName("isShared")] - public bool IsShared { get; set; } - } - public sealed class XRefArchive : Docfx.Build.Engine.IXRefContainer, System.IDisposable - { - public const string MajorFileName = "xrefmap.yml"; - public System.Collections.Immutable.ImmutableList Entries { get; } - public string CreateMajor(Docfx.Build.Engine.XRefMap map) { } - public string CreateMinor(Docfx.Build.Engine.XRefMap map, System.Collections.Generic.IEnumerable names) { } - public void Delete(string name) { } - public void DeleteMajor() { } - public void Dispose() { } - public Docfx.Build.Engine.XRefMap Get(string name) { } - public Docfx.Build.Engine.XRefMap GetMajor() { } - public Docfx.Build.Engine.IXRefContainerReader GetReader() { } - public bool HasEntry(string name) { } - public void Update(string name, Docfx.Build.Engine.XRefMap map) { } - public void UpdateMajor(Docfx.Build.Engine.XRefMap map) { } - public static Docfx.Build.Engine.XRefArchive Open(string file, Docfx.Build.Engine.XRefArchiveMode mode) { } - } - public class XRefArchiveBuilder - { - public XRefArchiveBuilder() { } - public System.Threading.Tasks.Task DownloadAsync(System.Uri uri, string outputFile, System.Threading.CancellationToken cancellationToken = default) { } - } - public enum XRefArchiveMode - { - Read = 0, - Create = 1, - Update = 2, - } - public class XRefArchiveReader : Docfx.Build.Engine.XRefRedirectionReader, System.IDisposable - { - public XRefArchiveReader(Docfx.Build.Engine.XRefArchive archive) { } - public void Dispose() { } - protected override Docfx.Build.Engine.IXRefContainer GetMap(string name) { } - } - public sealed class XRefDetails - { - public string Alt { get; } - public string AltProperty { get; } - public string Anchor { get; } - public string DisplayProperty { get; } - public string Href { get; } - public string InnerHtml { get; } - public string Query { get; } - public string Raw { get; } - public string RawSource { get; } - public int SourceEndLineNumber { get; } - public string SourceFile { get; } - public int SourceStartLineNumber { get; } - public Docfx.Plugins.XRefSpec Spec { get; } - public string TemplatePath { get; } - public string Text { get; } - public bool ThrowIfNotResolved { get; } - public string Title { get; } - public string Uid { get; } - public void ApplyXrefSpec(Docfx.Plugins.XRefSpec spec) { } - [return: System.Runtime.CompilerServices.TupleElementNames(new string[] { - null, - "resolved"})] - public System.ValueTuple ConvertToHtmlNode(string language, Docfx.Build.Engine.ITemplateRenderer renderer) { } - public static HtmlAgilityPack.HtmlNode ConvertXrefLinkNodeToXrefNode(HtmlAgilityPack.HtmlNode node) { } - public static Docfx.Build.Engine.XRefDetails From(HtmlAgilityPack.HtmlNode node) { } - } - public class XRefMap : Docfx.Build.Engine.IXRefContainer - { - public XRefMap() { } - [Newtonsoft.Json.JsonProperty("baseUrl")] - [System.Text.Json.Serialization.JsonPropertyName("baseUrl")] - [YamlDotNet.Serialization.YamlMember(Alias="baseUrl")] - public string BaseUrl { get; set; } - [Newtonsoft.Json.JsonProperty("hrefUpdated")] - [System.Text.Json.Serialization.JsonPropertyName("hrefUpdated")] - [YamlDotNet.Serialization.YamlMember(Alias="hrefUpdated")] - public bool? HrefUpdated { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public bool IsEmbeddedRedirections { get; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Others { get; set; } - [Newtonsoft.Json.JsonProperty("redirections")] - [System.Text.Json.Serialization.JsonPropertyName("redirections")] - [YamlDotNet.Serialization.YamlMember(Alias="redirections")] - public System.Collections.Generic.List Redirections { get; set; } - [Newtonsoft.Json.JsonProperty("references")] - [System.Text.Json.Serialization.JsonPropertyName("references")] - [YamlDotNet.Serialization.YamlMember(Alias="references")] - public System.Collections.Generic.List References { get; set; } - [Newtonsoft.Json.JsonProperty("sorted")] - [System.Text.Json.Serialization.JsonPropertyName("sorted")] - [YamlDotNet.Serialization.YamlMember(Alias="sorted")] - public bool? Sorted { get; set; } - public Docfx.Build.Engine.IXRefContainerReader GetReader() { } - public System.Collections.Generic.IEnumerable GetRedirections() { } - public void Sort() { } - public void UpdateHref(System.Uri baseUri) { } - } - public sealed class XRefMapDownloader - { - public XRefMapDownloader(string baseFolder = null, System.Collections.Generic.IReadOnlyList fallbackFolders = null, int maxParallelism = 16) { } - public System.Threading.Tasks.Task DownloadAsync(System.Uri uri, System.Threading.CancellationToken token = default) { } - } - public sealed class XRefMapReader : Docfx.Build.Engine.XRefRedirectionReader - { - public XRefMapReader(string majorKey, System.Collections.Generic.Dictionary maps) { } - protected override Docfx.Build.Engine.IXRefContainer GetMap(string name) { } - } - public class XRefMapRedirection - { - public XRefMapRedirection() { } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("uidPrefix")] - [System.Text.Json.Serialization.JsonPropertyName("uidPrefix")] - [YamlDotNet.Serialization.YamlMember(Alias="uidPrefix")] - public string UidPrefix { get; set; } - } - public abstract class XRefRedirectionReader : Docfx.Build.Engine.IXRefContainerReader - { - protected XRefRedirectionReader(string majorName, System.Collections.Generic.HashSet mapNames) { } - public Docfx.Plugins.XRefSpec Find(string uid) { } - protected abstract Docfx.Build.Engine.IXRefContainer GetMap(string name); - } - public sealed class XRefSpecUidComparer : System.Collections.Generic.Comparer - { - public static readonly Docfx.Build.Engine.XRefSpecUidComparer Instance; - public XRefSpecUidComparer() { } - public override int Compare(Docfx.Plugins.XRefSpec x, Docfx.Plugins.XRefSpec y) { } - } -} -namespace Docfx.Build.ResourceFiles -{ - public interface IResourceFileConfig - { - bool IsResourceFile(string fileExtension); - } -} -namespace Docfx.Build.TableOfContents -{ - public static class MarkdownTocReader - { - public static System.Collections.Generic.List LoadToc(string tocContent, string filePath) { } - } - public static class TocHelper - { - public static Docfx.DataContracts.Common.TocItemViewModel LoadSingleToc(string file) { } - } -} -namespace Docfx.Build.Common -{ - public abstract class ApplyOverwriteDocument : Docfx.Build.Common.BaseDocumentBuildStep - { - protected ApplyOverwriteDocument() { } - protected abstract void ApplyOverwrite(Docfx.Plugins.IHostService host, System.Collections.Generic.List overwrites, string uid, System.Collections.Generic.List articles); - protected void ApplyOverwrite(Docfx.Plugins.IHostService host, System.Collections.Generic.List overwrites, string uid, System.Collections.Generic.List articles, System.Func> getItemsFromOverwriteDocument, System.Func> getItemsToOverwrite) - where T : class, Docfx.DataContracts.Common.IOverwriteDocumentViewModel { } - protected virtual void ApplyOverwrites(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - protected virtual Docfx.Common.EntityMergers.IMerger GetMerger() { } - public override void Postbuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - protected System.Collections.Generic.IEnumerable Transform(Docfx.Plugins.FileModel model, string uid, Docfx.Plugins.IHostService host) - where T : class, Docfx.DataContracts.Common.IOverwriteDocumentViewModel { } - } - public abstract class BaseDocumentBuildStep : Docfx.Plugins.IDocumentBuildStep - { - protected BaseDocumentBuildStep() { } - public abstract int BuildOrder { get; } - public abstract string Name { get; } - public virtual void Build(Docfx.Plugins.FileModel model, Docfx.Plugins.IHostService host) { } - public virtual void Postbuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - public virtual System.Collections.Generic.IEnumerable Prebuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - } - public abstract class BaseModelAttributeHandler : Docfx.Build.Common.IModelAttributeHandler - where T : System.Attribute - { - protected readonly Docfx.Build.Common.IModelAttributeHandler Handler; - protected BaseModelAttributeHandler(System.Type type, Docfx.Build.Common.IModelAttributeHandler handler) { } - protected virtual System.Collections.Generic.IEnumerable.PropInfo> GetProps(System.Type type) { } - public object Handle(object obj, Docfx.Build.Common.HandleModelAttributesContext context) { } - protected abstract object HandleCurrent(object currentObj, object declaringObject, System.Reflection.PropertyInfo currentPropertyInfo, Docfx.Build.Common.HandleModelAttributesContext context); - protected virtual object HandleDictionaryType(object currentObj, Docfx.Build.Common.HandleModelAttributesContext context) { } - protected virtual object HandleIEnumerableType(object currentObj, Docfx.Build.Common.HandleModelAttributesContext context) { } - protected virtual object ProcessNonPrimitiveType(object currentObj, Docfx.Build.Common.HandleModelAttributesContext context) { } - protected virtual object ProcessPrimitiveType(object currentObj, Docfx.Build.Common.HandleModelAttributesContext context) { } - protected virtual bool ShouldHandle(object currentObj, object declaringObject, Docfx.Build.Common.BaseModelAttributeHandler.PropInfo currentPropInfo, Docfx.Build.Common.HandleModelAttributesContext context) { } - protected sealed class PropInfo - { - public PropInfo() { } - public System.Attribute Attr { get; set; } - public System.Reflection.PropertyInfo Prop { get; set; } - } - } - public abstract class BuildReferenceDocumentBase : Docfx.Build.Common.BaseDocumentBuildStep - { - protected BuildReferenceDocumentBase() { } - public override int BuildOrder { get; } - public override void Build(Docfx.Plugins.FileModel model, Docfx.Plugins.IHostService host) { } - protected abstract void BuildArticle(Docfx.Plugins.IHostService host, Docfx.Plugins.FileModel model); - protected virtual void BuildArticleCore(Docfx.Plugins.IHostService host, Docfx.Plugins.FileModel model, Docfx.Build.Common.IModelAttributeHandler handlers = null, Docfx.Build.Common.HandleModelAttributesContext handlerContext = null, bool shouldSkipMarkup = false) { } - protected virtual void BuildOverwrite(Docfx.Plugins.IHostService host, Docfx.Plugins.FileModel model) { } - } - public class CompositeModelAttributeHandler : Docfx.Build.Common.IModelAttributeHandler - { - public CompositeModelAttributeHandler(params Docfx.Build.Common.IModelAttributeHandler[] handlers) { } - public object Handle(object obj, Docfx.Build.Common.HandleModelAttributesContext context) { } - } - public abstract class DisposableDocumentProcessor : Docfx.Plugins.IDocumentProcessor, System.IDisposable - { - protected DisposableDocumentProcessor() { } - public abstract string Name { get; } - public abstract System.Collections.Generic.IEnumerable BuildSteps { get; set; } - public void Dispose() { } - public abstract Docfx.Plugins.ProcessingPriority GetProcessingPriority(Docfx.Plugins.FileAndType file); - public abstract Docfx.Plugins.FileModel Load(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata); - public abstract Docfx.Plugins.SaveResult Save(Docfx.Plugins.FileModel model); - public virtual void UpdateHref(Docfx.Plugins.FileModel model, Docfx.Plugins.IDocumentBuildContext context) { } - } - public class HandleGenericItemsHelper - { - public HandleGenericItemsHelper() { } - public static bool EnumerateIDictionary(object currentObj, System.Func handler) { } - public static bool EnumerateIEnumerable(object currentObj, System.Func handler) { } - public static bool EnumerateIReadonlyDictionary(object currentObj, System.Func handler) { } - public static bool HandleIDictionary(object currentObj, System.Func handler) { } - public static bool HandleIList(object currentObj, System.Func handler) { } - public sealed class EnumerateIDictionaryItems - { - public EnumerateIDictionaryItems(System.Collections.Generic.IDictionary dict) { } - public void Handle(System.Func enumerate) { } - } - public sealed class EnumerateIEnumerableItems - { - public EnumerateIEnumerableItems(System.Collections.Generic.IEnumerable list) { } - public void Handle(System.Func enumerate) { } - } - public sealed class EnumerateIReadonlyDictionaryItems - { - public EnumerateIReadonlyDictionaryItems(System.Collections.Generic.IReadOnlyDictionary dict) { } - public void Handle(System.Func enumerate) { } - } - public sealed class HandleIDictionaryItems - { - public HandleIDictionaryItems(System.Collections.Generic.IDictionary dict) { } - public void Handle(System.Func handler) { } - } - public sealed class HandleIListItems - { - public HandleIListItems(System.Collections.Generic.IList list) { } - public void Handle(System.Func handler) { } - } - } - public class HandleModelAttributesContext - { - public HandleModelAttributesContext() { } - public bool ContainsPlaceholder { get; set; } - public System.Collections.Generic.HashSet Dependency { get; set; } - public bool EnableContentPlaceholder { get; set; } - public Docfx.Plugins.FileAndType FileAndType { get; set; } - public System.Collections.Generic.Dictionary> FileLinkSources { get; set; } - public Docfx.Plugins.IHostService Host { get; set; } - public System.Collections.Generic.HashSet LinkToFiles { get; set; } - public System.Collections.Generic.HashSet LinkToUids { get; set; } - public string PlaceholderContent { get; set; } - public bool SkipMarkup { get; set; } - public System.Collections.Generic.Dictionary> UidLinkSources { get; set; } - public System.Collections.Generic.List Uids { get; set; } - } - public interface IModelAttributeHandler - { - object Handle(object obj, Docfx.Build.Common.HandleModelAttributesContext context); - } - public class MarkdownContentHandler : Docfx.Build.Common.IModelAttributeHandler - { - public MarkdownContentHandler() { } - public object Handle(object obj, Docfx.Build.Common.HandleModelAttributesContext context) { } - } - public class MarkdownReader - { - public MarkdownReader() { } - public static System.Collections.Generic.Dictionary ReadMarkdownAsConceptual(string file) { } - public static System.Collections.Generic.IEnumerable ReadMarkdownAsOverwrite(Docfx.Plugins.IHostService host, Docfx.Plugins.FileAndType ft) { } - } - public class OverwriteDocumentModel - { - public OverwriteDocumentModel() { } - [Newtonsoft.Json.JsonProperty("conceptual")] - [System.Text.Json.Serialization.JsonPropertyName("conceptual")] - [YamlDotNet.Serialization.YamlMember(Alias="conceptual")] - public string Conceptual { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Immutable.ImmutableArray Dependency { get; set; } - [Newtonsoft.Json.JsonProperty("documentation")] - [System.Text.Json.Serialization.JsonPropertyName("documentation")] - [YamlDotNet.Serialization.YamlMember(Alias="documentation")] - public Docfx.DataContracts.Common.SourceDetail Documentation { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.Dictionary> FileLinkSources { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.HashSet LinkToFiles { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.HashSet LinkToUids { get; set; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.Dictionary> UidLinkSources { get; set; } - public T ConvertTo() - where T : class { } - } - public class OverwriteDocumentReader - { - public OverwriteDocumentReader() { } - public static Docfx.Plugins.FileModel Read(Docfx.Plugins.FileAndType file) { } - public static System.Collections.Generic.IEnumerable Transform(Docfx.Plugins.FileModel model, string uid, System.Func itemBuilder) - where T : class, Docfx.DataContracts.Common.IOverwriteDocumentViewModel { } - } - public abstract class ReferenceDocumentProcessorBase : Docfx.Build.Common.DisposableDocumentProcessor - { - protected ReferenceDocumentProcessorBase() { } - protected abstract string ProcessedDocumentType { get; } - public override Docfx.Plugins.FileModel Load(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata) { } - protected abstract Docfx.Plugins.FileModel LoadArticle(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata); - protected virtual Docfx.Plugins.FileModel LoadOverwrite(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata) { } - public override Docfx.Plugins.SaveResult Save(Docfx.Plugins.FileModel model) { } - } - public static class ReflectionHelper - { - public static object CreateInstance(System.Type type, System.Type[] typeArguments, System.Type[] argumentTypes, object[] arguments) { } - public static System.Type GetGenericType(System.Type type, System.Type genericTypeDefinition) { } - public static System.Collections.Generic.List GetGettableProperties(System.Type type) { } - public static object GetPropertyValue(object instance, System.Reflection.PropertyInfo prop) { } - public static System.Collections.Generic.IEnumerable GetPublicProperties(System.Type type) { } - public static System.Collections.Generic.List GetSettableProperties(System.Type type) { } - public static bool ImplementsGenericDefinition(System.Type type, System.Type genericTypeDefinition) { } - public static bool IsDictionaryType(System.Type type) { } - public static bool IsGenericType(System.Type type, System.Type genericTypeDefinition) { } - public static bool IsIEnumerableType(System.Type t) { } - public static void SetPropertyValue(object instance, System.Reflection.PropertyInfo prop, object value) { } - public static bool TryGetGenericType(System.Type type, System.Type genericTypeDefinition, out System.Type genericType) { } - } - public class UniqueIdentityReferenceHandler : Docfx.Build.Common.IModelAttributeHandler - { - public UniqueIdentityReferenceHandler() { } - public object Handle(object obj, Docfx.Build.Common.HandleModelAttributesContext context) { } - } - public class UrlContentHandler : Docfx.Build.Common.IModelAttributeHandler - { - public UrlContentHandler() { } - public object Handle(object obj, Docfx.Build.Common.HandleModelAttributesContext context) { } - } - public class YamlHtmlPart - { - public YamlHtmlPart() { } - public string Conceptual { get; set; } - public int EndLine { get; set; } - public System.Collections.Immutable.ImmutableDictionary> FileLinkSources { get; set; } - public string Html { get; set; } - public System.Collections.Immutable.ImmutableArray LinkToFiles { get; set; } - public System.Collections.Immutable.ImmutableHashSet LinkToUids { get; set; } - public Docfx.Plugins.MarkupResult Origin { get; set; } - public string SourceFile { get; set; } - public int StartLine { get; set; } - public System.Collections.Immutable.ImmutableDictionary> UidLinkSources { get; set; } - public System.Collections.Immutable.ImmutableDictionary YamlHeader { get; set; } - public Docfx.Plugins.MarkupResult ToMarkupResult() { } - public static System.Collections.Generic.IList SplitYamlHtml(Docfx.Plugins.MarkupResult origin) { } - } -} -namespace Docfx.Build.ManagedReference -{ - [System.Composition.Export("ManagedReferenceDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class ApplyOverwriteDocumentForMref : Docfx.Build.Common.ApplyOverwriteDocument - { - public ApplyOverwriteDocumentForMref() { } - public override int BuildOrder { get; } - public override string Name { get; } - protected override void ApplyOverwrite(Docfx.Plugins.IHostService host, System.Collections.Generic.List overwrites, string uid, System.Collections.Generic.List articles) { } - public System.Collections.Generic.IEnumerable GetItemsFromOverwriteDocument(Docfx.Plugins.FileModel fileModel, string uid, Docfx.Plugins.IHostService host) { } - public static System.Collections.Generic.IEnumerable GetItemsToOverwrite(Docfx.Plugins.FileModel fileModel, string uid, Docfx.Plugins.IHostService host) { } - } - public class ApplyPlatformVersion : Docfx.Build.Common.BaseDocumentBuildStep - { - public ApplyPlatformVersion() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override System.Collections.Generic.IEnumerable Prebuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - } - [System.Composition.Export("ManagedReferenceDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class BuildManagedReferenceDocument : Docfx.Build.Common.BuildReferenceDocumentBase - { - public BuildManagedReferenceDocument() { } - public override string Name { get; } - protected override void BuildArticle(Docfx.Plugins.IHostService host, Docfx.Plugins.FileModel model) { } - } - [System.Composition.Export("ManagedReferenceDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class FillReferenceInformation : Docfx.Build.Common.BaseDocumentBuildStep - { - public FillReferenceInformation() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override void Postbuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - } - [System.Composition.Export(typeof(Docfx.Plugins.IDocumentProcessor))] - public class ManagedReferenceDocumentProcessor : Docfx.Build.Common.ReferenceDocumentProcessorBase - { - public ManagedReferenceDocumentProcessor() { } - public override string Name { get; } - protected override string ProcessedDocumentType { get; } - [System.Composition.ImportMany("ManagedReferenceDocumentProcessor")] - public override System.Collections.Generic.IEnumerable BuildSteps { get; set; } - public override Docfx.Plugins.ProcessingPriority GetProcessingPriority(Docfx.Plugins.FileAndType file) { } - protected override Docfx.Plugins.FileModel LoadArticle(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata) { } - public override Docfx.Plugins.SaveResult Save(Docfx.Plugins.FileModel model) { } - protected virtual void UpdateModelContent(Docfx.Plugins.FileModel model) { } - } - public class MergeManagedReferenceDocument : Docfx.Build.Common.BaseDocumentBuildStep - { - public MergeManagedReferenceDocument() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override System.Collections.Generic.IEnumerable Prebuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - } - [System.Composition.Export("ManagedReferenceDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class SplitClassPageToMemberLevel : Docfx.Build.Common.BaseDocumentBuildStep - { - public SplitClassPageToMemberLevel() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override System.Collections.Generic.IEnumerable Prebuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - } - [System.Composition.Export("ManagedReferenceDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class ValidateManagedReferenceDocumentMetadata : Docfx.Build.Common.BaseDocumentBuildStep - { - public ValidateManagedReferenceDocumentMetadata() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override void Build(Docfx.Plugins.FileModel model, Docfx.Plugins.IHostService host) { } - } -} -namespace Docfx.Build.ManagedReference.BuildOutputs -{ - public class ApiBuildOutput - { - public ApiBuildOutput() { } - [Newtonsoft.Json.JsonProperty("additionalNotes")] - [System.Text.Json.Serialization.JsonPropertyName("additionalNotes")] - [YamlDotNet.Serialization.YamlMember(Alias="additionalNotes")] - public Docfx.DataContracts.ManagedReference.AdditionalNotes AdditionalNotes { get; set; } - [Newtonsoft.Json.JsonProperty("assemblies")] - [System.Text.Json.Serialization.JsonPropertyName("assemblies")] - [YamlDotNet.Serialization.YamlMember(Alias="assemblies")] - public System.Collections.Generic.List AssemblyNameList { get; set; } - [Newtonsoft.Json.JsonProperty("attributes")] - [System.Text.Json.Serialization.JsonPropertyName("attributes")] - [YamlDotNet.Serialization.YamlMember(Alias="attributes")] - public System.Collections.Generic.List Attributes { get; set; } - [Newtonsoft.Json.JsonProperty("children")] - [System.Text.Json.Serialization.JsonPropertyName("children")] - [YamlDotNet.Serialization.YamlMember(Alias="children")] - public System.Collections.Generic.List Children { get; set; } - [Newtonsoft.Json.JsonProperty("conceptual")] - [System.Text.Json.Serialization.JsonPropertyName("conceptual")] - [YamlDotNet.Serialization.YamlMember(Alias="conceptual")] - public string Conceptual { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("derivedClasses")] - [System.Text.Json.Serialization.JsonPropertyName("derivedClasses")] - [YamlDotNet.Serialization.YamlMember(Alias="derivedClasses")] - public System.Collections.Generic.List DerivedClasses { get; set; } - [Newtonsoft.Json.JsonProperty("documentation")] - [System.Text.Json.Serialization.JsonPropertyName("documentation")] - [YamlDotNet.Serialization.YamlMember(Alias="documentation")] - public Docfx.DataContracts.Common.SourceDetail Documentation { get; set; } - [Newtonsoft.Json.JsonProperty("example")] - [System.Text.Json.Serialization.JsonPropertyName("example")] - [YamlDotNet.Serialization.YamlMember(Alias="example")] - public System.Collections.Generic.List Examples { get; set; } - [Newtonsoft.Json.JsonProperty("exceptions")] - [System.Text.Json.Serialization.JsonPropertyName("exceptions")] - [YamlDotNet.Serialization.YamlMember(Alias="exceptions")] - public System.Collections.Generic.List Exceptions { get; set; } - [Newtonsoft.Json.JsonProperty("extensionMethods")] - [System.Text.Json.Serialization.JsonPropertyName("extensionMethods")] - [YamlDotNet.Serialization.YamlMember(Alias="extensionMethods")] - public System.Collections.Generic.List ExtensionMethods { get; set; } - [Newtonsoft.Json.JsonProperty("fullName")] - [System.Text.Json.Serialization.JsonPropertyName("fullName")] - [YamlDotNet.Serialization.YamlMember(Alias="fullName")] - public System.Collections.Generic.List FullName { get; set; } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("implements")] - [System.Text.Json.Serialization.JsonPropertyName("implements")] - [YamlDotNet.Serialization.YamlMember(Alias="implements")] - public System.Collections.Generic.List Implements { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("inheritance")] - [System.Text.Json.Serialization.JsonPropertyName("inheritance")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritance")] - public System.Collections.Generic.List Inheritance { get; set; } - [Newtonsoft.Json.JsonProperty("inheritedMembers")] - [System.Text.Json.Serialization.JsonPropertyName("inheritedMembers")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritedMembers")] - public System.Collections.Generic.List InheritedMembers { get; set; } - [Newtonsoft.Json.JsonProperty("isEii")] - [System.Text.Json.Serialization.JsonPropertyName("isEii")] - [YamlDotNet.Serialization.YamlMember(Alias="isEii")] - public bool IsExplicitInterfaceImplementation { get; set; } - [Newtonsoft.Json.JsonProperty("isExtensionMethod")] - [System.Text.Json.Serialization.JsonPropertyName("isExtensionMethod")] - [YamlDotNet.Serialization.YamlMember(Alias="isExtensionMethod")] - public bool IsExtensionMethod { get; set; } - [Newtonsoft.Json.JsonProperty("level")] - [System.Text.Json.Serialization.JsonPropertyName("level")] - [YamlDotNet.Serialization.YamlMember(Alias="level")] - public int Level { get; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public System.Collections.Generic.List Name { get; set; } - [Newtonsoft.Json.JsonProperty("nameWithType")] - [System.Text.Json.Serialization.JsonPropertyName("nameWithType")] - [YamlDotNet.Serialization.YamlMember(Alias="nameWithType")] - public System.Collections.Generic.List NameWithType { get; set; } - [Newtonsoft.Json.JsonProperty("namespace")] - [System.Text.Json.Serialization.JsonPropertyName("namespace")] - [YamlDotNet.Serialization.YamlMember(Alias="namespace")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput NamespaceName { get; set; } - [Newtonsoft.Json.JsonProperty("overload")] - [System.Text.Json.Serialization.JsonPropertyName("overload")] - [YamlDotNet.Serialization.YamlMember(Alias="overload")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Overload { get; set; } - [Newtonsoft.Json.JsonProperty("overridden")] - [System.Text.Json.Serialization.JsonPropertyName("overridden")] - [YamlDotNet.Serialization.YamlMember(Alias="overridden")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Overridden { get; set; } - [Newtonsoft.Json.JsonProperty("parent")] - [System.Text.Json.Serialization.JsonPropertyName("parent")] - [YamlDotNet.Serialization.YamlMember(Alias="parent")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput Parent { get; set; } - [Newtonsoft.Json.JsonProperty("platform")] - [System.Text.Json.Serialization.JsonPropertyName("platform")] - [YamlDotNet.Serialization.YamlMember(Alias="platform")] - public System.Collections.Generic.List Platform { get; set; } - [Newtonsoft.Json.JsonProperty("remarks")] - [System.Text.Json.Serialization.JsonPropertyName("remarks")] - [YamlDotNet.Serialization.YamlMember(Alias="remarks")] - public string Remarks { get; set; } - [Newtonsoft.Json.JsonProperty("seealso")] - [System.Text.Json.Serialization.JsonPropertyName("seealso")] - [YamlDotNet.Serialization.YamlMember(Alias="seealso")] - public System.Collections.Generic.List SeeAlsos { get; set; } - [Newtonsoft.Json.JsonProperty("source")] - [System.Text.Json.Serialization.JsonPropertyName("source")] - [YamlDotNet.Serialization.YamlMember(Alias="source")] - public Docfx.DataContracts.Common.SourceDetail Source { get; set; } - [Newtonsoft.Json.JsonProperty("summary")] - [System.Text.Json.Serialization.JsonPropertyName("summary")] - [YamlDotNet.Serialization.YamlMember(Alias="summary")] - public string Summary { get; set; } - [Newtonsoft.Json.JsonProperty("langs")] - [System.Text.Json.Serialization.JsonPropertyName("langs")] - [YamlDotNet.Serialization.YamlMember(Alias="langs")] - public string[] SupportedLanguages { get; set; } - [Newtonsoft.Json.JsonProperty("syntax")] - [System.Text.Json.Serialization.JsonPropertyName("syntax")] - [YamlDotNet.Serialization.YamlMember(Alias="syntax")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiSyntaxBuildOutput Syntax { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public Docfx.DataContracts.ManagedReference.MemberType? Type { get; set; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiBuildOutput FromModel(Docfx.DataContracts.ManagedReference.PageViewModel model) { } - } - public static class ApiBuildOutputUtility - { - public static Docfx.Build.ManagedReference.BuildOutputs.ApiNames GetApiNames(string key, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static string GetHref(string url, string altText = null) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput GetReferenceViewModel(string key, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput GetReferenceViewModel(string key, System.Collections.Generic.Dictionary references, string[] supportedLanguages, int index) { } - public static System.Collections.Generic.List GetSpec(string key, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static string GetXref(string uid, string text = null) { } - public static System.Collections.Generic.List TransformToLanguagePairList(string defaultValue, System.Collections.Generic.SortedList values, string[] supportedLanguages) { } - } - public class ApiExceptionInfoBuildOutput - { - public ApiExceptionInfoBuildOutput() { } - [Newtonsoft.Json.JsonProperty("description")] - [System.Text.Json.Serialization.JsonPropertyName("description")] - [YamlDotNet.Serialization.YamlMember(Alias="description")] - public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Type { get; set; } - public void Expand(System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiExceptionInfoBuildOutput FromModel(Docfx.DataContracts.ManagedReference.ExceptionInfo model) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiExceptionInfoBuildOutput FromModel(Docfx.DataContracts.ManagedReference.ExceptionInfo model, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - } - public class ApiLanguageValuePair - { - public ApiLanguageValuePair() { } - [Newtonsoft.Json.JsonProperty("lang")] - [System.Text.Json.Serialization.JsonPropertyName("lang")] - [YamlDotNet.Serialization.YamlMember(Alias="lang")] - public string Language { get; set; } - [Newtonsoft.Json.JsonProperty("value")] - [System.Text.Json.Serialization.JsonPropertyName("value")] - [YamlDotNet.Serialization.YamlMember(Alias="value")] - public string Value { get; set; } - } - public class ApiLinkInfoBuildOutput - { - public ApiLinkInfoBuildOutput() { } - [Newtonsoft.Json.JsonProperty("linkType")] - [System.Text.Json.Serialization.JsonPropertyName("linkType")] - [YamlDotNet.Serialization.YamlMember(Alias="linkType")] - public Docfx.DataContracts.ManagedReference.LinkType LinkType { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Type { get; set; } - [Newtonsoft.Json.JsonProperty("url")] - [System.Text.Json.Serialization.JsonPropertyName("url")] - [YamlDotNet.Serialization.YamlMember(Alias="url")] - public string Url { get; set; } - public void Expand(System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiLinkInfoBuildOutput FromModel(Docfx.DataContracts.ManagedReference.LinkInfo model) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiLinkInfoBuildOutput FromModel(Docfx.DataContracts.ManagedReference.LinkInfo model, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - } - public class ApiNames - { - public ApiNames() { } - [Newtonsoft.Json.JsonProperty("definition")] - [System.Text.Json.Serialization.JsonPropertyName("definition")] - [YamlDotNet.Serialization.YamlMember(Alias="definition")] - public string Definition { get; set; } - [Newtonsoft.Json.JsonProperty("fullName")] - [System.Text.Json.Serialization.JsonPropertyName("fullName")] - [YamlDotNet.Serialization.YamlMember(Alias="fullName")] - public System.Collections.Generic.List FullName { get; set; } - [Newtonsoft.Json.JsonProperty("id")] - [System.Text.Json.Serialization.JsonPropertyName("id")] - [YamlDotNet.Serialization.YamlMember(Alias="id")] - public string Id { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public System.Collections.Generic.List Name { get; set; } - [Newtonsoft.Json.JsonProperty("nameWithType")] - [System.Text.Json.Serialization.JsonPropertyName("nameWithType")] - [YamlDotNet.Serialization.YamlMember(Alias="nameWithType")] - public System.Collections.Generic.List NameWithType { get; set; } - [Newtonsoft.Json.JsonProperty("specName")] - [System.Text.Json.Serialization.JsonPropertyName("specName")] - [YamlDotNet.Serialization.YamlMember(Alias="specName")] - public System.Collections.Generic.List Spec { get; set; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiNames FromUid(string uid) { } - } - public class ApiParameterBuildOutput - { - public ApiParameterBuildOutput() { } - [Newtonsoft.Json.JsonProperty("description")] - [System.Text.Json.Serialization.JsonPropertyName("description")] - [YamlDotNet.Serialization.YamlMember(Alias="description")] - public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("id")] - [System.Text.Json.Serialization.JsonPropertyName("id")] - [YamlDotNet.Serialization.YamlMember(Alias="id")] - public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Type { get; set; } - public void Expand(System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiParameterBuildOutput FromModel(Docfx.DataContracts.ManagedReference.ApiParameter model) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiParameterBuildOutput FromModel(Docfx.DataContracts.ManagedReference.ApiParameter model, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - } - public class ApiReferenceBuildOutput - { - public ApiReferenceBuildOutput() { } - [Newtonsoft.Json.JsonProperty("additionalNotes")] - [System.Text.Json.Serialization.JsonPropertyName("additionalNotes")] - [YamlDotNet.Serialization.YamlMember(Alias="additionalNotes")] - public Docfx.DataContracts.ManagedReference.AdditionalNotes AdditionalNotes { get; set; } - [Newtonsoft.Json.JsonProperty("assemblies")] - [System.Text.Json.Serialization.JsonPropertyName("assemblies")] - [YamlDotNet.Serialization.YamlMember(Alias="assemblies")] - public System.Collections.Generic.List AssemblyNameList { get; set; } - [Newtonsoft.Json.JsonProperty("attributes")] - [System.Text.Json.Serialization.JsonPropertyName("attributes")] - [YamlDotNet.Serialization.YamlMember(Alias="attributes")] - public System.Collections.Generic.List Attributes { get; set; } - [Newtonsoft.Json.JsonProperty("conceptual")] - [System.Text.Json.Serialization.JsonPropertyName("conceptual")] - [YamlDotNet.Serialization.YamlMember(Alias="conceptual")] - public string Conceptual { get; set; } - [Newtonsoft.Json.JsonProperty("definition")] - [System.Text.Json.Serialization.JsonPropertyName("definition")] - [YamlDotNet.Serialization.YamlMember(Alias="definition")] - public string Definition { get; set; } - [Newtonsoft.Json.JsonProperty("documentation")] - [System.Text.Json.Serialization.JsonPropertyName("documentation")] - [YamlDotNet.Serialization.YamlMember(Alias="documentation")] - public Docfx.DataContracts.Common.SourceDetail Documentation { get; set; } - [Newtonsoft.Json.JsonProperty("example")] - [System.Text.Json.Serialization.JsonPropertyName("example")] - [YamlDotNet.Serialization.YamlMember(Alias="example")] - public System.Collections.Generic.List Examples { get; set; } - [Newtonsoft.Json.JsonProperty("exceptions")] - [System.Text.Json.Serialization.JsonPropertyName("exceptions")] - [YamlDotNet.Serialization.YamlMember(Alias="exceptions")] - public System.Collections.Generic.List Exceptions { get; set; } - [Newtonsoft.Json.JsonProperty("extensionMethods")] - [System.Text.Json.Serialization.JsonPropertyName("extensionMethods")] - [YamlDotNet.Serialization.YamlMember(Alias="extensionMethods")] - public System.Collections.Generic.List ExtensionMethods { get; set; } - [Newtonsoft.Json.JsonProperty("fullName")] - [System.Text.Json.Serialization.JsonPropertyName("fullName")] - [YamlDotNet.Serialization.YamlMember(Alias="fullName")] - public System.Collections.Generic.List FullName { get; set; } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("implements")] - [System.Text.Json.Serialization.JsonPropertyName("implements")] - [YamlDotNet.Serialization.YamlMember(Alias="implements")] - public System.Collections.Generic.List Implements { get; set; } - [Newtonsoft.Json.JsonProperty("index")] - [System.Text.Json.Serialization.JsonPropertyName("index")] - [YamlDotNet.Serialization.YamlMember(Alias="index")] - public int? Index { get; set; } - [Newtonsoft.Json.JsonProperty("inheritance")] - [System.Text.Json.Serialization.JsonPropertyName("inheritance")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritance")] - public System.Collections.Generic.List Inheritance { get; set; } - [Newtonsoft.Json.JsonProperty("inheritedMembers")] - [System.Text.Json.Serialization.JsonPropertyName("inheritedMembers")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritedMembers")] - public System.Collections.Generic.List InheritedMembers { get; set; } - [Newtonsoft.Json.JsonProperty("isEii")] - [System.Text.Json.Serialization.JsonPropertyName("isEii")] - [YamlDotNet.Serialization.YamlMember(Alias="isEii")] - public bool IsExplicitInterfaceImplementation { get; set; } - [Newtonsoft.Json.JsonProperty("isExtensionMethod")] - [System.Text.Json.Serialization.JsonPropertyName("isExtensionMethod")] - [YamlDotNet.Serialization.YamlMember(Alias="isExtensionMethod")] - public bool IsExtensionMethod { get; set; } - [Newtonsoft.Json.JsonProperty("isExternal")] - [System.Text.Json.Serialization.JsonPropertyName("isExternal")] - [YamlDotNet.Serialization.YamlMember(Alias="isExternal")] - public bool? IsExternal { get; set; } - [Newtonsoft.Json.JsonProperty("level")] - [System.Text.Json.Serialization.JsonPropertyName("level")] - [YamlDotNet.Serialization.YamlMember(Alias="level")] - public int Level { get; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - [System.Text.Json.Serialization.JsonInclude] - [YamlDotNet.Serialization.YamlIgnore] - public Docfx.Common.CompositeDictionary MetadataJson { get; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public System.Collections.Generic.List Name { get; set; } - [Newtonsoft.Json.JsonProperty("nameWithType")] - [System.Text.Json.Serialization.JsonPropertyName("nameWithType")] - [YamlDotNet.Serialization.YamlMember(Alias="nameWithType")] - public System.Collections.Generic.List NameWithType { get; set; } - [Newtonsoft.Json.JsonProperty("namespace")] - [System.Text.Json.Serialization.JsonPropertyName("namespace")] - [YamlDotNet.Serialization.YamlMember(Alias="namespace")] - public string NamespaceName { get; set; } - [Newtonsoft.Json.JsonProperty("overload")] - [System.Text.Json.Serialization.JsonPropertyName("overload")] - [YamlDotNet.Serialization.YamlMember(Alias="overload")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Overload { get; set; } - [Newtonsoft.Json.JsonProperty("overridden")] - [System.Text.Json.Serialization.JsonPropertyName("overridden")] - [YamlDotNet.Serialization.YamlMember(Alias="overridden")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiNames Overridden { get; set; } - [Newtonsoft.Json.JsonProperty("parent")] - [System.Text.Json.Serialization.JsonPropertyName("parent")] - [YamlDotNet.Serialization.YamlMember(Alias="parent")] - public string Parent { get; set; } - [Newtonsoft.Json.JsonProperty("remarks")] - [System.Text.Json.Serialization.JsonPropertyName("remarks")] - [YamlDotNet.Serialization.YamlMember(Alias="remarks")] - public string Remarks { get; set; } - [Newtonsoft.Json.JsonProperty("seealso")] - [System.Text.Json.Serialization.JsonPropertyName("seealso")] - [YamlDotNet.Serialization.YamlMember(Alias="seealso")] - public System.Collections.Generic.List SeeAlsos { get; set; } - [Newtonsoft.Json.JsonProperty("source")] - [System.Text.Json.Serialization.JsonPropertyName("source")] - [YamlDotNet.Serialization.YamlMember(Alias="source")] - public Docfx.DataContracts.Common.SourceDetail Source { get; set; } - [Newtonsoft.Json.JsonProperty("specName")] - [System.Text.Json.Serialization.JsonPropertyName("specName")] - [YamlDotNet.Serialization.YamlMember(Alias="specName")] - public System.Collections.Generic.List Spec { get; set; } - [Newtonsoft.Json.JsonProperty("syntax")] - [System.Text.Json.Serialization.JsonPropertyName("syntax")] - [YamlDotNet.Serialization.YamlMember(Alias="syntax")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiSyntaxBuildOutput Syntax { get; set; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - public void Expand(System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput FromModel(Docfx.DataContracts.ManagedReference.ItemViewModel vm) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput FromModel(Docfx.DataContracts.Common.ReferenceViewModel vm, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiReferenceBuildOutput FromUid(string uid) { } - public static System.Collections.Generic.List GetSpecNames(string xref, string[] supportedLanguages, System.Collections.Generic.SortedList> specs = null) { } - } - public class ApiSyntaxBuildOutput - { - public ApiSyntaxBuildOutput() { } - [Newtonsoft.Json.JsonProperty("content")] - [System.Text.Json.Serialization.JsonPropertyName("content")] - [YamlDotNet.Serialization.YamlMember(Alias="content")] - public System.Collections.Generic.List Content { get; set; } - [Newtonsoft.Json.JsonProperty("parameters")] - [System.Text.Json.Serialization.JsonPropertyName("parameters")] - [YamlDotNet.Serialization.YamlMember(Alias="parameters")] - public System.Collections.Generic.List Parameters { get; set; } - [Newtonsoft.Json.JsonProperty("return")] - [System.Text.Json.Serialization.JsonPropertyName("return")] - [YamlDotNet.Serialization.YamlMember(Alias="return")] - public Docfx.Build.ManagedReference.BuildOutputs.ApiParameterBuildOutput Return { get; set; } - [Newtonsoft.Json.JsonProperty("typeParameters")] - [System.Text.Json.Serialization.JsonPropertyName("typeParameters")] - [YamlDotNet.Serialization.YamlMember(Alias="typeParameters")] - public System.Collections.Generic.List TypeParameters { get; set; } - public void Expand(System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiSyntaxBuildOutput FromModel(Docfx.DataContracts.ManagedReference.SyntaxDetailViewModel model, string[] supportedLanguages) { } - public static Docfx.Build.ManagedReference.BuildOutputs.ApiSyntaxBuildOutput FromModel(Docfx.DataContracts.ManagedReference.SyntaxDetailViewModel model, System.Collections.Generic.Dictionary references, string[] supportedLanguages) { } - } -} -namespace Docfx.Build.OverwriteDocuments -{ - public class Constants - { - public const string OPathLineNumberDataName = "opathLineNumber"; - public const string OPathStringDataName = "opathString"; - public Constants() { } - } - public interface IOverwriteBlockRule - { - string TokenName { get; } - bool Parse(Markdig.Syntax.Block block, out string value); - } - public class InlineCodeHeadingRule : Docfx.Build.OverwriteDocuments.IOverwriteBlockRule - { - public InlineCodeHeadingRule() { } - public virtual string TokenName { get; } - protected virtual int Level { get; set; } - protected virtual bool NeedCheckLevel { get; set; } - public bool Parse(Markdig.Syntax.Block block, out string value) { } - } - public sealed class L1InlineCodeHeadingRule : Docfx.Build.OverwriteDocuments.InlineCodeHeadingRule - { - public L1InlineCodeHeadingRule() { } - protected override int Level { get; } - protected override bool NeedCheckLevel { get; } - public override string TokenName { get; } - } - public sealed class L2InlineCodeHeadingRule : Docfx.Build.OverwriteDocuments.InlineCodeHeadingRule - { - public L2InlineCodeHeadingRule() { } - protected override int Level { get; } - protected override bool NeedCheckLevel { get; } - public override string TokenName { get; } - } - public class MarkdownFragment - { - public MarkdownFragment() { } - public System.Collections.Generic.Dictionary Metadata { get; set; } - public System.Collections.Generic.Dictionary Properties { get; set; } - public bool Touched { get; set; } - public string Uid { get; set; } - public override string ToString() { } - } - public class MarkdownFragmentModel - { - public MarkdownFragmentModel() { } - public System.Collections.Generic.List Contents { get; set; } - public string Uid { get; set; } - public Markdig.Syntax.Block UidSource { get; set; } - public string YamlCodeBlock { get; set; } - public Markdig.Syntax.Block YamlCodeBlockSource { get; set; } - } - public class MarkdownFragmentsCreator - { - public MarkdownFragmentsCreator() { } - public System.Collections.Generic.IEnumerable Create(Markdig.Syntax.MarkdownDocument document) { } - } - public class MarkdownFragmentsException : System.Exception - { - public MarkdownFragmentsException(string message) { } - public MarkdownFragmentsException(string message, int position) { } - public MarkdownFragmentsException(string message, int position, System.Exception inner) { } - public int Position { get; } - } - public class MarkdownProperty - { - public MarkdownProperty() { } - public string Content { get; set; } - public System.Collections.Generic.Dictionary Metadata { get; set; } - public string OPath { get; set; } - public bool Touched { get; set; } - public void SerializeTo(System.Text.StringBuilder sb) { } - } - public class MarkdownPropertyModel - { - public MarkdownPropertyModel() { } - public string PropertyName { get; set; } - public Markdig.Syntax.Block PropertyNameSource { get; set; } - public System.Collections.Generic.List PropertyValue { get; set; } - } - public class OPathSegment - { - public OPathSegment() { } - public string Key { get; set; } - public string OriginalSegmentString { get; set; } - public string SegmentName { get; set; } - public string Value { get; set; } - } - public class OverwriteDocumentModelCreator - { - public OverwriteDocumentModelCreator(string file) { } - public Docfx.Build.Common.OverwriteDocumentModel Create(Docfx.Build.OverwriteDocuments.MarkdownFragmentModel model) { } - } - public static class OverwriteUtility - { - public static void AddOrUpdateFragmentEntity(this System.Collections.Generic.Dictionary fragments, string uid, System.Collections.Generic.Dictionary metadata = null) { } - public static void AddOrUpdateFragmentProperty(this Docfx.Build.OverwriteDocuments.MarkdownFragment fragment, string oPath, string content = null, System.Collections.Generic.Dictionary metadata = null) { } - public static string GetUidWrapper(string uid) { } - public static System.Collections.Generic.List ParseOPath(string OPathString) { } - public static Docfx.Build.OverwriteDocuments.MarkdownFragment ToMarkdownFragment(this Docfx.Build.OverwriteDocuments.MarkdownFragmentModel model, string originalContent = null) { } - public static Docfx.Build.OverwriteDocuments.MarkdownProperty ToMarkdownProperty(this Docfx.Build.OverwriteDocuments.MarkdownPropertyModel model, string originalContent = null) { } - } - public sealed class YamlCodeBlockRule : Docfx.Build.OverwriteDocuments.IOverwriteBlockRule - { - public YamlCodeBlockRule() { } - public string TokenName { get; } - public bool Parse(Markdig.Syntax.Block block, out string value) { } - } -} -namespace Docfx.Build.SchemaDriven -{ - [System.Composition.Export("SchemaDrivenDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class ApplyOverwriteDocument : Docfx.Build.Common.BaseDocumentBuildStep - { - public ApplyOverwriteDocument() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override void Postbuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host) { } - } - [System.Composition.Export("SchemaDrivenDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class ApplyOverwriteFragments : Docfx.Build.Common.BaseDocumentBuildStep - { - public ApplyOverwriteFragments() { } - public override int BuildOrder { get; } - public override string Name { get; } - public override void Build(Docfx.Plugins.FileModel model, Docfx.Plugins.IHostService host) { } - } - public class BaseSchema - { - public BaseSchema() { } - public Docfx.Build.SchemaDriven.ContentType ContentType { get; set; } - public System.Collections.Generic.Dictionary Definitions { get; set; } - public Docfx.Build.SchemaDriven.BaseSchema Items { get; set; } - public Docfx.Build.SchemaDriven.MergeType MergeType { get; set; } - public System.Collections.Generic.Dictionary Properties { get; set; } - [System.Text.Json.Serialization.JsonPropertyName("$ref")] - public string Ref { get; set; } - public Docfx.Build.SchemaDriven.ReferenceType Reference { get; set; } - public System.Collections.Generic.List Tags { get; set; } - public string Title { get; set; } - public Json.Schema.SchemaValueType? Type { get; set; } - public System.Collections.Generic.List XrefProperties { get; set; } - } - [System.Composition.Export("SchemaDrivenDocumentProcessor", typeof(Docfx.Plugins.IDocumentBuildStep))] - public class BuildSchemaBasedDocument : Docfx.Build.Common.BuildReferenceDocumentBase - { - public BuildSchemaBasedDocument() { } - public override int BuildOrder { get; } - public override string Name { get; } - protected override void BuildArticle(Docfx.Plugins.IHostService host, Docfx.Plugins.FileModel model) { } - } - public class ContentAnchorParser : Docfx.Build.SchemaDriven.IContentAnchorParser - { - public const string AnchorContentName = "*content"; - public ContentAnchorParser(string content) { } - public bool ContainsAnchor { get; } - public string Content { get; } - public string Parse(string input) { } - } - public enum ContentType - { - Default = 0, - Uid = 1, - Xref = 2, - Href = 3, - File = 4, - Markdown = 5, - } - public class DocumentSchema : Docfx.Build.SchemaDriven.BaseSchema - { - public DocumentSchema() { } - public bool AllowOverwrite { get; } - public string Metadata { get; set; } - public Docfx.Build.SchemaDriven.JsonPointer MetadataReference { get; } - public Docfx.Build.SchemaDriven.SchemaValidator Validator { get; } - public static Docfx.Build.SchemaDriven.DocumentSchema Load(string content, string title) { } - } - public interface IContentAnchorParser - { - bool ContainsAnchor { get; } - string Content { get; } - string Parse(string input); - } - public interface ISchemaFragmentsHandler - { - void HandleProperty(string propertyKey, YamlDotNet.RepresentationModel.YamlMappingNode node, System.Collections.Generic.Dictionary fragments, Docfx.Build.SchemaDriven.BaseSchema schema, string oPathPrefix, string uid); - void HandleUid(string uidKey, YamlDotNet.RepresentationModel.YamlMappingNode node, System.Collections.Generic.Dictionary fragments, Docfx.Build.SchemaDriven.BaseSchema schema, string oPathPrefix, string uid); - } - public class JsonPointer - { - public JsonPointer(string[] parts) { } - public JsonPointer(string raw) { } - public Docfx.Build.SchemaDriven.BaseSchema FindSchema(Docfx.Build.SchemaDriven.DocumentSchema rootSchema) { } - public Docfx.Build.SchemaDriven.JsonPointer GetParentPointer() { } - public object GetValue(object root) { } - public void SetValue(ref object root, object value) { } - public override string ToString() { } - public static object GetChild(object root, string part) { } - public static Docfx.Build.SchemaDriven.BaseSchema GetChildSchema(Docfx.Build.SchemaDriven.BaseSchema parent, string part) { } - public static void SetChild(object parent, string part, object value) { } - public static bool TryCreate(string raw, out Docfx.Build.SchemaDriven.JsonPointer pointer) { } - } - public enum MergeType - { - Merge = 0, - Key = 1, - Replace = 2, - Ignore = 3, - } - public class OverwriteApplier - { - public OverwriteApplier(Docfx.Plugins.IHostService host, Docfx.Build.SchemaDriven.OverwriteModelType type) { } - public object BuildOverwriteWithSchema(Docfx.Plugins.FileModel owModel, Docfx.Build.Common.OverwriteDocumentModel overwrite, Docfx.Build.SchemaDriven.BaseSchema schema) { } - public void MergeContentWithOverwrite(ref object source, object overwrite, string uid, string path, Docfx.Build.SchemaDriven.BaseSchema schema) { } - public void UpdateXrefSpec(Docfx.Plugins.FileModel fileModel, Docfx.Build.SchemaDriven.BaseSchema schema) { } - } - public enum OverwriteModelType - { - Classic = 0, - MarkdownFragments = 1, - } - public enum ReferenceType - { - None = 0, - File = 1, - } - public class SchemaDrivenDocumentProcessor : Docfx.Build.Common.DisposableDocumentProcessor - { - public SchemaDrivenDocumentProcessor(Docfx.Build.SchemaDriven.DocumentSchema schema, Docfx.Plugins.ICompositionContainer container, Docfx.MarkdigEngine.MarkdigMarkdownService markdigMarkdownService, string siteHostName = null) { } - public override string Name { get; } - public Docfx.Build.SchemaDriven.SchemaValidator SchemaValidator { get; } - public override System.Collections.Generic.IEnumerable BuildSteps { get; set; } - public override Docfx.Plugins.ProcessingPriority GetProcessingPriority(Docfx.Plugins.FileAndType file) { } - public override Docfx.Plugins.FileModel Load(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata) { } - public override Docfx.Plugins.SaveResult Save(Docfx.Plugins.FileModel model) { } - public override void UpdateHref(Docfx.Plugins.FileModel model, Docfx.Plugins.IDocumentBuildContext context) { } - } - public static class SchemaExtensions - { - public static bool IsLegalInFragments(this Docfx.Build.SchemaDriven.BaseSchema schema) { } - public static bool IsRequiredInFragments(this Docfx.Build.SchemaDriven.BaseSchema schema) { } - } - public class SchemaFragmentsIterator - { - public SchemaFragmentsIterator(Docfx.Build.SchemaDriven.ISchemaFragmentsHandler handler) { } - public void Traverse(YamlDotNet.RepresentationModel.YamlNode node, System.Collections.Generic.Dictionary fragments, Docfx.Build.SchemaDriven.BaseSchema schema) { } - } - public class SchemaValidator - { - public SchemaValidator(string json) { } - public void Validate(object obj) { } - } - public class ValidateFragmentsHandler : Docfx.Build.SchemaDriven.ISchemaFragmentsHandler - { - public ValidateFragmentsHandler() { } - public void HandleProperty(string propertyKey, YamlDotNet.RepresentationModel.YamlMappingNode node, System.Collections.Generic.Dictionary fragments, Docfx.Build.SchemaDriven.BaseSchema schema, string oPathPrefix, string uid) { } - public void HandleUid(string uidKey, YamlDotNet.RepresentationModel.YamlMappingNode node, System.Collections.Generic.Dictionary fragments, Docfx.Build.SchemaDriven.BaseSchema schema, string oPathPrefix, string uid) { } - } -} -namespace Docfx.Build.SchemaDriven.Processors -{ - public class FileIncludeInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public FileIncludeInterpreter() { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class FileInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public FileInterpreter(bool exportFileLink, bool updateValue) { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class FragmentsValidationInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public FragmentsValidationInterpreter() { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class HrefInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public HrefInterpreter(bool exportFileLink, bool updateValue, string siteHostName = null) { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public interface IInterpreter - { - bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema); - object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path); - } - public interface IProcessContext - { - Docfx.Plugins.IDocumentBuildContext BuildContext { get; } - Docfx.Build.SchemaDriven.IContentAnchorParser ContentAnchorParser { get; } - System.Collections.Generic.HashSet Dependency { get; } - System.Collections.Generic.List ExternalXRefSpecs { get; } - Docfx.Plugins.FileAndType FileAndType { get; } - System.Collections.Generic.Dictionary> FileLinkSources { get; } - Docfx.Plugins.IHostService Host { get; } - Docfx.MarkdigEngine.MarkdigMarkdownService MarkdigMarkdownService { get; } - System.Collections.Generic.IDictionary Metadata { get; } - Docfx.Plugins.FileAndType OriginalFileAndType { get; } - System.Collections.Generic.Dictionary> PathProperties { get; } - System.Collections.Generic.Dictionary> UidLinkSources { get; } - System.Collections.Generic.List Uids { get; } - System.Collections.Generic.List XRefSpecs { get; } - T GetModel(); - } - public class MarkdownAstInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public MarkdownAstInterpreter(Docfx.Build.SchemaDriven.Processors.IInterpreter inner) { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class MarkdownInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public MarkdownInterpreter() { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class MarkdownWithContentAnchorInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public MarkdownWithContentAnchorInterpreter(Docfx.Build.SchemaDriven.Processors.IInterpreter inner) { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class MergeTypeInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public MergeTypeInterpreter() { } - public int Order { get; } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class ProcessContext : Docfx.Build.SchemaDriven.Processors.IProcessContext - { - public ProcessContext(Docfx.Plugins.IHostService hs, Docfx.Plugins.FileModel fm, Docfx.Plugins.IDocumentBuildContext bc = null) { } - public ProcessContext(Docfx.Plugins.IHostService hs, Docfx.Plugins.FileModel fm, Docfx.Plugins.IDocumentBuildContext bc, Docfx.MarkdigEngine.MarkdigMarkdownService markdigMarkdownService = null) { } - public Docfx.Plugins.IDocumentBuildContext BuildContext { get; } - public Docfx.Build.SchemaDriven.IContentAnchorParser ContentAnchorParser { get; set; } - public System.Collections.Generic.HashSet Dependency { get; } - public System.Collections.Generic.List ExternalXRefSpecs { get; } - public Docfx.Plugins.FileAndType FileAndType { get; } - public System.Collections.Generic.Dictionary> FileLinkSources { get; } - public Docfx.Plugins.IHostService Host { get; } - public Docfx.MarkdigEngine.MarkdigMarkdownService MarkdigMarkdownService { get; set; } - public System.Collections.Generic.IDictionary Metadata { get; } - public Docfx.Plugins.FileAndType OriginalFileAndType { get; } - public System.Collections.Generic.Dictionary> PathProperties { get; } - public System.Collections.Generic.Dictionary> UidLinkSources { get; } - public System.Collections.Generic.List Uids { get; } - public System.Collections.Generic.List XRefSpecs { get; } - public T GetModel() { } - } - public class SchemaProcessor - { - public SchemaProcessor(params Docfx.Build.SchemaDriven.Processors.IInterpreter[] interpreters) { } - public object Process(object raw, Docfx.Build.SchemaDriven.BaseSchema schema, Docfx.Build.SchemaDriven.Processors.IProcessContext context) { } - } - public class XrefInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public XrefInterpreter(bool aggregateXrefs, bool resolveXref) { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } - public class XrefPropertiesInterpreter : Docfx.Build.SchemaDriven.Processors.IInterpreter - { - public XrefPropertiesInterpreter() { } - public bool CanInterpret(Docfx.Build.SchemaDriven.BaseSchema schema) { } - public object Interpret(Docfx.Build.SchemaDriven.BaseSchema schema, object value, Docfx.Build.SchemaDriven.Processors.IProcessContext context, string path) { } - } -} -namespace Docfx.Exceptions -{ - public class InvalidJsonPointerException : Docfx.Plugins.DocumentException - { - public InvalidJsonPointerException() { } - public InvalidJsonPointerException(string message) { } - public InvalidJsonPointerException(string message, System.Exception innerException) { } - } - public class InvalidOverwriteDocumentException : Docfx.Exceptions.DocfxException - { - public InvalidOverwriteDocumentException(string message) { } - } - public class InvalidSchemaException : Docfx.Plugins.DocumentException - { - public InvalidSchemaException(string message) { } - public InvalidSchemaException(string message, System.Exception innerException) { } - } - public class SchemaKeywordNotSupportedException : Docfx.Exceptions.DocfxException - { - public SchemaKeywordNotSupportedException(string keyword) { } - } -} -namespace Docfx.Common -{ - public static class CollectionExtensions - { - public static System.Collections.Generic.IEnumerable Merge(this System.Collections.Generic.IReadOnlyList> sources, System.Collections.Generic.IComparer comparer, System.Func, TResult> merger) { } - } - public static class CollectionUtility - { - public static System.Collections.Immutable.ImmutableArray GetLongestCommonSequence(this System.Collections.Immutable.ImmutableArray leftItems, System.Collections.Immutable.ImmutableArray rightItems) { } - public static void Merge(this System.Collections.Generic.Dictionary> left, System.Collections.Generic.IEnumerable>> right) { } - public static System.Collections.Generic.Dictionary> Merge(this System.Collections.Generic.IDictionary> left, System.Collections.Generic.IEnumerable>> right) { } - public static System.Collections.Immutable.ImmutableDictionary> Merge(this System.Collections.Immutable.ImmutableDictionary> left, System.Collections.Generic.IEnumerable> right) - where TRight : System.Collections.Generic.IEnumerable { } - } - public class CommandInfo - { - public CommandInfo() { } - public string Arguments { get; set; } - public string Name { get; set; } - public string WorkingDirectory { get; set; } - } - public static class CommandUtility - { - public static bool ExistCommand(string commandName, System.Action processOutput = null, System.Action processError = null) { } - public static int RunCommand(Docfx.Common.CommandInfo commandInfo, System.IO.StreamWriter stdoutWriter = null, System.IO.StreamWriter stderrWriter = null, int timeoutInMilliseconds = -1) { } - } - public class CompositeDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable - { - public CompositeDictionary() { } - public int Count { get; } - public bool IsReadOnly { get; } - public object this[string key] { get; set; } - public System.Collections.Generic.ICollection Keys { get; } - public System.Collections.Generic.ICollection Values { get; } - public void Add(string key, object value) { } - public void Clear() { } - public bool ContainsKey(string key) { } - public System.Collections.Generic.IEnumerator> GetEnumerator() { } - public bool Remove(string key) { } - public bool TryGetValue(string key, out object value) { } - public static Docfx.Common.CompositeDictionary.Builder CreateBuilder() { } - public sealed class Builder - { - public Docfx.Common.CompositeDictionary.Builder Add(string prefix, System.Collections.Generic.IDictionary dict, System.Func valueConverter = null) { } - public Docfx.Common.CompositeDictionary Create() { } - } - } - public class CompositeLogListener : Docfx.Common.ILoggerListener, System.IDisposable - { - public CompositeLogListener() { } - public CompositeLogListener(System.Collections.Generic.IEnumerable listeners) { } - public int Count { get; } - public void AddListener(Docfx.Common.ILoggerListener listener) { } - public void AddListeners(System.Collections.Generic.IEnumerable listeners) { } - public void Dispose() { } - public Docfx.Common.ILoggerListener FindListener(System.Predicate predicate) { } - public void Flush() { } - public System.Collections.Generic.IEnumerable GetAllListeners() { } - public void RemoveAllListeners() { } - public void RemoveListener(Docfx.Common.ILoggerListener listener) { } - public void WriteLine(Docfx.Common.ILogItem item) { } - } - public sealed class ConsoleLogListener : Docfx.Common.ILoggerListener, System.IDisposable - { - public ConsoleLogListener() { } - public void Dispose() { } - public void Flush() { } - public void WriteLine(Docfx.Common.ILogItem item) { } - } - public static class ConvertToObjectHelper - { - public static object ConvertExpandoObjectToObject(object raw) { } - public static object? ConvertJObjectToObject(object raw) { } - public static object ConvertStrongTypeToJObject(object raw) { } - public static object ConvertStrongTypeToObject(object raw) { } - public static object ConvertToDynamic(object obj) { } - } - public static class ErrorCodes - { - public static class Build - { - public const string FatalError = "FatalError"; - public const string FileNamesMaxLengthExceeded = "FileNamesMaxLengthExceeded"; - public const string InternalUidNotFound = "InternalUidNotFound"; - public const string InvalidHref = "InvalidHref"; - public const string InvalidInputFile = "InvalidInputFile"; - public const string InvalidMarkdown = "InvalidMarkdown"; - public const string InvalidPropertyFormat = "InvalidPropertyFormat"; - public const string InvalidRelativePath = "InvalidRelativePath"; - public const string InvalidYamlFile = "InvalidYamlFile"; - public const string TopicHrefNotset = "TopicHrefNotset"; - public const string UidFoundInMultipleArticles = "UidFoundInMultipleArticles"; - public const string UnsupportedTocHrefType = "UnsupportedTocHrefType"; - public const string ViolateSchema = "ViolateSchema"; - } - public static class Overwrite - { - public const string InvalidOverwriteDocument = "InvalidOverwriteDocument"; - public const string OverwriteDocumentMergeError = "OverwriteDocumentMergeError"; - } - public static class Template - { - public const string ApplyTemplatePreprocessorError = "ApplyTemplatePreprocessorError"; - public const string ApplyTemplateRendererError = "ApplyTemplateRendererError"; - } - public static class Toc - { - public const string CircularTocInclusion = "CircularTocInclusion"; - public const string InvalidMarkdownToc = "InvalidMarkdownToc"; - public const string InvalidTocFile = "InvalidTocFile"; - public const string InvalidTocLink = "InvalidTocLink"; - } - } - public class FileAbstractLayer : Docfx.Plugins.IFileAbstractLayer - { - public FileAbstractLayer(Docfx.Common.IFileReader reader, Docfx.Common.IFileWriter writer) { } - public Docfx.Common.IFileReader Reader { get; } - public Docfx.Common.IFileWriter Writer { get; } - public void Copy(Docfx.Common.RelativePath sourceFileName, Docfx.Common.RelativePath destFileName) { } - public void Copy(string sourceFileName, string destFileName) { } - public System.IO.Stream Create(Docfx.Common.RelativePath file) { } - public System.IO.Stream Create(string file) { } - public bool Exists(Docfx.Common.RelativePath file) { } - public bool Exists(string file) { } - public System.Collections.Generic.IEnumerable GetAllInputFiles() { } - public string GetExpectedPhysicalPath(Docfx.Common.RelativePath file) { } - public string GetExpectedPhysicalPath(string file) { } - public string GetPhysicalPath(Docfx.Common.RelativePath file) { } - public string GetPhysicalPath(string file) { } - public System.IO.Stream OpenRead(Docfx.Common.RelativePath file) { } - public System.IO.Stream OpenRead(string file) { } - } - public class FileAbstractLayerBuilder - { - public static readonly Docfx.Common.FileAbstractLayerBuilder Default; - public Docfx.Common.FileAbstractLayer Create() { } - public Docfx.Common.FileAbstractLayerBuilder ReadFromManifest(Docfx.Plugins.Manifest manifest, string manifestFolder) { } - public Docfx.Common.FileAbstractLayerBuilder ReadFromOutput(Docfx.Common.FileAbstractLayer fal) { } - public Docfx.Common.FileAbstractLayerBuilder ReadFromRealFileSystem(string folder) { } - public Docfx.Common.FileAbstractLayerBuilder WriteToManifest(Docfx.Plugins.Manifest manifest, string manifestFolder, string outputFolder = null) { } - public Docfx.Common.FileAbstractLayerBuilder WriteToRealFileSystem(string folder) { } - } - public static class FileAbstractLayerExtensions - { - public static System.IO.StreamWriter CreateText(this Docfx.Common.FileAbstractLayer fal, Docfx.Common.RelativePath file) { } - public static string GetOutputPhysicalPath(this Docfx.Common.FileAbstractLayer fal, string file) { } - public static System.IO.StreamReader OpenReadText(this Docfx.Common.FileAbstractLayer fal, Docfx.Common.RelativePath file) { } - public static string ReadAllText(this Docfx.Common.FileAbstractLayer fal, Docfx.Common.RelativePath file) { } - public static string ReadAllText(this Docfx.Common.FileAbstractLayer fal, string file) { } - public static void WriteAllText(this Docfx.Common.FileAbstractLayer fal, Docfx.Common.RelativePath file, string content) { } - public static void WriteAllText(this Docfx.Common.FileAbstractLayer fal, string file, string content) { } - } - public class FileLinkInfo : Docfx.Plugins.IFileLinkInfo - { - public FileLinkInfo() { } - public FileLinkInfo(string fromFileInSource, string fromFileInDest, string href, Docfx.Plugins.IDocumentBuildContext context) { } - public bool IsResolved { get; } - public string FileLinkInDest { get; init; } - public string FileLinkInSource { get; init; } - public string FromFileInDest { get; init; } - public string FromFileInSource { get; init; } - public Docfx.Plugins.GroupInfo GroupInfo { get; init; } - public string Href { get; init; } - public string ToFileInDest { get; init; } - public string ToFileInSource { get; init; } - } - public class FilePathComparer : System.Collections.Generic.IEqualityComparer - { - public static readonly Docfx.Common.FilePathComparer OSPlatformSensitiveComparer; - public static readonly Docfx.Common.FilePathComparer OSPlatformSensitiveRelativePathComparer; - public static readonly System.StringComparer OSPlatformSensitiveStringComparer; - public FilePathComparer() { } - public FilePathComparer(bool ignoreToFullPath) { } - public bool Equals(string x, string y) { } - public int GetHashCode(string obj) { } - } - public abstract class FileWriterBase : Docfx.Common.IFileWriter - { - public FileWriterBase(string outputFolder) { } - public string ExpandedOutputFolder { get; } - public string OutputFolder { get; } - public abstract void Copy(Docfx.Common.PathMapping sourceFileName, Docfx.Common.RelativePath destFileName); - public abstract System.IO.Stream Create(Docfx.Common.RelativePath filePath); - public abstract Docfx.Common.IFileReader CreateReader(); - protected static void EnsureFolder(string folder) { } - } - public interface IFileReader - { - System.Collections.Generic.IEnumerable EnumerateFiles(); - Docfx.Common.PathMapping? FindFile(Docfx.Common.RelativePath file); - string GetExpectedPhysicalPath(Docfx.Common.RelativePath file); - } - public interface IFileWriter - { - void Copy(Docfx.Common.PathMapping sourceFileName, Docfx.Common.RelativePath destFileName); - System.IO.Stream Create(Docfx.Common.RelativePath file); - Docfx.Common.IFileReader CreateReader(); - } - public interface ILogItem - { - string Code { get; } - string File { get; } - string Line { get; } - Docfx.Common.LogLevel LogLevel { get; } - string Message { get; } - } - public interface ILoggerListener : System.IDisposable - { - void Flush(); - void WriteLine(Docfx.Common.ILogItem item); - } - public class JObjectDictionaryToObjectDictionaryConverter : Newtonsoft.Json.JsonConverter - { - public JObjectDictionaryToObjectDictionaryConverter() { } - public override bool CanConvert(System.Type objectType) { } - public override object ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { } - public override void WriteJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { } - } - public static class JsonUtility - { - public static T Deserialize(System.IO.TextReader reader) { } - public static T Deserialize(string path) { } - public static T FromJsonString(this string json) { } - public static string Serialize(T graph, bool indented = false) { } - public static void Serialize(string path, T graph, bool indented = false) { } - public static string ToJsonString(this T graph) { } - } - public enum LogLevel - { - Diagnostic = -1, - Verbose = 0, - Info = 1, - Suggestion = 2, - Warning = 3, - Error = 4, - } - public static class Logger - { - public const int WarningThrottling = 10000; - public static volatile Docfx.Common.LogLevel LogLevelThreshold; - public static volatile System.Collections.Generic.Dictionary<, > Rules; - public static volatile bool WarningsAsErrors; - public static int ErrorCount { get; } - public static bool HasError { get; } - public static int WarningCount { get; } - public static Docfx.Common.ILoggerListener FindListener(System.Predicate predicate) { } - public static void Flush() { } - public static System.Collections.Generic.IEnumerable GetAllListeners() { } - public static Docfx.Common.ILogItem GetLogItem(Docfx.Common.LogLevel level, string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void Log(object result) { } - public static void Log(Docfx.Common.LogLevel level, string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void LogDiagnostic(string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void LogError(string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void LogInfo(string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void LogSuggestion(string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void LogVerbose(string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void LogWarning(string message, string phase = null, string file = null, string line = null, string code = null) { } - public static void PrintSummary() { } - public static void RegisterListener(Docfx.Common.ILoggerListener listener) { } - public static void RegisterListeners(System.Collections.Generic.IEnumerable listeners) { } - public static void ResetCount() { } - public static void UnregisterAllListeners() { } - public static void UnregisterListener(Docfx.Common.ILoggerListener listener) { } - } - public sealed class LoggerFileScope : System.IDisposable - { - public LoggerFileScope(string fileName) { } - public void Dispose() { } - } - public class LruList - { - protected LruList(int capacity, System.Action onRemoving, System.Collections.Generic.IEqualityComparer comparer) { } - public void Access(T item) { } - protected virtual void AccessNoCheck(T item) { } - public virtual bool Contains(T item) { } - public virtual bool TryFind(System.Func func, out T item) { } - public static Docfx.Common.LruList Create(int capacity, System.Action onRemoving = null, System.Collections.Generic.IEqualityComparer comparer = null) { } - public static Docfx.Common.LruList CreateSynchronized(int capacity, System.Action onRemoving = null, System.Collections.Generic.IEqualityComparer comparer = null) { } - } - public static class ManifestFileHelper - { - public static void Dereference(this Docfx.Plugins.Manifest manifest, string manifestFolder, int parallelism) { } - } - public class ManifestFileReader : Docfx.Common.IFileReader - { - public ManifestFileReader(Docfx.Plugins.Manifest manifest, string manifestFolder) { } - public System.Collections.Generic.IEnumerable EnumerateFiles() { } - public Docfx.Common.PathMapping? FindFile(Docfx.Common.RelativePath file) { } - public string GetExpectedPhysicalPath(Docfx.Common.RelativePath file) { } - } - public class ManifestFileWriter : Docfx.Common.FileWriterBase - { - public ManifestFileWriter(Docfx.Plugins.Manifest manifest, string manifestFolder, string outputFolder) { } - public override void Copy(Docfx.Common.PathMapping sourceFileName, Docfx.Common.RelativePath destFileName) { } - public override System.IO.Stream Create(Docfx.Common.RelativePath file) { } - public override Docfx.Common.IFileReader CreateReader() { } - } - public readonly struct PathMapping - { - public PathMapping(Docfx.Common.RelativePath logicalPath, string physicalPath) { } - public Docfx.Common.RelativePath LogicalPath { get; } - public string PhysicalPath { get; } - } - public static class PathUtility - { - public static readonly char[] InvalidFileNameChars; - public static readonly char[] InvalidPathChars; - public static string FormatPath(this string path, System.UriKind kind, string basePath = null) { } - public static bool IsPathCaseInsensitive() { } - public static bool IsRelativePath(string path) { } - public static string MakeRelativePath(string basePath, string absolutePath) { } - public static string ToCleanUrlFileName(this string input, string replacement = "-") { } - } - public class RealFileReader : Docfx.Common.IFileReader - { - public RealFileReader(string inputFolder) { } - public System.Collections.Generic.IEnumerable EnumerateFiles() { } - public Docfx.Common.PathMapping? FindFile(Docfx.Common.RelativePath file) { } - public string GetExpectedPhysicalPath(Docfx.Common.RelativePath file) { } - } - public class RealFileWriter : Docfx.Common.FileWriterBase - { - public RealFileWriter(string outputFolder) { } - public override void Copy(Docfx.Common.PathMapping sourceFileName, Docfx.Common.RelativePath destFileName) { } - public override System.IO.Stream Create(Docfx.Common.RelativePath file) { } - public override Docfx.Common.IFileReader CreateReader() { } - } - public sealed class RelativePath : System.IEquatable - { - public const char WorkingFolderChar = '~'; - public const string WorkingFolderString = "~"; - public static readonly string AltWorkingFolder; - public static readonly Docfx.Common.RelativePath Empty; - public static readonly char[] InvalidPartChars; - public static readonly string NormalizedWorkingFolder; - public static readonly Docfx.Common.RelativePath WorkingFolder; - public string FileName { get; } - public bool IsEmpty { get; } - public int ParentDirectoryCount { get; } - public int SubdirectoryCount { get; } - public Docfx.Common.RelativePath BasedOn(Docfx.Common.RelativePath path) { } - public Docfx.Common.RelativePath ChangeFileName(string fileName) { } - public bool Equals(Docfx.Common.RelativePath other) { } - public override bool Equals(object obj) { } - public Docfx.Common.RelativePath GetDirectoryPath() { } - public string GetFileNameWithoutExtension() { } - public override int GetHashCode() { } - public Docfx.Common.RelativePath GetPathFromWorkingFolder() { } - public bool InDirectory(Docfx.Common.RelativePath value) { } - public bool IsFromWorkingFolder() { } - public Docfx.Common.RelativePath MakeRelativeTo(Docfx.Common.RelativePath relativeTo) { } - public Docfx.Common.RelativePath Rebase(Docfx.Common.RelativePath from, Docfx.Common.RelativePath to) { } - public Docfx.Common.RelativePath RemoveWorkingFolder() { } - public override string ToString() { } - public Docfx.Common.RelativePath UrlDecode() { } - public Docfx.Common.RelativePath UrlDecodeUnsafe() { } - public Docfx.Common.RelativePath UrlEncode() { } - public static Docfx.Common.RelativePath FromUrl(string path) { } - public static string GetPathWithoutWorkingFolderChar(string path) { } - public static bool IsPathFromWorkingFolder(string path) { } - public static bool IsRelativePath(string path) { } - public static Docfx.Common.RelativePath Parse(string path) { } - public static bool TryGetPathWithoutWorkingFolderChar(string path, out string pathFromWorkingFolder) { } - public static Docfx.Common.RelativePath TryParse(string path) { } - public static Docfx.Common.RelativePath op_Explicit(string path) { } - public static string op_Implicit(Docfx.Common.RelativePath path) { } - public static bool operator !=(Docfx.Common.RelativePath left, Docfx.Common.RelativePath right) { } - public static Docfx.Common.RelativePath operator +(Docfx.Common.RelativePath left, Docfx.Common.RelativePath right) { } - public static Docfx.Common.RelativePath operator -(Docfx.Common.RelativePath left, Docfx.Common.RelativePath right) { } - public static bool operator ==(Docfx.Common.RelativePath left, Docfx.Common.RelativePath right) { } - } - public sealed class ReportLogListener : Docfx.Common.ILoggerListener, System.IDisposable - { - public ReportLogListener(string reportPath) { } - public void Dispose() { } - public void Flush() { } - public void WriteLine(Docfx.Common.ILogItem item) { } - } - public sealed class ResourceLease : System.IDisposable - where T : class - { - public T Resource { get; } - public void Dispose() { } - } - public static class ResourcePool - { - public static Docfx.Common.ResourcePoolManager Create(System.Func creator, int maxResourceCount) - where T : class { } - } - public class ResourcePoolManager : System.IDisposable - where TResource : class - { - public ResourcePoolManager(System.Func creator, int maxResourceCount) { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - protected override void Finalize() { } - public Docfx.Common.ResourceLease Rent() { } - } - public static class StringExtension - { - public static string BackSlashToForwardSlash(this string input) { } - public static string ForwardSlashCombine(this string baseAddress, string relativeAddress) { } - public static string ToDelimitedString(this System.Collections.Generic.IEnumerable input, string delimiter = ",") { } - public static string ToDisplayPath(this string path) { } - public static string ToNormalizedFullPath(this string path) { } - public static string ToNormalizedPath(this string path) { } - public static string TrimEnd(this string input, string suffixToRemove) { } - } - public static class SuggestionCodes - { - public static class Build - { - public const string EmptyInputContents = "EmptyInputContents"; - public const string EmptyInputFiles = "EmptyInputFiles"; - } - } - public static class TreeIterator - { - public static void Preorder(T current, T parent, System.Func> childrenGetter, System.Func action) { } - public static System.Threading.Tasks.Task PreorderAsync(T current, T parent, System.Func> childrenGetter, System.Func> action) { } - public static T PreorderFirstOrDefault(T current, System.Func> childrenGetter, System.Func predicate) { } - } - public static class UriUtility - { - public static string GetFragment(string uriString) { } - public static string GetNonFragment(string uriString) { } - public static string GetPath(string uriString) { } - public static string GetQueryString(string uriString) { } - public static string GetQueryStringAndFragment(string uriString) { } - public static bool HasFragment(string uriString) { } - public static bool HasQueryString(string uriString) { } - public static string MergeHref(string target, string source) { } - [return: System.Runtime.CompilerServices.TupleElementNames(new string[] { - "path", - "query", - "fragment"})] - public static System.ValueTuple Split(string uri) { } - } - public static class WarningCodes - { - public static class Build - { - public const string DuplicateOutputFiles = "DuplicateOutputFiles"; - public const string DuplicateUids = "DuplicateUids"; - public const string EmptyTocItemName = "EmptyTocItemName"; - public const string EmptyTocItemNode = "EmptyTocItemNode"; - public const string InvalidBookmark = "InvalidBookmark"; - public const string InvalidFileLink = "InvalidFileLink"; - public const string InvalidTagParametersConfig = "InvalidTagParametersConfig"; - public const string InvalidTaggedPropertyType = "InvalidTaggedPropertyType"; - public const string InvalidTocInclude = "InvalidTocInclude"; - public const string ReferencedXrefPropertyNotString = "ReferencedXrefPropertyNotString"; - public const string TooManyWarnings = "TooManyWarnings"; - public const string UidNotFound = "UidNotFound"; - public const string UnknownContentType = "UnknownContentType"; - public const string UnknownContentTypeForTemplate = "UnknownContentTypeForTemplate"; - public const string UnknownUriTemplatePipeline = "UnknownUriTemplatePipeline"; - } - public static class Markdown - { - public const string DifferentTabIdSet = "DifferentTabIdSet"; - public const string DuplicateTabId = "DuplicateTabId"; - public const string InvalidCodeSnippet = "InvalidCodeSnippet"; - public const string InvalidInclude = "InvalidInclude"; - public const string InvalidInlineCodeSnippet = "InvalidInlineCodeSnippet"; - public const string InvalidTabGroup = "InvalidTabGroup"; - public const string InvalidYamlHeader = "InvalidYamlHeader"; - public const string MissingNewLineBelowSectionHeader = "MissingNewLineBelowSectionHeader"; - public const string NoVisibleTab = "NoVisibleTab"; - } - public static class Overwrite - { - public const string DuplicateOPaths = "DuplicateOPaths"; - public const string InvalidMarkdownFragments = "InvalidMarkdownFragments"; - public const string InvalidOPaths = "InvalidOPaths"; - public const string InvalidYamlCodeBlockLanguage = "InvalidYamlCodeBlockLanguage"; - } - public static class Yaml - { - public const string MissingYamlMime = "MissingYamlMime"; - } - } - public static class XrefUtility - { - public static bool TryGetXrefStringValue(this Docfx.Plugins.XRefSpec spec, string key, out string value) { } - } - public class YamlDeserializerWithFallback - { - public object Deserialize(System.Func reader) { } - public object Deserialize(string filePath) { } - public Docfx.Common.YamlDeserializerWithFallback WithFallback() { } - public static Docfx.Common.YamlDeserializerWithFallback Create() { } - } - public static class YamlMime - { - public const string ManagedReference = "YamlMime:ManagedReference"; - public const string TableOfContent = "YamlMime:TableOfContent"; - public const string XRefMap = "YamlMime:XRefMap"; - public const string YamlMimePrefix = "YamlMime:"; - public static string? ReadMime(System.IO.TextReader reader) { } - public static string? ReadMime(string file) { } - } - public static class YamlUtility - { - public static T ConvertTo(object obj) { } - public static T Deserialize(System.IO.TextReader reader) { } - public static T Deserialize(string path) { } - public static void Serialize(System.IO.TextWriter writer, object graph) { } - public static void Serialize(System.IO.TextWriter writer, object graph, string comments) { } - public static void Serialize(string path, object graph, string comments) { } - } -} -namespace Docfx.Common.EntityMergers -{ - public class DictionaryMerger : Docfx.Common.EntityMergers.MergerDecorator - { - public DictionaryMerger(Docfx.Common.EntityMergers.IMerger inner) { } - public override void Merge(ref object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context) { } - } - public interface IMergeContext - { - object this[string key] { get; } - Docfx.Common.EntityMergers.IMerger Merger { get; } - } - public interface IMergeHandler - { - void Merge(ref object source, object overrides, Docfx.Common.EntityMergers.IMergeContext context); - } - public interface IMerger - { - void Merge(ref object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context); - bool TestKey(object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context); - } - public class JArrayMerger : Docfx.Common.EntityMergers.MergerDecorator - { - public JArrayMerger(Docfx.Common.EntityMergers.IMerger inner) { } - public override void Merge(ref object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context) { } - } - public class JObjectMerger : Docfx.Common.EntityMergers.MergerDecorator - { - public JObjectMerger(Docfx.Common.EntityMergers.IMerger inner) { } - public override void Merge(ref object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context) { } - } - public class KeyedListMerger : Docfx.Common.EntityMergers.MergerDecorator - { - public KeyedListMerger(Docfx.Common.EntityMergers.IMerger inner) { } - public override void Merge(ref object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context) { } - } - public enum MergeOption - { - MergeKey = -2, - Ignore = -1, - Merge = 0, - MergeNullOrDefault = 1, - Replace = 2, - ReplaceNullOrDefault = 3, - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)] - public sealed class MergeOptionAttribute : System.Attribute - { - public MergeOptionAttribute(Docfx.Common.EntityMergers.MergeOption option = 0) { } - public MergeOptionAttribute(System.Type handlerType) { } - public Docfx.Common.EntityMergers.IMergeHandler Handler { get; } - public Docfx.Common.EntityMergers.MergeOption Option { get; } - } - public abstract class MergerDecorator : Docfx.Common.EntityMergers.IMerger - { - protected MergerDecorator(Docfx.Common.EntityMergers.IMerger inner) { } - public virtual void Merge(ref object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context) { } - public virtual bool TestKey(object source, object overrides, System.Type type, Docfx.Common.EntityMergers.IMergeContext context) { } - } - public class MergerFacade - { - public MergerFacade(Docfx.Common.EntityMergers.IMerger merger) { } - public void Merge(ref T source, T overrides, System.Collections.Generic.IReadOnlyDictionary data = null) - where T : class { } - } - public class ReflectionEntityMerger : Docfx.Common.EntityMergers.IMerger - { - public ReflectionEntityMerger() { } - } -} -namespace Docfx.Common.Git -{ - public class GitDetail : System.IEquatable - { - public GitDetail() { } - [Newtonsoft.Json.JsonProperty("branch")] - [System.Text.Json.Serialization.JsonPropertyName("branch")] - [YamlDotNet.Serialization.YamlMember(Alias="branch")] - public string Branch { get; set; } - [Newtonsoft.Json.JsonProperty("path")] - [System.Text.Json.Serialization.JsonPropertyName("path")] - [YamlDotNet.Serialization.YamlMember(Alias="path")] - public string Path { get; set; } - [Newtonsoft.Json.JsonProperty("repo")] - [System.Text.Json.Serialization.JsonPropertyName("repo")] - [YamlDotNet.Serialization.YamlMember(Alias="repo")] - public string Repo { get; set; } - } - public class GitSource : System.IEquatable - { - public GitSource(string Repo, string Branch, string Path, int Line) { } - public string Branch { get; init; } - public int Line { get; init; } - public string Path { get; init; } - public string Repo { get; init; } - } - public static class GitUtility - { - public static string? GetSourceUrl(Docfx.Common.Git.GitSource source) { } - public static string? RawContentUrlToContentUrl(string rawUrl) { } - public static Docfx.Common.Git.GitDetail? TryGetFileDetail(string filePath) { } - } -} -namespace Docfx.Exceptions -{ - public class DocfxException : System.Exception - { - public DocfxException() { } - public DocfxException(string message) { } - public DocfxException(string message, System.Exception innerException) { } - } -} -namespace Docfx -{ - [System.Text.Json.Serialization.JsonConverter(typeof(Docfx.FileItemsConverter))] - public class FileItems : System.Collections.Generic.List - { - public FileItems(System.Collections.Generic.IEnumerable files) { } - public FileItems(string file) { } - public static Docfx.FileItems op_Explicit(string input) { } - } - [Newtonsoft.Json.JsonConverter(typeof(Docfx.FileMappingConverter.NewtonsoftJsonConverter))] - [System.Text.Json.Serialization.JsonConverter(typeof(Docfx.FileMappingConverter.SystemTextJsonConverter))] - public class FileMapping - { - public FileMapping() { } - public FileMapping(Docfx.FileMappingItem item) { } - public FileMapping(System.Collections.Generic.IEnumerable items) { } - public bool Expanded { get; set; } - public System.Collections.Generic.IReadOnlyList Items { get; } - public string RootTocPath { get; } - public void Add(Docfx.FileMappingItem item) { } - } - public class FileMappingItem - { - public FileMappingItem() { } - public FileMappingItem(params string[] files) { } - [Newtonsoft.Json.JsonProperty("case")] - [System.Text.Json.Serialization.JsonPropertyName("case")] - public bool? Case { get; set; } - [Newtonsoft.Json.JsonProperty("dest")] - [System.Text.Json.Serialization.JsonPropertyName("dest")] - public string Dest { get; set; } - [Newtonsoft.Json.JsonProperty("noNegate")] - [System.Text.Json.Serialization.JsonPropertyName("noNegate")] - public bool? DisableNegate { get; set; } - [Newtonsoft.Json.JsonProperty("dot")] - [System.Text.Json.Serialization.JsonPropertyName("dot")] - public bool? Dot { get; set; } - [Newtonsoft.Json.JsonProperty("exclude")] - [System.Text.Json.Serialization.JsonPropertyName("exclude")] - public Docfx.FileItems Exclude { get; set; } - [Newtonsoft.Json.JsonProperty("files")] - [System.Text.Json.Serialization.JsonPropertyName("files")] - public Docfx.FileItems Files { get; set; } - [Newtonsoft.Json.JsonProperty("group")] - [System.Text.Json.Serialization.JsonPropertyName("group")] - public string Group { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("noEscape")] - [System.Text.Json.Serialization.JsonPropertyName("noEscape")] - public bool? NoEscape { get; set; } - [Newtonsoft.Json.JsonProperty("noExpand")] - [System.Text.Json.Serialization.JsonPropertyName("noExpand")] - public bool? NoExpand { get; set; } - [Newtonsoft.Json.JsonProperty("noGlobStar")] - [System.Text.Json.Serialization.JsonPropertyName("noGlobStar")] - public bool? NoGlobStar { get; set; } - [Newtonsoft.Json.JsonProperty("rootTocPath")] - [System.Text.Json.Serialization.JsonPropertyName("rootTocPath")] - public string RootTocPath { get; set; } - [Newtonsoft.Json.JsonProperty("src")] - [System.Text.Json.Serialization.JsonPropertyName("src")] - public string Src { get; set; } - } -} -namespace Docfx.DataContracts.Common -{ - public static class Constants - { - public const string ConfigFileName = "docfx.json"; - public const string ContentPlaceholder = "*content"; - public const string PrefixSeparator = "."; - public const string TocYamlFileName = "toc.yml"; - public const string YamlExtension = ".yml"; - public static class DevLang - { - public const string CSharp = "csharp"; - public const string VB = "vb"; - } - public static class DocumentType - { - public const string Conceptual = "Conceptual"; - public const string ManagedReference = "ManagedReference"; - public const string Redirection = "Redirection"; - public const string Resource = "Resource"; - public const string Toc = "Toc"; - } - public static class EnvironmentVariables - { - public const string DOCFX_KEEP_DEBUG_INFO = "DOCFX_KEEP_DEBUG_INFO"; - public const string DOCFX_NO_CHECK_CERTIFICATE_REVOCATION_LIST = "DOCFX_NO_CHECK_CERTIFICATE_REVOCATION_LIST"; - public const string DOCFX_SOURCE_BRANCH_NAME = "DOCFX_SOURCE_BRANCH_NAME"; - public static string? KeepDebugInfo { get; } - public static bool NoCheckCertificateRevocationList { get; } - public static string? SourceBranchName { get; } - } - public static class ExtensionMemberPrefix - { - public const string Assemblies = "assemblies."; - public const string Children = "children."; - public const string Content = "content."; - public const string DerivedClasses = "derivedClasses."; - public const string Exceptions = "exceptions."; - public const string ExtensionMethods = "extensionMethods."; - public const string FullName = "fullName."; - public const string Implements = "implements."; - public const string Inheritance = "inheritance."; - public const string InheritedMembers = "inheritedMembers."; - public const string Name = "name."; - public const string NameWithType = "nameWithType."; - public const string Namespace = "namespace."; - public const string Overload = "overload."; - public const string Overridden = "overridden."; - public const string Parent = "parent."; - public const string Platform = "platform."; - public const string Return = "return."; - public const string Source = "source."; - public const string Spec = "spec."; - } - public static class JsonSchemas - { - public const string Docfx = "schemas/docfx.schema.json"; - public const string FilterConfig = "schemas/filterconfig.schema.json"; - public const string Toc = "schemas/toc.schema.json"; - public const string XrefMap = "schemas/xrefmap.schema.json"; - } - public static class MetadataName - { - public const string Version = "version"; - } - public static class PropertyName - { - public const string AdditionalNotes = "additionalNotes"; - public const string Assemblies = "assemblies"; - public const string Children = "children"; - public const string CommentId = "commentId"; - public const string Conceptual = "conceptual"; - public const string Content = "content"; - public const string DerivedClasses = "derivedClasses"; - public const string DisplayName = "displayName"; - public const string DocumentType = "documentType"; - public const string Documentation = "documentation"; - public const string Exceptions = "exceptions"; - public const string ExtensionMethods = "extensionMethods"; - public const string FullName = "fullName"; - public const string Href = "href"; - public const string Id = "id"; - public const string Implements = "implements"; - public const string Inheritance = "inheritance"; - public const string InheritedMembers = "inheritedMembers"; - public const string IsEii = "isEii"; - public const string Name = "name"; - public const string NameWithType = "nameWithType"; - public const string Namespace = "namespace"; - public const string OutputFileName = "outputFileName"; - public const string Overload = "overload"; - public const string Overridden = "overridden"; - public const string Parent = "parent"; - public const string Path = "path"; - public const string Platform = "platform"; - public const string RedirectUrl = "redirect_url"; - public const string Return = "return"; - public const string SeeAlsoContent = "seealsoContent"; - public const string Source = "source"; - public const string Summary = "summary"; - public const string Syntax = "syntax"; - public const string SystemKeys = "_systemKeys"; - public const string Title = "title"; - public const string TitleOverwriteH1 = "titleOverwriteH1"; - public const string TocHref = "tocHref"; - public const string TopicHref = "topicHref"; - public const string TopicUid = "topicUid"; - public const string Type = "type"; - public const string Uid = "uid"; - } - public static class Switches - { - public const string DotnetToolMode = "Docfx.DotnetToolMode"; - public static bool IsDotnetToolsMode { get; } - } - public static class TableOfContents - { - public const string MarkdownTocFileName = "toc.md"; - public const string YamlTocFileName = "toc.yml"; - } - } - public class ExternalReferencePackageCollection : System.IDisposable - { - public ExternalReferencePackageCollection(System.Collections.Generic.IEnumerable packageFiles, int maxParallelism, System.Threading.CancellationToken cancellationToken) { } - public System.Collections.Immutable.ImmutableList Readers { get; } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - protected override void Finalize() { } - public bool TryGetReference(string uid, out Docfx.DataContracts.Common.ReferenceViewModel vm) { } - } - public class ExternalReferencePackageReader : System.IDisposable - { - public ExternalReferencePackageReader(string packageFile) { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - protected override void Finalize() { } - protected virtual int SeekUidIndex(string uid) { } - public bool TryGetReference(string uid, out Docfx.DataContracts.Common.ReferenceViewModel vm) { } - public static Docfx.DataContracts.Common.ExternalReferencePackageReader CreateNoThrow(string packageFile) { } - } - public class ExternalReferencePackageWriter : System.IDisposable - { - public void AddOrUpdateEntry(string entryName, System.Collections.Generic.List vm) { } - public void Dispose() { } - public static Docfx.DataContracts.Common.ExternalReferencePackageWriter Append(string packageFile, System.Uri baseUri) { } - public static Docfx.DataContracts.Common.ExternalReferencePackageWriter Create(string packageFile, System.Uri baseUri) { } - } - public interface IOverwriteDocumentViewModel - { - string Conceptual { get; set; } - Docfx.DataContracts.Common.SourceDetail Documentation { get; set; } - string Uid { get; set; } - } - public static class JTokenConverter - { - public static T Convert(object obj) { } - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] - public class MarkdownContentAttribute : System.Attribute - { - public MarkdownContentAttribute() { } - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] - public class MarkdownContentIgnoreAttribute : System.Attribute - { - public MarkdownContentIgnoreAttribute() { } - } - public class ReferenceViewModel - { - public ReferenceViewModel() { } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.Dictionary Additional { get; } - [Docfx.DataContracts.Common.MarkdownContentIgnore] - [Docfx.DataContracts.Common.UniqueIdentityReferenceIgnore] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - [System.Text.Json.Serialization.JsonInclude] - [YamlDotNet.Serialization.YamlIgnore] - public Docfx.Common.CompositeDictionary AdditionalJson { get; } - [Newtonsoft.Json.JsonProperty("commentId")] - [System.Text.Json.Serialization.JsonPropertyName("commentId")] - [YamlDotNet.Serialization.YamlMember(Alias="commentId")] - public string CommentId { get; set; } - [Newtonsoft.Json.JsonProperty("definition")] - [System.Text.Json.Serialization.JsonPropertyName("definition")] - [YamlDotNet.Serialization.YamlMember(Alias="definition")] - public string Definition { get; set; } - [Newtonsoft.Json.JsonProperty("fullName")] - [System.Text.Json.Serialization.JsonPropertyName("fullName")] - [YamlDotNet.Serialization.YamlMember(Alias="fullName")] - public string FullName { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("fullName.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList FullNameInDevLangs { get; } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("isExternal")] - [System.Text.Json.Serialization.JsonPropertyName("isExternal")] - [YamlDotNet.Serialization.YamlMember(Alias="isExternal")] - public bool? IsExternal { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public string Name { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("name.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList NameInDevLangs { get; } - [Newtonsoft.Json.JsonProperty("nameWithType")] - [System.Text.Json.Serialization.JsonPropertyName("nameWithType")] - [YamlDotNet.Serialization.YamlMember(Alias="nameWithType")] - public string NameWithType { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("nameWithType.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList NameWithTypeInDevLangs { get; } - [Newtonsoft.Json.JsonProperty("parent")] - [System.Text.Json.Serialization.JsonPropertyName("parent")] - [YamlDotNet.Serialization.YamlMember(Alias="parent")] - public string Parent { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("spec.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList> Specs { get; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - public Docfx.DataContracts.Common.ReferenceViewModel Clone() { } - } - public class SourceDetail - { - public SourceDetail() { } - [Newtonsoft.Json.JsonProperty("endLine")] - [System.Text.Json.Serialization.JsonPropertyName("endLine")] - [YamlDotNet.Serialization.YamlMember(Alias="endLine")] - public int EndLine { get; set; } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("id")] - [System.Text.Json.Serialization.JsonPropertyName("id")] - [YamlDotNet.Serialization.YamlMember(Alias="id")] - public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("path")] - [System.Text.Json.Serialization.JsonPropertyName("path")] - [YamlDotNet.Serialization.YamlMember(Alias="path")] - public string Path { get; set; } - [Newtonsoft.Json.JsonProperty("remote")] - [System.Text.Json.Serialization.JsonPropertyName("remote")] - [YamlDotNet.Serialization.YamlMember(Alias="remote")] - public Docfx.Common.Git.GitDetail Remote { get; set; } - [Newtonsoft.Json.JsonProperty("startLine")] - [System.Text.Json.Serialization.JsonPropertyName("startLine")] - [YamlDotNet.Serialization.YamlMember(Alias="startLine")] - public int StartLine { get; set; } - } - public class SpecViewModel - { - public SpecViewModel() { } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("isExternal")] - [System.Text.Json.Serialization.JsonPropertyName("isExternal")] - [YamlDotNet.Serialization.YamlMember(Alias="isExternal")] - public bool IsExternal { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - } - public class TocItemViewModel - { - public TocItemViewModel() { } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string AggregatedHref { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string AggregatedUid { get; set; } - [Newtonsoft.Json.JsonProperty("displayName")] - [System.Text.Json.Serialization.JsonPropertyName("displayName")] - [YamlDotNet.Serialization.YamlMember(Alias="displayName")] - public string DisplayName { get; set; } - [Newtonsoft.Json.JsonProperty("homepage")] - [System.Text.Json.Serialization.JsonPropertyName("homepage")] - [YamlDotNet.Serialization.YamlMember(Alias="homepage")] - public string Homepage { get; set; } - [Newtonsoft.Json.JsonProperty("homepageUid")] - [System.Text.Json.Serialization.JsonPropertyName("homepageUid")] - [YamlDotNet.Serialization.YamlMember(Alias="homepageUid")] - public string HomepageUid { get; set; } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("includedFrom")] - [System.Text.Json.Serialization.JsonPropertyName("includedFrom")] - [YamlDotNet.Serialization.YamlMember(Alias="includedFrom")] - public string IncludedFrom { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public bool IsHrefUpdated { get; set; } - [Newtonsoft.Json.JsonProperty("items")] - [System.Text.Json.Serialization.JsonPropertyName("items")] - [YamlDotNet.Serialization.YamlMember(Alias="items")] - public System.Collections.Generic.List Items { get; set; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - [System.Text.Json.Serialization.JsonInclude] - [YamlDotNet.Serialization.YamlIgnore] - public Docfx.Common.CompositeDictionary MetadataJson { get; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("order")] - [System.Text.Json.Serialization.JsonPropertyName("order")] - [YamlDotNet.Serialization.YamlMember(Alias="order")] - public int? Order { get; set; } - [Newtonsoft.Json.JsonProperty("originalHomepage")] - [System.Text.Json.Serialization.JsonPropertyName("originalHomepage")] - [YamlDotNet.Serialization.YamlMember(Alias="originalHomepage")] - public string OriginalHomepage { get; set; } - [Newtonsoft.Json.JsonProperty("originalHref")] - [System.Text.Json.Serialization.JsonPropertyName("originalHref")] - [YamlDotNet.Serialization.YamlMember(Alias="originalHref")] - public string OriginalHref { get; set; } - [Newtonsoft.Json.JsonProperty("originalTocHref")] - [System.Text.Json.Serialization.JsonPropertyName("originalTocHref")] - [YamlDotNet.Serialization.YamlMember(Alias="originalTocHref")] - public string OriginalTocHref { get; set; } - [Newtonsoft.Json.JsonProperty("originalTopicHref")] - [System.Text.Json.Serialization.JsonPropertyName("originalTopicHref")] - [YamlDotNet.Serialization.YamlMember(Alias="originalTopicHref")] - public string OriginalTopicHref { get; set; } - [Newtonsoft.Json.JsonProperty("tocHref")] - [System.Text.Json.Serialization.JsonPropertyName("tocHref")] - [YamlDotNet.Serialization.YamlMember(Alias="tocHref")] - public string TocHref { get; set; } - [Newtonsoft.Json.JsonProperty("topicHref")] - [System.Text.Json.Serialization.JsonPropertyName("topicHref")] - [YamlDotNet.Serialization.YamlMember(Alias="topicHref")] - public string TopicHref { get; set; } - [Newtonsoft.Json.JsonProperty("topicUid")] - [System.Text.Json.Serialization.JsonPropertyName("topicUid")] - [YamlDotNet.Serialization.YamlMember(Alias="topicUid")] - public string TopicUid { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - public Docfx.DataContracts.Common.TocItemViewModel Clone() { } - public override string ToString() { } - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] - public class UniqueIdentityReferenceAttribute : System.Attribute - { - public UniqueIdentityReferenceAttribute() { } - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] - public class UniqueIdentityReferenceIgnoreAttribute : System.Attribute - { - public UniqueIdentityReferenceIgnoreAttribute() { } - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] - public class UrlContentAttribute : System.Attribute - { - public UrlContentAttribute() { } - } - [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] - public class UrlContentIgnoreAttribute : System.Attribute - { - public UrlContentIgnoreAttribute() { } - } -} -namespace Docfx.DataContracts.ManagedReference -{ - public class AdditionalNotes - { - public AdditionalNotes() { } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("caller")] - [System.Text.Json.Serialization.JsonPropertyName("caller")] - [YamlDotNet.Serialization.YamlMember(Alias="caller")] - public string Caller { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("implementer")] - [System.Text.Json.Serialization.JsonPropertyName("implementer")] - [YamlDotNet.Serialization.YamlMember(Alias="implementer")] - public string Implementer { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("inheritor")] - [System.Text.Json.Serialization.JsonPropertyName("inheritor")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritor")] - public string Inheritor { get; set; } - } - public class ApiParameter - { - public ApiParameter() { } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("attributes")] - [System.Text.Json.Serialization.JsonPropertyName("attributes")] - [YamlDotNet.Serialization.YamlMember(Alias="attributes")] - public System.Collections.Generic.List Attributes { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("description")] - [System.Text.Json.Serialization.JsonPropertyName("description")] - [YamlDotNet.Serialization.YamlMember(Alias="description")] - public string Description { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.MergeKey)] - [Newtonsoft.Json.JsonProperty("id")] - [System.Text.Json.Serialization.JsonPropertyName("id")] - [YamlDotNet.Serialization.YamlMember(Alias="id")] - public string Name { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public string Type { get; set; } - } - public class ArgumentInfo - { - public ArgumentInfo() { } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("value")] - [System.Text.Json.Serialization.JsonPropertyName("value")] - [YamlDotNet.Serialization.YamlMember(Alias="value")] - public object Value { get; set; } - } - public class AttributeInfo - { - public AttributeInfo() { } - [Newtonsoft.Json.JsonProperty("arguments")] - [System.Text.Json.Serialization.JsonPropertyName("arguments")] - [YamlDotNet.Serialization.YamlMember(Alias="arguments")] - public System.Collections.Generic.List Arguments { get; set; } - [Newtonsoft.Json.JsonProperty("ctor")] - [System.Text.Json.Serialization.JsonPropertyName("ctor")] - [YamlDotNet.Serialization.YamlMember(Alias="ctor")] - public string Constructor { get; set; } - [Newtonsoft.Json.JsonProperty("namedArguments")] - [System.Text.Json.Serialization.JsonPropertyName("namedArguments")] - [YamlDotNet.Serialization.YamlMember(Alias="namedArguments")] - public System.Collections.Generic.List NamedArguments { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public string Type { get; set; } - } - public class ExceptionInfo - { - public ExceptionInfo() { } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("commentId")] - [System.Text.Json.Serialization.JsonPropertyName("commentId")] - [YamlDotNet.Serialization.YamlMember(Alias="commentId")] - public string CommentId { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("description")] - [System.Text.Json.Serialization.JsonPropertyName("description")] - [YamlDotNet.Serialization.YamlMember(Alias="description")] - public string Description { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.MergeKey)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public string Type { get; set; } - } - public class ItemViewModel : Docfx.DataContracts.Common.IOverwriteDocumentViewModel - { - public ItemViewModel() { } - [Newtonsoft.Json.JsonProperty("additionalNotes")] - [System.Text.Json.Serialization.JsonPropertyName("additionalNotes")] - [YamlDotNet.Serialization.YamlMember(Alias="additionalNotes")] - public Docfx.DataContracts.ManagedReference.AdditionalNotes AdditionalNotes { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("assemblies")] - [System.Text.Json.Serialization.JsonPropertyName("assemblies")] - [YamlDotNet.Serialization.YamlMember(Alias="assemblies")] - public System.Collections.Generic.List AssemblyNameList { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("attributes")] - [System.Text.Json.Serialization.JsonPropertyName("attributes")] - [YamlDotNet.Serialization.YamlMember(Alias="attributes")] - public System.Collections.Generic.List Attributes { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("children")] - [System.Text.Json.Serialization.JsonPropertyName("children")] - [YamlDotNet.Serialization.YamlMember(Alias="children")] - public System.Collections.Generic.List Children { get; set; } - [Newtonsoft.Json.JsonProperty("commentId")] - [System.Text.Json.Serialization.JsonPropertyName("commentId")] - [YamlDotNet.Serialization.YamlMember(Alias="commentId")] - public string CommentId { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("conceptual")] - [System.Text.Json.Serialization.JsonPropertyName("conceptual")] - [YamlDotNet.Serialization.YamlMember(Alias="conceptual")] - public string Conceptual { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("derivedClasses")] - [System.Text.Json.Serialization.JsonPropertyName("derivedClasses")] - [YamlDotNet.Serialization.YamlMember(Alias="derivedClasses")] - public System.Collections.Generic.List DerivedClasses { get; set; } - [Newtonsoft.Json.JsonProperty("documentation")] - [System.Text.Json.Serialization.JsonPropertyName("documentation")] - [YamlDotNet.Serialization.YamlMember(Alias="documentation")] - public Docfx.DataContracts.Common.SourceDetail Documentation { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Replace)] - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("example")] - [System.Text.Json.Serialization.JsonPropertyName("example")] - [YamlDotNet.Serialization.YamlMember(Alias="example")] - public System.Collections.Generic.List Examples { get; set; } - [Newtonsoft.Json.JsonProperty("exceptions")] - [System.Text.Json.Serialization.JsonPropertyName("exceptions")] - [YamlDotNet.Serialization.YamlMember(Alias="exceptions")] - public System.Collections.Generic.List Exceptions { get; set; } - [Docfx.DataContracts.Common.MarkdownContentIgnore] - [Docfx.DataContracts.Common.UniqueIdentityReferenceIgnore] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - [System.Text.Json.Serialization.JsonInclude] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.IDictionary ExtensionData { get; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("extensionMethods")] - [System.Text.Json.Serialization.JsonPropertyName("extensionMethods")] - [YamlDotNet.Serialization.YamlMember(Alias="extensionMethods")] - public System.Collections.Generic.List ExtensionMethods { get; set; } - [Newtonsoft.Json.JsonProperty("fullName")] - [System.Text.Json.Serialization.JsonPropertyName("fullName")] - [YamlDotNet.Serialization.YamlMember(Alias="fullName")] - public string FullName { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string FullNameForCSharp { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string FullNameForVB { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("fullName.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList FullNames { get; set; } - [Newtonsoft.Json.JsonProperty("href")] - [System.Text.Json.Serialization.JsonPropertyName("href")] - [YamlDotNet.Serialization.YamlMember(Alias="href")] - public string Href { get; set; } - [Newtonsoft.Json.JsonProperty("id")] - [System.Text.Json.Serialization.JsonPropertyName("id")] - [YamlDotNet.Serialization.YamlMember(Alias="id")] - public string Id { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("implements")] - [System.Text.Json.Serialization.JsonPropertyName("implements")] - [YamlDotNet.Serialization.YamlMember(Alias="implements")] - public System.Collections.Generic.List Implements { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("inheritance")] - [System.Text.Json.Serialization.JsonPropertyName("inheritance")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritance")] - public System.Collections.Generic.List Inheritance { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("inheritedMembers")] - [System.Text.Json.Serialization.JsonPropertyName("inheritedMembers")] - [YamlDotNet.Serialization.YamlMember(Alias="inheritedMembers")] - public System.Collections.Generic.List InheritedMembers { get; set; } - [Newtonsoft.Json.JsonProperty("isEii")] - [System.Text.Json.Serialization.JsonPropertyName("isEii")] - [YamlDotNet.Serialization.YamlMember(Alias="isEii")] - public bool IsExplicitInterfaceImplementation { get; set; } - [Newtonsoft.Json.JsonProperty("isExtensionMethod")] - [System.Text.Json.Serialization.JsonPropertyName("isExtensionMethod")] - [YamlDotNet.Serialization.YamlMember(Alias="isExtensionMethod")] - public bool IsExtensionMethod { get; set; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public string Name { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string NameForCSharp { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string NameForVB { get; set; } - [Newtonsoft.Json.JsonProperty("nameWithType")] - [System.Text.Json.Serialization.JsonPropertyName("nameWithType")] - [YamlDotNet.Serialization.YamlMember(Alias="nameWithType")] - public string NameWithType { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string NameWithTypeForCSharp { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string NameWithTypeForVB { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("name.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList Names { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("nameWithType.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList NamesWithType { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("namespace")] - [System.Text.Json.Serialization.JsonPropertyName("namespace")] - [YamlDotNet.Serialization.YamlMember(Alias="namespace")] - public string NamespaceName { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("overload")] - [System.Text.Json.Serialization.JsonPropertyName("overload")] - [YamlDotNet.Serialization.YamlMember(Alias="overload")] - public string Overload { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("overridden")] - [System.Text.Json.Serialization.JsonPropertyName("overridden")] - [YamlDotNet.Serialization.YamlMember(Alias="overridden")] - public string Overridden { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("parent")] - [System.Text.Json.Serialization.JsonPropertyName("parent")] - [YamlDotNet.Serialization.YamlMember(Alias="parent")] - public string Parent { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Replace)] - [Newtonsoft.Json.JsonProperty("platform")] - [System.Text.Json.Serialization.JsonPropertyName("platform")] - [YamlDotNet.Serialization.YamlMember(Alias="platform")] - public System.Collections.Generic.List Platform { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("remarks")] - [System.Text.Json.Serialization.JsonPropertyName("remarks")] - [YamlDotNet.Serialization.YamlMember(Alias="remarks")] - public string Remarks { get; set; } - [Newtonsoft.Json.JsonProperty("seealso")] - [System.Text.Json.Serialization.JsonPropertyName("seealso")] - [YamlDotNet.Serialization.YamlMember(Alias="seealso")] - public System.Collections.Generic.List SeeAlsos { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.List SeeAlsosUidReference { get; } - [Newtonsoft.Json.JsonProperty("source")] - [System.Text.Json.Serialization.JsonPropertyName("source")] - [YamlDotNet.Serialization.YamlMember(Alias="source")] - public Docfx.DataContracts.Common.SourceDetail Source { get; set; } - [Docfx.DataContracts.Common.MarkdownContent] - [Newtonsoft.Json.JsonProperty("summary")] - [System.Text.Json.Serialization.JsonPropertyName("summary")] - [YamlDotNet.Serialization.YamlMember(Alias="summary")] - public string Summary { get; set; } - [Newtonsoft.Json.JsonProperty("langs")] - [System.Text.Json.Serialization.JsonPropertyName("langs")] - [YamlDotNet.Serialization.YamlMember(Alias="langs")] - public string[] SupportedLanguages { get; set; } - [Newtonsoft.Json.JsonProperty("syntax")] - [System.Text.Json.Serialization.JsonPropertyName("syntax")] - [YamlDotNet.Serialization.YamlMember(Alias="syntax")] - public Docfx.DataContracts.ManagedReference.SyntaxDetailViewModel Syntax { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public Docfx.DataContracts.ManagedReference.MemberType? Type { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.MergeKey)] - [Newtonsoft.Json.JsonProperty("uid")] - [System.Text.Json.Serialization.JsonPropertyName("uid")] - [YamlDotNet.Serialization.YamlMember(Alias="uid")] - public string Uid { get; set; } - } - public class LinkInfo - { - public LinkInfo() { } - [Newtonsoft.Json.JsonProperty("altText")] - [System.Text.Json.Serialization.JsonPropertyName("altText")] - [YamlDotNet.Serialization.YamlMember(Alias="altText")] - public string AltText { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("commentId")] - [System.Text.Json.Serialization.JsonPropertyName("commentId")] - [YamlDotNet.Serialization.YamlMember(Alias="commentId")] - public string CommentId { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.MergeKey)] - [Newtonsoft.Json.JsonProperty("linkId")] - [System.Text.Json.Serialization.JsonPropertyName("linkId")] - [YamlDotNet.Serialization.YamlMember(Alias="linkId")] - public string LinkId { get; set; } - [Docfx.Common.EntityMergers.MergeOption(Docfx.Common.EntityMergers.MergeOption.Ignore)] - [Newtonsoft.Json.JsonProperty("linkType")] - [System.Text.Json.Serialization.JsonPropertyName("linkType")] - [YamlDotNet.Serialization.YamlMember(Alias="linkType")] - public Docfx.DataContracts.ManagedReference.LinkType LinkType { get; set; } - } - public enum LinkType - { - CRef = 0, - HRef = 1, - } - public enum MemberType - { - Default = 0, - Toc = 1, - Assembly = 2, - Namespace = 3, - Class = 4, - Interface = 5, - Struct = 6, - Delegate = 7, - Enum = 8, - Field = 9, - Property = 10, - Event = 11, - Constructor = 12, - Method = 13, - Operator = 14, - Container = 15, - AttachedEvent = 16, - AttachedProperty = 17, - } - public class NamedArgumentInfo - { - public NamedArgumentInfo() { } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - [YamlDotNet.Serialization.YamlMember(Alias="name")] - public string Name { get; set; } - [Docfx.DataContracts.Common.UniqueIdentityReference] - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - [YamlDotNet.Serialization.YamlMember(Alias="type")] - public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("value")] - [System.Text.Json.Serialization.JsonPropertyName("value")] - [YamlDotNet.Serialization.YamlMember(Alias="value")] - public object Value { get; set; } - } - public class PageViewModel - { - public PageViewModel() { } - [Newtonsoft.Json.JsonProperty("items")] - [System.Text.Json.Serialization.JsonPropertyName("items")] - [YamlDotNet.Serialization.YamlMember(Alias="items")] - public System.Collections.Generic.List Items { get; set; } - [Newtonsoft.Json.JsonProperty("memberLayout")] - [System.Text.Json.Serialization.JsonPropertyName("memberLayout")] - [YamlDotNet.Serialization.YamlMember(Alias="memberLayout")] - public Docfx.MemberLayout MemberLayout { get; set; } - [Docfx.YamlSerialization.ExtensibleMember] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Docfx.DataContracts.Common.MarkdownContentIgnore] - [Docfx.DataContracts.Common.UniqueIdentityReferenceIgnore] - [Newtonsoft.Json.JsonProperty("references")] - [System.Text.Json.Serialization.JsonPropertyName("references")] - [YamlDotNet.Serialization.YamlMember(Alias="references")] - public System.Collections.Generic.List References { get; set; } - [Newtonsoft.Json.JsonProperty("shouldSkipMarkup")] - [System.Text.Json.Serialization.JsonPropertyName("shouldSkipMarkup")] - [YamlDotNet.Serialization.YamlMember(Alias="shouldSkipMarkup")] - public bool ShouldSkipMarkup { get; set; } - } - public class SyntaxDetailViewModel - { - public SyntaxDetailViewModel() { } - [Newtonsoft.Json.JsonProperty("content")] - [System.Text.Json.Serialization.JsonPropertyName("content")] - [YamlDotNet.Serialization.YamlMember(Alias="content")] - public string Content { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string ContentForCSharp { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - [YamlDotNet.Serialization.YamlIgnore] - public string ContentForVB { get; set; } - [Docfx.YamlSerialization.ExtensibleMember("content.")] - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.Collections.Generic.SortedList Contents { get; set; } - [Docfx.DataContracts.Common.MarkdownContentIgnore] - [Docfx.DataContracts.Common.UniqueIdentityReferenceIgnore] - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - [System.Text.Json.Serialization.JsonInclude] - [YamlDotNet.Serialization.YamlIgnore] - public System.Collections.Generic.IDictionary ExtensionData { get; } - [Newtonsoft.Json.JsonProperty("parameters")] - [System.Text.Json.Serialization.JsonPropertyName("parameters")] - [YamlDotNet.Serialization.YamlMember(Alias="parameters")] - public System.Collections.Generic.List Parameters { get; set; } - [Newtonsoft.Json.JsonProperty("return")] - [System.Text.Json.Serialization.JsonPropertyName("return")] - [YamlDotNet.Serialization.YamlMember(Alias="return")] - public Docfx.DataContracts.ManagedReference.ApiParameter Return { get; set; } - [Newtonsoft.Json.JsonProperty("typeParameters")] - [System.Text.Json.Serialization.JsonPropertyName("typeParameters")] - [YamlDotNet.Serialization.YamlMember(Alias="typeParameters")] - public System.Collections.Generic.List TypeParameters { get; set; } - } - public enum SyntaxLanguage - { - Default = 0, - CSharp = 1, - VB = 2, - } -} -namespace Docfx.Dotnet -{ - public static class DotnetApiCatalog - { - public static System.Threading.Tasks.Task GenerateManagedReferenceYamlFiles(string configPath) { } - public static System.Threading.Tasks.Task GenerateManagedReferenceYamlFiles(string configPath, Docfx.Dotnet.DotnetApiOptions options) { } - } - public class DotnetApiOptions - { - public DotnetApiOptions() { } - public System.Func? IncludeApi { get; init; } - public System.Func? IncludeAttribute { get; init; } - public System.Func? SourceUrl { get; init; } - } - public enum SymbolIncludeState - { - Default = 0, - Include = 1, - Exclude = 2, - } -} -namespace Docfx -{ - public enum MemberLayout - { - SamePage = 0, - SeparatePages = 1, - } -} -namespace Docfx.Glob -{ - public class FileGlob - { - public FileGlob() { } - public static System.Collections.Generic.IEnumerable GetFiles(string cwd, System.Collections.Generic.IEnumerable patterns, System.Collections.Generic.IEnumerable excludePatterns, Docfx.Glob.GlobMatcherOptions options = 31) { } - } - public class GlobMatcher : System.IEquatable - { - public const Docfx.Glob.GlobMatcherOptions DefaultOptions = 31; - public GlobMatcher(string pattern, Docfx.Glob.GlobMatcherOptions options = 31) { } - public Docfx.Glob.GlobMatcherOptions Options { get; } - public string Raw { get; } - public bool Equals(Docfx.Glob.GlobMatcher other) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public System.Text.RegularExpressions.Regex GetRegex() { } - public bool Match(string file, bool partial = false) { } - } - [System.Flags] - public enum GlobMatcherOptions - { - None = 0, - IgnoreCase = 1, - AllowNegate = 2, - AllowExpand = 4, - AllowEscape = 8, - AllowGlobStar = 16, - AllowDotMatch = 32, - } -} -namespace Docfx -{ - public class GlobUtility - { - public GlobUtility() { } - public static Docfx.FileMapping ExpandFileMapping(string baseDirectory, Docfx.FileMapping fileMapping) { } - } -} -namespace Docfx.MarkdigEngine.Extensions -{ - public class YamlHeaderExtension : Markdig.IMarkdownExtension - { - public YamlHeaderExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public bool AllowInMiddleOfDocument { get; init; } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class YamlHeaderRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public YamlHeaderRenderer(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Markdig.Extensions.Yaml.YamlFrontMatterBlock obj) { } - } -} -namespace Docfx.MarkdigEngine -{ - public class MarkdigMarkdownService : Docfx.Plugins.IMarkdownService - { - public MarkdigMarkdownService(Docfx.Plugins.MarkdownServiceParameters parameters, System.Func configureMarkdig = null) { } - public string Name { get; } - public Docfx.Plugins.MarkupResult Markup(string content, string filePath) { } - public Docfx.Plugins.MarkupResult Markup(string content, string filePath, bool multipleYamlHeader) { } - public Markdig.Syntax.MarkdownDocument Parse(string content, string filePath) { } - public Markdig.Syntax.MarkdownDocument Parse(string content, string filePath, bool isInline) { } - public Docfx.Plugins.MarkupResult Render(Markdig.Syntax.MarkdownDocument document) { } - public Docfx.Plugins.MarkupResult Render(Markdig.Syntax.MarkdownDocument document, bool isInline) { } - } -} -namespace Docfx.Plugins -{ - public class MarkdownServiceParameters - { - public MarkdownServiceParameters() { } - public string BasePath { get; set; } - public Docfx.Plugins.MarkdownServiceProperties Extensions { get; set; } - public string TemplateDir { get; set; } - public System.Collections.Immutable.ImmutableDictionary Tokens { get; set; } - } - public class MarkdownServiceProperties - { - public MarkdownServiceProperties() { } - [Newtonsoft.Json.JsonProperty("alerts")] - [System.Text.Json.Serialization.JsonPropertyName("alerts")] - public System.Collections.Generic.Dictionary Alerts { get; set; } - [Newtonsoft.Json.JsonProperty("enableSourceInfo")] - [System.Text.Json.Serialization.JsonPropertyName("enableSourceInfo")] - public bool EnableSourceInfo { get; set; } - [Newtonsoft.Json.JsonProperty("fallbackFolders")] - [System.Text.Json.Serialization.JsonPropertyName("fallbackFolders")] - public string[] FallbackFolders { get; set; } - [Newtonsoft.Json.JsonProperty("markdigExtensions")] - [System.Text.Json.Serialization.JsonPropertyName("markdigExtensions")] - public Docfx.MarkdigEngine.Extensions.MarkdigExtensionSetting[] MarkdigExtensions { get; set; } - [Newtonsoft.Json.JsonProperty("plantUml")] - [System.Text.Json.Serialization.JsonPropertyName("plantUml")] - public Docfx.MarkdigEngine.Extensions.PlantUmlOptions PlantUml { get; set; } - } -} -namespace Docfx.MarkdigEngine.Extensions -{ - public class ActiveAndVisibleRewriter : Docfx.MarkdigEngine.Extensions.IMarkdownObjectRewriter - { - public ActiveAndVisibleRewriter(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void PostProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public void PreProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject) { } - } - public class BlockAggregateContext - { - public BlockAggregateContext(Markdig.Syntax.ContainerBlock blocks) { } - public Markdig.Syntax.Block CurrentBlock { get; } - public void AggregateTo(Markdig.Syntax.Block block, int blockCount) { } - public Markdig.Syntax.Block LookAhead(int offset) { } - } - public abstract class BlockAggregator : Docfx.MarkdigEngine.Extensions.IBlockAggregator - where TBlock : class, Markdig.Syntax.IBlock - { - protected BlockAggregator() { } - public bool Aggregate(Docfx.MarkdigEngine.Extensions.BlockAggregateContext context) { } - protected abstract bool AggregateCore(TBlock block, Docfx.MarkdigEngine.Extensions.BlockAggregateContext context); - } - public class ChromelessFormExtension : Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo - { - public ChromelessFormExtension() { } - public bool IsBlock { get; } - public bool IsInline { get; } - public string Name { get; } - public bool SelfClosing { get; } - public bool Render(Markdig.Renderers.HtmlRenderer renderer, Markdig.Syntax.MarkdownObject markdownObject, System.Action logWarning) { } - public bool TryProcessAttributes(System.Collections.Generic.IDictionary attributes, out Markdig.Renderers.Html.HtmlAttributes htmlAttributes, System.Action logError, System.Action logWarning, Markdig.Syntax.MarkdownObject markdownObject) { } - public bool TryValidateAncestry(Markdig.Syntax.ContainerBlock container, System.Action logError) { } - } - public class CodeExtension : Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo - { - public CodeExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public bool IsBlock { get; } - public bool IsInline { get; } - public string Name { get; } - public bool SelfClosing { get; } - public static bool EndingTripleColons { get; } - public bool Render(Markdig.Renderers.HtmlRenderer renderer, Markdig.Syntax.MarkdownObject markdownObject, System.Action logWarning) { } - public bool TryProcessAttributes(System.Collections.Generic.IDictionary attributes, out Markdig.Renderers.Html.HtmlAttributes htmlAttributes, System.Action logError, System.Action logWarning, Markdig.Syntax.MarkdownObject markdownObject) { } - public bool TryValidateAncestry(Markdig.Syntax.ContainerBlock container, System.Action logError) { } - } - public class CodeRange - { - public CodeRange() { } - public int End { get; set; } - public int Start { get; set; } - } - public class CodeSnippet : Markdig.Syntax.LeafBlock - { - public CodeSnippet(Markdig.Parsers.BlockParser parser) { } - public Docfx.MarkdigEngine.Extensions.CodeRange BookMarkRange { get; set; } - public string CodePath { get; set; } - public System.Collections.Generic.List CodeRanges { get; set; } - public int? DedentLength { get; set; } - public string GitUrl { get; set; } - public System.Collections.Generic.List HighlightRanges { get; set; } - public bool IsInteractive { get; set; } - public bool IsNotebookCode { get; set; } - public string Language { get; set; } - public string Name { get; set; } - public string Raw { get; set; } - public Docfx.MarkdigEngine.Extensions.CodeRange StartEndRange { get; set; } - public string TagName { get; set; } - public string Title { get; set; } - public string GetHighlightLinesString() { } - public void SetAttributeString() { } - public string ToAttributeString() { } - } - public class CodeSnippetExtension : Markdig.IMarkdownExtension - { - public CodeSnippetExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class CodeSnippetExtractor - { - public const string TagNamePlaceHolder = "{tagname}"; - public CodeSnippetExtractor(string startLineTemplate, string endLineTemplate, bool isEndLineContainsTagName = true) { } - public System.Collections.Generic.Dictionary GetAllTags(string[] lines, ref System.Collections.Generic.HashSet tagLines) { } - } - public class CodeSnippetInteractiveRewriter : Docfx.MarkdigEngine.Extensions.InteractiveBaseRewriter - { - public CodeSnippetInteractiveRewriter() { } - public override Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject) { } - } - public class CodeSnippetParser : Markdig.Parsers.BlockParser - { - public CodeSnippetParser() { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - } - public static class ExtensionsHelper - { - public static readonly System.Text.RegularExpressions.Regex HtmlEscapeWithEncode; - public static readonly System.Text.RegularExpressions.Regex HtmlEscapeWithoutEncode; - public static readonly System.Text.RegularExpressions.Regex HtmlUnescape; - public static string Escape(string html, bool encode = false) { } - public static bool IsEscaped(Markdig.Helpers.StringSlice slice) { } - public static bool MatchInclusionEnd(ref Markdig.Helpers.StringSlice slice) { } - public static bool MatchLink(ref Markdig.Helpers.StringSlice slice, ref string title, ref string path) { } - public static bool MatchStart(ref Markdig.Helpers.StringSlice slice, string startString, bool isCaseSensitive = true) { } - public static bool MatchStart(Markdig.Parsers.BlockProcessor processor, string startString, bool isCaseSensitive = true) { } - public static string NormalizePath(string path) { } - public static string ReplaceRegex(this string input, System.Text.RegularExpressions.Regex pattern, string replacement) { } - public static void ResetLineIndent(Markdig.Parsers.BlockProcessor processor) { } - public static char SkipSpaces(ref Markdig.Helpers.StringSlice slice) { } - public static void SkipWhitespace(ref Markdig.Helpers.StringSlice slice) { } - public static string TryGetStringBeforeChars(System.Collections.Generic.IEnumerable chars, ref Markdig.Helpers.StringSlice slice, bool breakOnWhitespace = false) { } - public static string Unescape(string html) { } - } - public class FencedCodeInteractiveRewriter : Docfx.MarkdigEngine.Extensions.InteractiveBaseRewriter - { - public FencedCodeInteractiveRewriter() { } - public override Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject) { } - } - public class HeadingIdExtension : Markdig.IMarkdownExtension - { - public HeadingIdExtension() { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class HeadingIdRewriter : Docfx.MarkdigEngine.Extensions.IMarkdownObjectRewriter - { - public HeadingIdRewriter() { } - public void PostProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public void PreProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject) { } - } - public class HtmlCodeSnippetRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public HtmlCodeSnippetRenderer(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public string GetContent(string content, Docfx.MarkdigEngine.Extensions.CodeSnippet obj) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.CodeSnippet codeSnippet) { } - public static string GetLanguageByFileExtension(string extension) { } - public static bool TryGetLineNumber(string lineNumberString, out int lineNumber, bool withL = true) { } - public static bool TryGetLineRange(string query, out Docfx.MarkdigEngine.Extensions.CodeRange codeRange, bool withL = true) { } - public static bool TryGetLineRanges(string query, out System.Collections.Generic.List codeRanges) { } - } - public class HtmlInclusionBlockRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public HtmlInclusionBlockRenderer(Docfx.MarkdigEngine.Extensions.MarkdownContext context, Markdig.MarkdownPipeline pipeline) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.InclusionBlock inclusion) { } - } - public class HtmlInclusionInlineRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public HtmlInclusionInlineRenderer(Docfx.MarkdigEngine.Extensions.MarkdownContext context, Markdig.MarkdownPipeline inlinePipeline) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.InclusionInline inclusion) { } - } - public class HtmlTabGroupBlockRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public HtmlTabGroupBlockRenderer() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.TabGroupBlock block) { } - } - public class HtmlTabTitleBlockRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public HtmlTabTitleBlockRenderer() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.TabTitleBlock block) { } - } - public class HtmlXrefInlineRender : Markdig.Renderers.Html.HtmlObjectRenderer - { - public HtmlXrefInlineRender() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.XrefInline obj) { } - } - public interface IBlockAggregator - { - bool Aggregate(Docfx.MarkdigEngine.Extensions.BlockAggregateContext context); - } - public interface IMarkdownObjectRewriter - { - void PostProcess(Markdig.Syntax.IMarkdownObject markdownObject); - void PreProcess(Markdig.Syntax.IMarkdownObject markdownObject); - Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject); - } - public interface IMarkdownObjectRewriterProvider - { - System.Collections.Immutable.ImmutableArray GetRewriters(); - } - public interface ITripleColonExtensionInfo - { - bool IsBlock { get; } - bool IsInline { get; } - string Name { get; } - bool SelfClosing { get; } - bool Render(Markdig.Renderers.HtmlRenderer renderer, Markdig.Syntax.MarkdownObject markdownObject, System.Action logWarning); - bool TryProcessAttributes(System.Collections.Generic.IDictionary attributes, out Markdig.Renderers.Html.HtmlAttributes htmlAttributes, System.Action logError, System.Action logWarning, Markdig.Syntax.MarkdownObject markdownObject); - bool TryValidateAncestry(Markdig.Syntax.ContainerBlock container, System.Action logError); - } - public class ImageExtension : Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo - { - public ImageExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public bool IsBlock { get; } - public bool IsInline { get; } - public string Name { get; } - public bool SelfClosing { get; } - public bool Render(Markdig.Renderers.HtmlRenderer renderer, Markdig.Syntax.MarkdownObject obj, System.Action logWarning) { } - public bool TryProcessAttributes(System.Collections.Generic.IDictionary attributes, out Markdig.Renderers.Html.HtmlAttributes htmlAttributes, System.Action logError, System.Action logWarning, Markdig.Syntax.MarkdownObject markdownObject) { } - public bool TryValidateAncestry(Markdig.Syntax.ContainerBlock container, System.Action logError) { } - public static string GetHtmlId(Markdig.Syntax.MarkdownObject obj) { } - public static bool RequiresClosingTripleColon(System.Collections.Generic.IDictionary attributes) { } - } - public class InclusionBlock : Markdig.Syntax.ContainerBlock - { - public InclusionBlock(Markdig.Parsers.BlockParser parser) { } - public string IncludedFilePath { get; set; } - public object ResolvedFilePath { get; set; } - public string Title { get; set; } - public string GetRawToken() { } - } - public class InclusionBlockParser : Markdig.Parsers.BlockParser - { - public InclusionBlockParser() { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - } - public static class InclusionContext - { - public static System.Collections.Generic.IEnumerable Dependencies { get; } - public static object File { get; } - public static bool IsInclude { get; } - public static object RootFile { get; } - public static bool IsCircularReference(object file, out System.Collections.Generic.IEnumerable dependencyChain) { } - public static void PushDependency(object file) { } - public static System.IDisposable PushFile(object file) { } - public static System.IDisposable PushInclusion(object file) { } - } - public class InclusionExtension : Markdig.IMarkdownExtension - { - public InclusionExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class InclusionInline : Markdig.Syntax.Inlines.ContainerInline - { - public InclusionInline() { } - public string IncludedFilePath { get; set; } - public object ResolvedFilePath { get; set; } - public string Title { get; set; } - public string GetRawToken() { } - } - public class InclusionInlineParser : Markdig.Parsers.InlineParser - { - public InclusionInlineParser() { } - public override bool Match(Markdig.Parsers.InlineProcessor processor, ref Markdig.Helpers.StringSlice slice) { } - } - public class InlineOnlyExtension : Markdig.IMarkdownExtension - { - public InlineOnlyExtension() { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public abstract class InteractiveBaseRewriter : Docfx.MarkdigEngine.Extensions.IMarkdownObjectRewriter - { - protected const string InteractivePostfix = "-interactive"; - protected InteractiveBaseRewriter() { } - public void PostProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public void PreProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public abstract Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject); - protected static string GetLanguage(string language, out bool isInteractive) { } - } - public class InteractiveCodeExtension : Markdig.IMarkdownExtension - { - public InteractiveCodeExtension() { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class LineNumberExtension : Markdig.IMarkdownExtension - { - public LineNumberExtension(System.Func getFilePath = null) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - [Newtonsoft.Json.JsonConverter(typeof(Docfx.MarkdigEngine.Extensions.MarkdigExtensionSettingConverter.NewtonsoftJsonConverter))] - [System.Diagnostics.DebuggerDisplay("Name = {Name}")] - [System.Text.Json.Serialization.JsonConverter(typeof(Docfx.MarkdigEngine.Extensions.MarkdigExtensionSettingConverter.SystemTextJsonConverter))] - public class MarkdigExtensionSetting - { - public MarkdigExtensionSetting(string name, System.Text.Json.Nodes.JsonNode? options = null) { } - public string Name { get; init; } - public System.Text.Json.JsonElement? Options { get; init; } - public T GetOptions(T fallbackValue) { } - public static Docfx.MarkdigEngine.Extensions.MarkdigExtensionSetting op_Implicit(string name) { } - } - public class MarkdownContext - { - public MarkdownContext(System.Func getToken = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate logInfo = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate logSuggestion = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate logWarning = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate logError = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.ReadFileDelegate readFile = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.GetLinkDelegate getLink = null, Docfx.MarkdigEngine.Extensions.MarkdownContext.GetImageLinkDelegate getImageLink = null) { } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.GetImageLinkDelegate GetImageLink { get; } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.GetLinkDelegate GetLink { get; } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate LogError { get; } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate LogInfo { get; } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate LogSuggestion { get; } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.LogActionDelegate LogWarning { get; } - public Docfx.MarkdigEngine.Extensions.MarkdownContext.ReadFileDelegate ReadFile { get; } - public string GetToken(string key) { } - public delegate string GetImageLinkDelegate(string path, Markdig.Syntax.MarkdownObject origin, string altText); - public delegate string GetLinkDelegate(string path, Markdig.Syntax.MarkdownObject origin); - public delegate void LogActionDelegate(string code, string message, Markdig.Syntax.MarkdownObject origin, int? line = default); - [return: System.Runtime.CompilerServices.TupleElementNames(new string[] { - "content", - "file"})] - public delegate System.ValueTuple ReadFileDelegate(string path, Markdig.Syntax.MarkdownObject origin); - } - public class MarkdownDocumentAggregatorVisitor - { - public MarkdownDocumentAggregatorVisitor(Docfx.MarkdigEngine.Extensions.IBlockAggregator aggregator) { } - public void Visit(Markdig.Syntax.MarkdownDocument document) { } - } - public class MarkdownDocumentVisitor - { - public MarkdownDocumentVisitor(Docfx.MarkdigEngine.Extensions.IMarkdownObjectRewriter rewriter) { } - public void Visit(Markdig.Syntax.MarkdownDocument document) { } - } - public static class MarkdownExtensions - { - public static Markdig.MarkdownPipelineBuilder UseCodeSnippet(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseDFMCodeInfoPrefix(this Markdig.MarkdownPipelineBuilder pipeline) { } - public static Markdig.MarkdownPipelineBuilder UseDocfxExtensions(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context, System.Collections.Generic.Dictionary notes = null, Docfx.MarkdigEngine.Extensions.PlantUmlOptions plantUml = null) { } - public static Markdig.MarkdownPipelineBuilder UseHeadingIdRewriter(this Markdig.MarkdownPipelineBuilder pipeline) { } - public static Markdig.MarkdownPipelineBuilder UseIncludeFile(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseInlineOnly(this Markdig.MarkdownPipelineBuilder pipeline) { } - public static Markdig.MarkdownPipelineBuilder UseInteractiveCode(this Markdig.MarkdownPipelineBuilder pipeline) { } - public static Markdig.MarkdownPipelineBuilder UseLineNumber(this Markdig.MarkdownPipelineBuilder pipeline, System.Func getFilePath = null) { } - public static Markdig.MarkdownPipelineBuilder UseMonikerRange(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseNestedColumn(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseNoloc(this Markdig.MarkdownPipelineBuilder pipeline) { } - public static Markdig.MarkdownPipelineBuilder UseOptionalExtensions(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdigExtensionSetting[] optionalExtensions) { } - public static Markdig.MarkdownPipelineBuilder UsePlantUml(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context, Docfx.MarkdigEngine.Extensions.PlantUmlOptions options = null) { } - public static Markdig.MarkdownPipelineBuilder UseQuoteSectionNote(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context, System.Collections.Generic.Dictionary notes = null) { } - public static Markdig.MarkdownPipelineBuilder UseResolveLink(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseRow(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseTabGroup(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseTripleColon(this Markdig.MarkdownPipelineBuilder pipeline, Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public static Markdig.MarkdownPipelineBuilder UseXref(this Markdig.MarkdownPipelineBuilder pipeline) { } - } - public class MonikerRangeBlock : Markdig.Syntax.ContainerBlock - { - public MonikerRangeBlock(Markdig.Parsers.BlockParser parser) { } - public bool Closed { get; set; } - public int ColonCount { get; set; } - public string MonikerRange { get; set; } - } - public class MonikerRangeExtension : Markdig.IMarkdownExtension - { - public MonikerRangeExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class MonikerRangeParser : Markdig.Parsers.BlockParser - { - public MonikerRangeParser(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public override bool Close(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryContinue(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - } - public class MonikerRangeRender : Markdig.Renderers.Html.HtmlObjectRenderer - { - public MonikerRangeRender() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.MonikerRangeBlock obj) { } - } - public class NestedColumnBlock : Markdig.Syntax.ContainerBlock - { - public NestedColumnBlock(Markdig.Parsers.BlockParser parser) { } - public int ColonCount { get; set; } - public string ColumnWidth { get; set; } - } - public class NestedColumnExtension : Markdig.IMarkdownExtension - { - public NestedColumnExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class NestedColumnParser : Markdig.Parsers.BlockParser - { - public NestedColumnParser(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public override Markdig.Parsers.BlockState TryContinue(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - } - public class NestedColumnRender : Markdig.Renderers.Html.HtmlObjectRenderer - { - public NestedColumnRender() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.NestedColumnBlock obj) { } - } - public class NolocExtension : Markdig.IMarkdownExtension - { - public NolocExtension() { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class NolocInline : Markdig.Syntax.Inlines.LeafInline - { - public NolocInline() { } - public string Text { get; set; } - } - public class NolocParser : Markdig.Parsers.InlineParser - { - public NolocParser() { } - public override bool Match(Markdig.Parsers.InlineProcessor processor, ref Markdig.Helpers.StringSlice slice) { } - } - public class NolocRender : Markdig.Renderers.Html.HtmlObjectRenderer - { - public NolocRender() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.NolocInline obj) { } - } - public class PlantUmlOptions - { - public PlantUmlOptions() { } - [Newtonsoft.Json.JsonProperty("delimitor")] - [System.Text.Json.Serialization.JsonPropertyName("delimitor")] - public string Delimitor { get; set; } - [Newtonsoft.Json.JsonProperty("javaPath")] - [System.Text.Json.Serialization.JsonPropertyName("javaPath")] - public string JavaPath { get; set; } - [Newtonsoft.Json.JsonProperty("localGraphvizDotPath")] - [System.Text.Json.Serialization.JsonPropertyName("localGraphvizDotPath")] - public string LocalGraphvizDotPath { get; set; } - [Newtonsoft.Json.JsonProperty("localPlantUmlPath")] - [System.Text.Json.Serialization.JsonPropertyName("localPlantUmlPath")] - public string LocalPlantUmlPath { get; set; } - [Newtonsoft.Json.JsonProperty("outputFormat")] - [System.Text.Json.Serialization.JsonPropertyName("outputFormat")] - public PlantUml.Net.OutputFormat OutputFormat { get; set; } - [Newtonsoft.Json.JsonProperty("remoteUrl")] - [System.Text.Json.Serialization.JsonPropertyName("remoteUrl")] - public string RemoteUrl { get; set; } - [Newtonsoft.Json.JsonProperty("renderingMode")] - [System.Text.Json.Serialization.JsonPropertyName("renderingMode")] - public PlantUml.Net.RenderingMode RenderingMode { get; set; } - } - public class QuoteSectionNoteBlock : Markdig.Syntax.ContainerBlock - { - public QuoteSectionNoteBlock(Markdig.Parsers.BlockParser parser) { } - public string NoteTypeString { get; set; } - public char QuoteChar { get; set; } - public Docfx.MarkdigEngine.Extensions.QuoteSectionNoteType QuoteType { get; set; } - public string SectionAttributeString { get; set; } - public string VideoLink { get; set; } - } - public class QuoteSectionNoteExtension : Markdig.IMarkdownExtension - { - public QuoteSectionNoteExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context, System.Collections.Generic.Dictionary notes) { } - } - public class QuoteSectionNoteParser : Markdig.Parsers.BlockParser - { - public QuoteSectionNoteParser(Docfx.MarkdigEngine.Extensions.MarkdownContext context, string[] noteTypes = null) { } - public override Markdig.Parsers.BlockState TryContinue(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - } - public class QuoteSectionNoteRender : Markdig.Renderers.Html.HtmlObjectRenderer - { - public QuoteSectionNoteRender(Docfx.MarkdigEngine.Extensions.MarkdownContext context, System.Collections.Generic.Dictionary notes) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.QuoteSectionNoteBlock obj) { } - public static string FixUpLink(string link) { } - } - public enum QuoteSectionNoteType - { - MarkdownQuote = 0, - DFMSection = 1, - DFMNote = 2, - DFMVideo = 3, - } - public class ResolveLinkExtension : Markdig.IMarkdownExtension - { - public ResolveLinkExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class RowBlock : Markdig.Syntax.ContainerBlock - { - public RowBlock(Markdig.Parsers.BlockParser parser) { } - public int ColonCount { get; set; } - } - public class RowExtension : Markdig.IMarkdownExtension - { - public RowExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class RowParser : Markdig.Parsers.BlockParser - { - public RowParser(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public override Markdig.Parsers.BlockState TryContinue(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - } - public class RowRender : Markdig.Renderers.Html.HtmlObjectRenderer - { - public RowRender() { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.RowBlock obj) { } - } - public class TabContentBlock : Markdig.Syntax.ContainerBlock - { - public TabContentBlock(System.Collections.Generic.List blocks) { } - } - public class TabGroupAggregator : Docfx.MarkdigEngine.Extensions.BlockAggregator - { - public TabGroupAggregator() { } - protected override bool AggregateCore(Markdig.Syntax.HeadingBlock headBlock, Docfx.MarkdigEngine.Extensions.BlockAggregateContext context) { } - } - public class TabGroupBlock : Markdig.Syntax.ContainerBlock - { - public TabGroupBlock(System.Collections.Immutable.ImmutableArray blocks, int startLine, int startSpan, int activeTabIndex) { } - public int ActiveTabIndex { get; set; } - public int Id { get; set; } - public System.Collections.Immutable.ImmutableArray Items { get; set; } - } - public class TabGroupExtension : Markdig.IMarkdownExtension - { - public TabGroupExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class TabItemBlock - { - public TabItemBlock(string id, string condition, Docfx.MarkdigEngine.Extensions.TabTitleBlock title, Docfx.MarkdigEngine.Extensions.TabContentBlock content, bool visible) { } - public string Condition { get; } - public Docfx.MarkdigEngine.Extensions.TabContentBlock Content { get; } - public string Id { get; } - public Docfx.MarkdigEngine.Extensions.TabTitleBlock Title { get; } - public bool Visible { get; set; } - } - public class TabTitleBlock : Markdig.Syntax.LeafBlock - { - public TabTitleBlock() { } - } - public class TripleColonBlock : Markdig.Syntax.ContainerBlock - { - public TripleColonBlock(Markdig.Parsers.BlockParser parser) { } - public System.Collections.Generic.IDictionary Attributes { get; set; } - public string Body { get; set; } - public bool Closed { get; set; } - public bool EndingTripleColons { get; set; } - public Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo Extension { get; set; } - } - public class TripleColonBlockParser : Markdig.Parsers.BlockParser - { - public TripleColonBlockParser(Docfx.MarkdigEngine.Extensions.MarkdownContext context, System.Collections.Generic.IDictionary extensions) { } - public override bool Close(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryContinue(Markdig.Parsers.BlockProcessor processor, Markdig.Syntax.Block block) { } - public override Markdig.Parsers.BlockState TryOpen(Markdig.Parsers.BlockProcessor processor) { } - public static bool TryMatchAttributeValue(ref Markdig.Helpers.StringSlice slice, out string value, string attributeName, System.Action logError) { } - public static bool TryMatchAttributes(ref Markdig.Helpers.StringSlice slice, out System.Collections.Generic.IDictionary attributes, bool selfClosing, System.Action logError) { } - public static bool TryMatchIdentifier(ref Markdig.Helpers.StringSlice slice, out string name) { } - } - public class TripleColonBlockRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public TripleColonBlockRenderer(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.TripleColonBlock block) { } - } - public class TripleColonExtension : Markdig.IMarkdownExtension - { - public TripleColonExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - public TripleColonExtension(Docfx.MarkdigEngine.Extensions.MarkdownContext context, params Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo[] extensions) { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class TripleColonInline : Markdig.Syntax.Inlines.Inline - { - public TripleColonInline() { } - public System.Collections.Generic.IDictionary Attributes { get; set; } - public string Body { get; set; } - public bool Closed { get; set; } - public int Count { get; } - public bool EndingTripleColons { get; set; } - public Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo Extension { get; set; } - } - public class TripleColonInlineParser : Markdig.Parsers.InlineParser - { - public TripleColonInlineParser(Docfx.MarkdigEngine.Extensions.MarkdownContext context, System.Collections.Generic.IDictionary extensions) { } - public override bool Match(Markdig.Parsers.InlineProcessor processor, ref Markdig.Helpers.StringSlice slice) { } - } - public class TripleColonInlineRenderer : Markdig.Renderers.Html.HtmlObjectRenderer - { - public TripleColonInlineRenderer(Docfx.MarkdigEngine.Extensions.MarkdownContext context) { } - protected override void Write(Markdig.Renderers.HtmlRenderer renderer, Docfx.MarkdigEngine.Extensions.TripleColonInline inline) { } - } - public class VideoExtension : Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo - { - public VideoExtension() { } - public bool IsBlock { get; } - public bool IsInline { get; } - public string Name { get; } - public bool SelfClosing { get; } - public bool Render(Markdig.Renderers.HtmlRenderer renderer, Markdig.Syntax.MarkdownObject markdownObject, System.Action logWarning) { } - public bool TryProcessAttributes(System.Collections.Generic.IDictionary attributes, out Markdig.Renderers.Html.HtmlAttributes htmlAttributes, System.Action logError, System.Action logWarning, Markdig.Syntax.MarkdownObject markdownObject) { } - public bool TryValidateAncestry(Markdig.Syntax.ContainerBlock container, System.Action logError) { } - public static string GetHtmlId(Markdig.Syntax.MarkdownObject obj) { } - public static bool RequiresClosingTripleColon(System.Collections.Generic.IDictionary attributes) { } - } - public class XrefInline : Markdig.Syntax.Inlines.LeafInline - { - public XrefInline() { } - public string Href { get; set; } - } - public class XrefInlineExtension : Markdig.IMarkdownExtension - { - public XrefInlineExtension() { } - public void Setup(Markdig.MarkdownPipelineBuilder pipeline) { } - public void Setup(Markdig.MarkdownPipeline pipeline, Markdig.Renderers.IMarkdownRenderer renderer) { } - } - public class XrefInlineParser : Markdig.Parsers.InlineParser - { - public XrefInlineParser() { } - public override bool Match(Markdig.Parsers.InlineProcessor processor, ref Markdig.Helpers.StringSlice slice) { } - } - public class ZoneExtension : Docfx.MarkdigEngine.Extensions.ITripleColonExtensionInfo - { - public ZoneExtension() { } - public bool IsBlock { get; } - public bool IsInline { get; } - public string Name { get; } - public bool SelfClosing { get; } - public bool Render(Markdig.Renderers.HtmlRenderer renderer, Markdig.Syntax.MarkdownObject markdownObject, System.Action logWarning) { } - public bool TryProcessAttributes(System.Collections.Generic.IDictionary attributes, out Markdig.Renderers.Html.HtmlAttributes htmlAttributes, System.Action logError, System.Action logWarning, Markdig.Syntax.MarkdownObject markdownObject) { } - public bool TryValidateAncestry(Markdig.Syntax.ContainerBlock container, System.Action logError) { } - } -} -namespace Docfx.MarkdigEngine -{ - public class TabGroupIdRewriter : Docfx.MarkdigEngine.Extensions.IMarkdownObjectRewriter - { - public TabGroupIdRewriter() { } - public void PostProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public void PreProcess(Markdig.Syntax.IMarkdownObject markdownObject) { } - public Markdig.Syntax.IMarkdownObject Rewrite(Markdig.Syntax.IMarkdownObject markdownObject) { } - } -} -namespace Docfx.Plugins -{ - public class DefaultFileAbstractLayer : Docfx.Plugins.IFileAbstractLayer - { - public DefaultFileAbstractLayer() { } - public void Copy(string sourceFileName, string destFileName) { } - public System.IO.Stream Create(string file) { } - public bool Exists(string file) { } - public System.Collections.Generic.IEnumerable GetAllInputFiles() { } - public string GetExpectedPhysicalPath(string file) { } - public string GetPhysicalPath(string file) { } - public System.Collections.Immutable.ImmutableDictionary GetProperties(string file) { } - public System.IO.Stream OpenRead(string file) { } - public static string GetOutputPhysicalPath(string file) { } - } - public class DocumentException : System.Exception - { - public DocumentException() { } - public DocumentException(string message) { } - public DocumentException(string message, System.Exception inner) { } - } - public static class DocumentExceptionExtensions - { - public static void RunAll(this System.Collections.Generic.IEnumerable elements, System.Action action, System.Threading.CancellationToken cancellationToken = default) { } - public static void RunAll(this System.Collections.Generic.IReadOnlyList elements, System.Action action, System.Threading.CancellationToken cancellationToken = default) { } - public static void RunAll(this System.Collections.Generic.IEnumerable elements, System.Action action, int parallelism, System.Threading.CancellationToken cancellationToken = default) { } - public static void RunAll(this System.Collections.Generic.IReadOnlyList elements, System.Action action, int parallelism, System.Threading.CancellationToken cancellationToken = default) { } - public static TResult[] RunAll(this System.Collections.Generic.IReadOnlyList elements, System.Func func, System.Threading.CancellationToken cancellationToken = default) { } - } - public enum DocumentType - { - Article = 0, - Overwrite = 1, - Resource = 2, - Metadata = 3, - MarkdownFragments = 4, - } - public static class EnvironmentContext - { - public static string BaseDirectory { get; } - public static Docfx.Plugins.IFileAbstractLayer FileAbstractLayer { get; } - public static bool GitFeaturesDisabled { get; } - public static string OutputDirectory { get; } - public static Docfx.Plugins.IFileAbstractLayer FileAbstractLayerImpl { get; set; } - public static void Clean() { } - public static void SetBaseDirectory(string dir) { } - public static void SetGitFeaturesDisabled(bool disabled) { } - public static void SetOutputDirectory(string dir) { } - } - public static class FileAbstractLayerExtensions - { - public static System.IO.StreamReader OpenReadText(this Docfx.Plugins.IFileAbstractLayer fal, string file) { } - public static string ReadAllText(this Docfx.Plugins.IFileAbstractLayer fal, string file) { } - } - public sealed class FileAndType : System.IEquatable - { - [Newtonsoft.Json.JsonConstructor] - [System.Text.Json.Serialization.JsonConstructor] - public FileAndType(string baseDir, string file, Docfx.Plugins.DocumentType type, string sourceDir = null, string destinationDir = null) { } - [Newtonsoft.Json.JsonProperty("baseDir")] - [System.Text.Json.Serialization.JsonPropertyName("baseDir")] - public string BaseDir { get; } - [Newtonsoft.Json.JsonProperty("destinationDir")] - [System.Text.Json.Serialization.JsonPropertyName("destinationDir")] - public string DestinationDir { get; set; } - [Newtonsoft.Json.JsonProperty("file")] - [System.Text.Json.Serialization.JsonPropertyName("file")] - public string File { get; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public string FullPath { get; } - [Newtonsoft.Json.JsonProperty("sourceDir")] - [System.Text.Json.Serialization.JsonPropertyName("sourceDir")] - public string SourceDir { get; set; } - [Newtonsoft.Json.JsonIgnore] - [System.Text.Json.Serialization.JsonIgnore] - public System.StringComparer StringComparer { get; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - public Docfx.Plugins.DocumentType Type { get; } - public Docfx.Plugins.FileAndType ChangeBaseDir(string baseDir) { } - public Docfx.Plugins.FileAndType ChangeFile(string file) { } - public Docfx.Plugins.FileAndType ChangeType(Docfx.Plugins.DocumentType type) { } - public bool Equals(Docfx.Plugins.FileAndType other) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public static bool operator !=(Docfx.Plugins.FileAndType left, Docfx.Plugins.FileAndType right) { } - public static bool operator ==(Docfx.Plugins.FileAndType left, Docfx.Plugins.FileAndType right) { } - } - public sealed class FileModel - { - public FileModel(Docfx.Plugins.FileAndType ft, object content, Docfx.Plugins.FileAndType original = null) { } - public FileModel(Docfx.Plugins.FileAndType ft, object content, Docfx.Plugins.FileAndType original, string key) { } - public string BaseDir { get; set; } - public object Content { get; set; } - public string DocumentType { get; set; } - public string File { get; set; } - public Docfx.Plugins.FileAndType FileAndType { get; } - public System.Collections.Immutable.ImmutableDictionary> FileLinkSources { get; set; } - public string Key { get; } - public System.Collections.Immutable.ImmutableHashSet LinkToFiles { get; set; } - public System.Collections.Immutable.ImmutableHashSet LinkToUids { get; set; } - public string LocalPathFromRoot { get; set; } - [System.Runtime.CompilerServices.Dynamic] - public object ManifestProperties { get; } - public Docfx.Plugins.FileModel MarkdownFragmentsModel { get; set; } - public Docfx.Plugins.FileAndType OriginalFileAndType { get; } - [System.Runtime.CompilerServices.Dynamic] - public object Properties { get; } - public Docfx.Plugins.DocumentType Type { get; } - public System.Collections.Immutable.ImmutableDictionary> UidLinkSources { get; set; } - public System.Collections.Immutable.ImmutableArray Uids { get; set; } - } - public class GroupInfo - { - public GroupInfo() { } - public string Destination { get; set; } - public System.Collections.Generic.Dictionary Metadata { get; set; } - public string Name { get; set; } - } - public interface ICompositionContainer - { - T GetExport(); - T GetExport(string name); - System.Collections.Generic.IEnumerable GetExports(); - System.Collections.Generic.IEnumerable GetExports(string name); - } - public interface ICustomHrefGenerator - { - string GenerateHref(Docfx.Plugins.IFileLinkInfo href); - } - public interface IDocumentBuildContext - { - System.Threading.CancellationToken CancellationToken { get; } - Docfx.Plugins.GroupInfo GroupInfo { get; } - Docfx.Plugins.ICustomHrefGenerator HrefGenerator { get; } - string RootTocPath { get; } - string VersionFolder { get; } - string VersionName { get; } - string GetFilePath(string key); - System.Collections.Immutable.IImmutableList GetTocFileKeySet(string key); - System.Collections.Immutable.IImmutableList GetTocInfo(); - Docfx.Plugins.XRefSpec GetXrefSpec(string uid); - void RegisterInternalXrefSpec(Docfx.Plugins.XRefSpec xrefSpec); - void RegisterInternalXrefSpecBookmark(string uid, string bookmark); - void RegisterToc(string tocFileKey, string fileKey); - void RegisterTocInfo(Docfx.Plugins.TocInfo toc); - void SetFilePath(string key, string filePath); - } - public interface IDocumentBuildStep - { - int BuildOrder { get; } - string Name { get; } - void Build(Docfx.Plugins.FileModel model, Docfx.Plugins.IHostService host); - void Postbuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host); - System.Collections.Generic.IEnumerable Prebuild(System.Collections.Immutable.ImmutableList models, Docfx.Plugins.IHostService host); - } - public interface IDocumentProcessor - { - System.Collections.Generic.IEnumerable BuildSteps { get; } - string Name { get; } - Docfx.Plugins.ProcessingPriority GetProcessingPriority(Docfx.Plugins.FileAndType file); - Docfx.Plugins.FileModel Load(Docfx.Plugins.FileAndType file, System.Collections.Immutable.ImmutableDictionary metadata); - Docfx.Plugins.SaveResult Save(Docfx.Plugins.FileModel model); - void UpdateHref(Docfx.Plugins.FileModel model, Docfx.Plugins.IDocumentBuildContext context); - } - public interface IFileAbstractLayer - { - void Copy(string sourceFileName, string destFileName); - System.IO.Stream Create(string file); - bool Exists(string file); - System.Collections.Generic.IEnumerable GetAllInputFiles(); - string GetExpectedPhysicalPath(string file); - string GetPhysicalPath(string file); - System.IO.Stream OpenRead(string file); - } - public interface IFileLinkInfo - { - string FileLinkInDest { get; } - string FileLinkInSource { get; } - string FromFileInDest { get; } - string FromFileInSource { get; } - Docfx.Plugins.GroupInfo GroupInfo { get; } - string Href { get; } - bool IsResolved { get; } - string ToFileInDest { get; } - string ToFileInSource { get; } - } - public interface IHostService - { - Docfx.Plugins.GroupInfo GroupInfo { get; } - bool HasMetadataValidation { get; } - string MarkdownServiceName { get; } - Docfx.Plugins.IDocumentProcessor Processor { get; } - System.Collections.Immutable.ImmutableDictionary SourceFiles { get; } - System.Collections.Immutable.ImmutableList TableOfContentRestructions { get; set; } - string VersionName { get; } - string VersionOutputFolder { get; } - System.Collections.Immutable.ImmutableHashSet GetAllUids(); - System.Collections.Immutable.ImmutableList GetModels(Docfx.Plugins.DocumentType? type = default); - void LogDiagnostic(string message, string file = null, string line = null); - void LogError(string message, string file = null, string line = null); - void LogInfo(string message, string file = null, string line = null); - void LogSuggestion(string message, string file = null, string line = null); - void LogVerbose(string message, string file = null, string line = null); - void LogWarning(string message, string file = null, string line = null); - System.Collections.Immutable.ImmutableList LookupByUid(string uid); - Docfx.Plugins.MarkupResult Markup(string markdown, Docfx.Plugins.FileAndType ft); - Docfx.Plugins.MarkupResult Markup(string markdown, Docfx.Plugins.FileAndType ft, bool omitParse); - Docfx.Plugins.MarkupResult Parse(Docfx.Plugins.MarkupResult markupResult, Docfx.Plugins.FileAndType ft); - void ValidateInputMetadata(string file, System.Collections.Immutable.ImmutableDictionary metadata); - } - public interface IInputMetadataValidator - { - void Validate(string sourceFile, System.Collections.Immutable.ImmutableDictionary metadata); - } - public interface IMarkdownService - { - string Name { get; } - Docfx.Plugins.MarkupResult Markup(string src, string path); - } - public interface IPostProcessor - { - System.Collections.Immutable.ImmutableDictionary PrepareMetadata(System.Collections.Immutable.ImmutableDictionary metadata); - Docfx.Plugins.Manifest Process(Docfx.Plugins.Manifest manifest, string outputFolder, System.Threading.CancellationToken cancellationToken); - } - public readonly struct LinkSourceInfo - { - public string Anchor { get; init; } - public int LineNumber { get; init; } - public string SourceFile { get; init; } - public string Target { get; init; } - } - public class Manifest - { - public Manifest() { } - public Manifest(System.Collections.Generic.IEnumerable files) { } - [Newtonsoft.Json.JsonProperty("groups")] - [System.Text.Json.Serialization.JsonPropertyName("groups")] - public System.Collections.Generic.List Groups { get; set; } - [Newtonsoft.Json.JsonProperty("sitemap")] - [System.Text.Json.Serialization.JsonPropertyName("sitemap")] - public Docfx.Plugins.SitemapOptions Sitemap { get; set; } - [Newtonsoft.Json.JsonProperty("source_base_path")] - [System.Text.Json.Serialization.JsonPropertyName("source_base_path")] - public string SourceBasePath { get; set; } - [Newtonsoft.Json.JsonProperty("xrefmap")] - [System.Obsolete] - [System.Text.Json.Serialization.JsonPropertyName("xrefmap")] - public object Xrefmap { get; set; } - [Newtonsoft.Json.JsonProperty("files")] - [System.Text.Json.Serialization.JsonPropertyName("files")] - public System.Collections.Generic.List Files { get; init; } - } - public class ManifestGroupInfo - { - public ManifestGroupInfo() { } - public ManifestGroupInfo(Docfx.Plugins.GroupInfo groupInfo) { } - [Newtonsoft.Json.JsonProperty("dest")] - [System.Text.Json.Serialization.JsonPropertyName("dest")] - public string Destination { get; set; } - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("xrefmap")] - [System.Text.Json.Serialization.JsonPropertyName("xrefmap")] - public string XRefmap { get; set; } - } - public class ManifestItem - { - public ManifestItem() { } - [Newtonsoft.Json.JsonProperty("group")] - [System.Text.Json.Serialization.JsonPropertyName("group")] - public string Group { get; set; } - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("source_relative_path")] - [System.Text.Json.Serialization.JsonPropertyName("source_relative_path")] - public string SourceRelativePath { get; set; } - [Newtonsoft.Json.JsonProperty("type")] - [System.Text.Json.Serialization.JsonPropertyName("type")] - public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("version")] - [System.Text.Json.Serialization.JsonPropertyName("version")] - public string Version { get; set; } - [Newtonsoft.Json.JsonProperty("output")] - [System.Text.Json.Serialization.JsonPropertyName("output")] - public System.Collections.Generic.Dictionary Output { get; init; } - } - public class MarkupResult - { - public MarkupResult() { } - public System.Collections.Immutable.ImmutableArray Dependency { get; set; } - public System.Collections.Immutable.ImmutableDictionary> FileLinkSources { get; set; } - public string Html { get; set; } - public System.Collections.Immutable.ImmutableArray LinkToFiles { get; set; } - public System.Collections.Immutable.ImmutableHashSet LinkToUids { get; set; } - public System.Collections.Immutable.ImmutableDictionary> UidLinkSources { get; set; } - public System.Collections.Immutable.ImmutableDictionary YamlHeader { get; set; } - public Docfx.Plugins.MarkupResult Clone() { } - } - public class OutputFileInfo - { - public OutputFileInfo() { } - [Newtonsoft.Json.JsonProperty("link_to_path")] - [System.Text.Json.Serialization.JsonPropertyName("link_to_path")] - public string LinkToPath { get; set; } - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("relative_path")] - [System.Text.Json.Serialization.JsonPropertyName("relative_path")] - public string RelativePath { get; set; } - } - public enum PageChangeFrequency - { - Always = 0, - Hourly = 1, - Daily = 2, - Weekly = 3, - Monthly = 4, - Yearly = 5, - Never = 6, - } - public enum ProcessingPriority - { - NotSupported = -1, - Lowest = 0, - Low = 64, - BelowNormal = 128, - Normal = 256, - AboveNormal = 512, - High = 1024, - Highest = 2147483647, - } - public class RootedFileAbstractLayer : Docfx.Plugins.IFileAbstractLayer - { - public RootedFileAbstractLayer(Docfx.Plugins.IFileAbstractLayer impl) { } - public void Copy(string sourceFileName, string destFileName) { } - public System.IO.Stream Create(string file) { } - public bool Exists(string file) { } - public System.Collections.Generic.IEnumerable GetAllInputFiles() { } - public string GetExpectedPhysicalPath(string file) { } - public string GetPhysicalPath(string file) { } - public System.IO.Stream OpenRead(string file) { } - } - public class SaveResult - { - public SaveResult() { } - public string DocumentType { get; set; } - public System.Collections.Immutable.ImmutableArray ExternalXRefSpecs { get; set; } - public System.Collections.Immutable.ImmutableDictionary> FileLinkSources { get; set; } - public string FileWithoutExtension { get; set; } - public System.Collections.Immutable.ImmutableArray LinkToFiles { get; set; } - public System.Collections.Immutable.ImmutableHashSet LinkToUids { get; set; } - public string ResourceFile { get; set; } - public System.Collections.Immutable.ImmutableDictionary> UidLinkSources { get; set; } - public System.Collections.Immutable.ImmutableArray XRefSpecs { get; set; } - } - public class SitemapElementOptions - { - public SitemapElementOptions() { } - [Newtonsoft.Json.JsonProperty("baseUrl")] - [System.Text.Json.Serialization.JsonPropertyName("baseUrl")] - public string BaseUrl { get; set; } - [Newtonsoft.Json.JsonProperty("changefreq")] - [System.Text.Json.Serialization.JsonPropertyName("changefreq")] - public Docfx.Plugins.PageChangeFrequency? ChangeFrequency { get; set; } - [Newtonsoft.Json.JsonProperty("lastmod")] - [System.Text.Json.Serialization.JsonPropertyName("lastmod")] - public System.DateTime? LastModified { get; set; } - [Newtonsoft.Json.JsonProperty("priority")] - [System.Text.Json.Serialization.JsonPropertyName("priority")] - public double? Priority { get; set; } - } - public class SitemapOptions : Docfx.Plugins.SitemapElementOptions - { - public SitemapOptions() { } - [Newtonsoft.Json.JsonProperty("fileOptions")] - [System.Text.Json.Serialization.JsonPropertyName("fileOptions")] - public System.Collections.Generic.Dictionary FileOptions { get; set; } - } - public class SourceFileInfo - { - public SourceFileInfo() { } - public string DocumentType { get; } - public string SourceRelativePath { get; } - public static Docfx.Plugins.SourceFileInfo FromManifestItem(Docfx.Plugins.ManifestItem manifestItem) { } - } - public class TocInfo - { - public TocInfo() { } - public int Order { get; init; } - public string TocFileKey { get; init; } - } - public class TreeItem - { - public TreeItem() { } - [Newtonsoft.Json.JsonProperty("items")] - [System.Text.Json.Serialization.JsonPropertyName("items")] - public System.Collections.Generic.List Items { get; set; } - [Newtonsoft.Json.JsonExtensionData] - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.Dictionary Metadata { get; set; } - } - public enum TreeItemActionType - { - ReplaceSelf = 0, - DeleteSelf = 1, - AppendChild = 2, - PrependChild = 3, - InsertAfter = 4, - InsertBefore = 5, - } - public enum TreeItemKeyType - { - TopicUid = 0, - TopicHref = 1, - } - public class TreeItemRestructure - { - public TreeItemRestructure() { } - public Docfx.Plugins.TreeItemActionType ActionType { get; set; } - public string Key { get; set; } - public System.Collections.Immutable.IImmutableList RestructuredItems { get; set; } - public System.Collections.Immutable.IImmutableList SourceFiles { get; set; } - public Docfx.Plugins.TreeItemKeyType TypeOfKey { get; set; } - } - public class UidDefinition - { - [Newtonsoft.Json.JsonConstructor] - [System.Text.Json.Serialization.JsonConstructor] - public UidDefinition(string name, string file, int? line = default, int? column = default, string path = null) { } - [Newtonsoft.Json.JsonProperty("column")] - [System.Text.Json.Serialization.JsonPropertyName("column")] - public int? Column { get; } - [Newtonsoft.Json.JsonProperty("file")] - [System.Text.Json.Serialization.JsonPropertyName("file")] - public string File { get; } - [Newtonsoft.Json.JsonProperty("line")] - [System.Text.Json.Serialization.JsonPropertyName("line")] - public int? Line { get; } - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - public string Name { get; } - [Newtonsoft.Json.JsonProperty("path")] - [System.Text.Json.Serialization.JsonPropertyName("path")] - public string Path { get; } - } - public sealed class XRefSpec : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable - { - public const string CommentIdKey = "commentId"; - public const string HrefKey = "href"; - public const string IsSpecKey = "isSpec"; - public const string NameKey = "name"; - public const string UidKey = "uid"; - public XRefSpec() { } - public XRefSpec(Docfx.Plugins.XRefSpec spec) { } - public XRefSpec(System.Collections.Generic.IDictionary dictionary) { } - public string CommentId { get; set; } - public int Count { get; } - public string Href { get; set; } - public bool IsReadOnly { get; } - public bool IsSpec { get; set; } - public object this[string key] { get; set; } - public System.Collections.Generic.ICollection Keys { get; } - public string Name { get; set; } - public string Uid { get; set; } - public System.Collections.Generic.ICollection Values { get; } - public void Add(string key, object value) { } - public void Clear() { } - public bool ContainsKey(string key) { } - public System.Collections.Generic.IEnumerator> GetEnumerator() { } - public bool Remove(string key) { } - public Docfx.Plugins.XRefSpec ToReadOnly() { } - public bool TryGetValue(string key, out object value) { } - public static Docfx.Plugins.XRefSpec Merge(Docfx.Plugins.XRefSpec left, Docfx.Plugins.XRefSpec right) { } - public static Docfx.Plugins.XRefSpec operator +(Docfx.Plugins.XRefSpec left, Docfx.Plugins.XRefSpec right) { } - } -} -namespace Docfx.YamlSerialization -{ - [System.AttributeUsage(System.AttributeTargets.Property)] - public sealed class ExtensibleMemberAttribute : System.Attribute - { - public ExtensibleMemberAttribute() { } - public ExtensibleMemberAttribute(string prefix) { } - public string Prefix { get; } - } - [System.Flags] - public enum SerializationOptions - { - None = 0, - Roundtrip = 1, - DisableAliases = 2, - EmitDefaults = 4, - JsonCompatible = 8, - DefaultToStaticType = 16, - } - public sealed class YamlDeserializer - { - public YamlDeserializer(YamlDotNet.Serialization.IObjectFactory objectFactory = null, YamlDotNet.Serialization.INamingConvention namingConvention = null, bool ignoreUnmatched = false, bool ignoreNotFoundAnchor = true) { } - public System.Collections.Generic.IList NodeDeserializers { get; } - public System.Collections.Generic.IList TypeResolvers { get; } - public YamlDotNet.Serialization.IValueDeserializer ValueDeserializer { get; } - public object Deserialize(System.IO.TextReader input, YamlDotNet.Serialization.IValueDeserializer deserializer = null) { } - public object Deserialize(YamlDotNet.Core.IParser reader, YamlDotNet.Serialization.IValueDeserializer deserializer = null) { } - public object Deserialize(System.IO.TextReader input, System.Type type, YamlDotNet.Serialization.IValueDeserializer deserializer = null) { } - public object Deserialize(YamlDotNet.Core.IParser parser, System.Type type, YamlDotNet.Serialization.IValueDeserializer deserializer = null) { } - public T Deserialize(System.IO.TextReader input, YamlDotNet.Serialization.IValueDeserializer deserializer = null) { } - public T Deserialize(YamlDotNet.Core.IParser reader, YamlDotNet.Serialization.IValueDeserializer deserializer = null) { } - public void RegisterTagMapping(string tag, System.Type type) { } - public void RegisterTypeConverter(YamlDotNet.Serialization.IYamlTypeConverter typeConverter) { } - } - public class YamlSerializer - { - public YamlSerializer(Docfx.YamlSerialization.SerializationOptions options = 0, YamlDotNet.Serialization.INamingConvention namingConvention = null) { } - public void Serialize(System.IO.TextWriter writer, object graph) { } - public void Serialize(YamlDotNet.Core.IEmitter emitter, object graph) { } - public void SerializeValue(YamlDotNet.Core.IEmitter emitter, object value, System.Type type) { } - } -} -namespace Docfx.YamlSerialization.NodeDeserializers -{ - public class EmitArrayNodeDeserializer : YamlDotNet.Serialization.INodeDeserializer - { - public EmitArrayNodeDeserializer() { } - public static TItem[] DeserializeHelper(YamlDotNet.Core.IParser reader, System.Type expectedType, System.Func nestedObjectDeserializer) { } - } - public class EmitGenericCollectionNodeDeserializer : YamlDotNet.Serialization.INodeDeserializer - { - public EmitGenericCollectionNodeDeserializer(YamlDotNet.Serialization.IObjectFactory objectFactory) { } - public static void DeserializeHelper(YamlDotNet.Core.IParser reader, System.Type expectedType, System.Func nestedObjectDeserializer, System.Collections.Generic.ICollection result) { } - } - public class EmitGenericDictionaryNodeDeserializer : YamlDotNet.Serialization.INodeDeserializer - { - public EmitGenericDictionaryNodeDeserializer(YamlDotNet.Serialization.IObjectFactory objectFactory) { } - public static void DeserializeHelper(YamlDotNet.Core.IParser reader, System.Type expectedType, System.Func nestedObjectDeserializer, System.Collections.Generic.IDictionary result) { } - } - public sealed class ExtensibleObjectNodeDeserializer : YamlDotNet.Serialization.INodeDeserializer - { - public ExtensibleObjectNodeDeserializer(YamlDotNet.Serialization.IObjectFactory objectFactory, YamlDotNet.Serialization.ITypeInspector typeDescriptor, bool ignoreUnmatched) { } - } -} -namespace Docfx.YamlSerialization.ObjectDescriptors -{ - public class BetterObjectDescriptor : YamlDotNet.Serialization.IObjectDescriptor - { - public BetterObjectDescriptor(object value, System.Type type, System.Type staticType) { } - public BetterObjectDescriptor(object value, System.Type type, System.Type staticType, YamlDotNet.Core.ScalarStyle scalarStyle) { } - public YamlDotNet.Core.ScalarStyle ScalarStyle { get; } - public System.Type StaticType { get; } - public System.Type Type { get; } - public object Value { get; } - } -} -namespace Docfx.YamlSerialization.ObjectFactories -{ - public class DefaultEmitObjectFactory : YamlDotNet.Serialization.ObjectFactories.ObjectFactoryBase - { - public DefaultEmitObjectFactory() { } - public override object Create(System.Type type) { } - } -} -namespace Docfx.YamlSerialization.ObjectGraphTraversalStrategies -{ - public class FullObjectGraphTraversalStrategy : YamlDotNet.Serialization.IObjectGraphTraversalStrategy - { - public FullObjectGraphTraversalStrategy(Docfx.YamlSerialization.YamlSerializer serializer, YamlDotNet.Serialization.ITypeInspector typeDescriptor, YamlDotNet.Serialization.ITypeResolver typeResolver, int maxRecursion, YamlDotNet.Serialization.INamingConvention namingConvention) { } - protected Docfx.YamlSerialization.YamlSerializer Serializer { get; } - protected virtual void Traverse(YamlDotNet.Serialization.IObjectDescriptor value, YamlDotNet.Serialization.IObjectGraphVisitor visitor, int currentDepth, TContext context) { } - protected virtual void TraverseDictionary(YamlDotNet.Serialization.IObjectDescriptor dictionary, object visitor, int currentDepth, object context) { } - protected virtual void TraverseObject(YamlDotNet.Serialization.IObjectDescriptor value, YamlDotNet.Serialization.IObjectGraphVisitor visitor, int currentDepth, TContext context) { } - protected virtual void TraverseProperties(YamlDotNet.Serialization.IObjectDescriptor value, object visitor, int currentDepth, object context) { } - public static void TraverseGenericDictionaryHelper(Docfx.YamlSerialization.ObjectGraphTraversalStrategies.FullObjectGraphTraversalStrategy self, System.Collections.Generic.IDictionary dictionary, object visitor, int currentDepth, YamlDotNet.Serialization.INamingConvention namingConvention, object context) { } - } - public class RoundtripObjectGraphTraversalStrategy : Docfx.YamlSerialization.ObjectGraphTraversalStrategies.FullObjectGraphTraversalStrategy - { - public RoundtripObjectGraphTraversalStrategy(Docfx.YamlSerialization.YamlSerializer serializer, YamlDotNet.Serialization.ITypeInspector typeDescriptor, YamlDotNet.Serialization.ITypeResolver typeResolver, int maxRecursion) { } - protected override void TraverseProperties(YamlDotNet.Serialization.IObjectDescriptor value, object visitor, int currentDepth, object context) { } - } -} -namespace Docfx.YamlSerialization.TypeInspectors -{ - public class EmitTypeInspector : Docfx.YamlSerialization.TypeInspectors.ExtensibleTypeInspectorSkeleton - { - public EmitTypeInspector(YamlDotNet.Serialization.ITypeResolver resolver) { } - public override System.Collections.Generic.IEnumerable GetProperties(System.Type type, object container) { } - public override YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name) { } - } - public sealed class ExtensibleNamingConventionTypeInspector : Docfx.YamlSerialization.TypeInspectors.ExtensibleTypeInspectorSkeleton - { - public ExtensibleNamingConventionTypeInspector(Docfx.YamlSerialization.TypeInspectors.IExtensibleTypeInspector innerTypeDescriptor, YamlDotNet.Serialization.INamingConvention namingConvention) { } - public override System.Collections.Generic.IEnumerable GetProperties(System.Type type, object container) { } - public override YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name) { } - } - public sealed class ExtensibleReadableAndWritablePropertiesTypeInspector : Docfx.YamlSerialization.TypeInspectors.ExtensibleTypeInspectorSkeleton - { - public ExtensibleReadableAndWritablePropertiesTypeInspector(Docfx.YamlSerialization.TypeInspectors.IExtensibleTypeInspector innerTypeDescriptor) { } - public override System.Collections.Generic.IEnumerable GetProperties(System.Type type, object container) { } - public override YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name) { } - } - public abstract class ExtensibleTypeInspectorSkeleton : Docfx.YamlSerialization.TypeInspectors.IExtensibleTypeInspector, YamlDotNet.Serialization.ITypeInspector - { - protected ExtensibleTypeInspectorSkeleton() { } - public abstract System.Collections.Generic.IEnumerable GetProperties(System.Type type, object container); - public virtual YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name) { } - public YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name, bool ignoreUnmatched) { } - } - public sealed class ExtensibleYamlAttributesTypeInspector : Docfx.YamlSerialization.TypeInspectors.ExtensibleTypeInspectorSkeleton - { - public ExtensibleYamlAttributesTypeInspector(Docfx.YamlSerialization.TypeInspectors.IExtensibleTypeInspector innerTypeDescriptor) { } - public override System.Collections.Generic.IEnumerable GetProperties(System.Type type, object container) { } - public override YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name) { } - } - public interface IExtensibleTypeInspector : YamlDotNet.Serialization.ITypeInspector - { - YamlDotNet.Serialization.IPropertyDescriptor GetProperty(System.Type type, object container, string name); - } -} \ No newline at end of file diff --git a/test/docfx.Tests/PublicApiContractTest.cs b/test/docfx.Tests/PublicApiContractTest.cs deleted file mode 100644 index d54d39da116..00000000000 --- a/test/docfx.Tests/PublicApiContractTest.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Reflection; -using PublicApiGenerator; - -namespace Docfx.Tests; - -public class PublicApiContractTest -{ - [Fact] - public static Task TestPublicApiContract() - { - var assemblies = new HashSet(); - GetAssemblies(typeof(Docset).Assembly); - - var publicApi = string.Join('\n', assemblies - .OrderBy(a => a.FullName) - .Select(a => a.GeneratePublicApi(new() { IncludeAssemblyAttributes = false }))); - - return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify(includeBuildServer: false); - - void GetAssemblies(Assembly assembly) - { - assemblies.Add(assembly); - - foreach (var name in assembly.GetReferencedAssemblies()) - { - if (name.Name.StartsWith("Docfx.", StringComparison.OrdinalIgnoreCase)) - { - GetAssemblies(Assembly.Load(name.Name)); - } - } - } - } -} diff --git a/test/docfx.Tests/docfx.Tests.csproj b/test/docfx.Tests/docfx.Tests.csproj index 7ae078bfb84..4dd4811307a 100644 --- a/test/docfx.Tests/docfx.Tests.csproj +++ b/test/docfx.Tests/docfx.Tests.csproj @@ -5,11 +5,6 @@ - - - - - From 6dd9ec38627b6737e3b7000ac0a236896cb38060 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 8 Nov 2024 14:44:48 +1100 Subject: [PATCH 13/70] chore: leverage generated regex (#10366) * leverage generated regex * Revert "test: generate public API contract" This reverts commit 1613584e70195bbdb46ebc7b92a7a517c1ef0875 --------- Co-authored-by: Yufei Huang --- .../OverwriteUtility.cs | 10 +-- .../SwaggerModelConverter.cs | 9 ++- .../PostProcessors/ExtractSearchIndex.cs | 8 +- .../TableOfContents/MarkdownTocReader.cs | 78 ++++++++++--------- .../ViewRenderers/MustacheTemplateRenderer.cs | 17 ++-- .../ViewRenderers/ParseTemplateHelper.cs | 7 +- src/Docfx.Common/Path/PathUtility.cs | 8 +- .../ManagedReference/Visitors/SpecIdHelper.cs | 17 ++-- .../Visitors/SymbolVisitorAdapter.cs | 8 +- .../Visitors/VisitorHelper.cs | 8 +- src/Docfx.Dotnet/Parsers/XmlComment.cs | 32 +++++--- src/Docfx.Glob/GlobMatcher.cs | 21 +++-- .../Aggregator/TabGroupAggregator.cs | 7 +- .../CodeSnippet/CodeSnippetExtractor.cs | 8 +- .../ExtensionsHelper.cs | 17 ++-- .../HeadingId/HeadingIdRewriter.cs | 13 ++-- .../TripleColon/ZoneExtension.cs | 13 ++-- .../Helpers/Regexes.cs | 14 ++-- .../ScalarYamlNodeTypeResolver.cs | 6 +- .../BetterObjectDescriptor.cs | 8 +- 20 files changed, 181 insertions(+), 128 deletions(-) diff --git a/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs b/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs index 275874b7e5e..869b012e0a7 100644 --- a/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs +++ b/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs @@ -7,14 +7,12 @@ namespace Docfx.Build.OverwriteDocuments; -public static class OverwriteUtility +public static partial class OverwriteUtility { private static readonly string[] UidWrappers = ["`", "``", "```", "````", "`````", "``````"]; - private static readonly Regex OPathRegex = - new( - @"^(?[:A-Za-z_](?>[\w\.\-:]*))(?:\[\s*(?[:A-Za-z_](?>[\w\.\-:]*))\s*=\s*(?:""(?(?:(?>[^""\\]*)|\\.)*)"")\s*\])?(?:\/|$)", - RegexOptions.Compiled); + [GeneratedRegex(@"^(?[:A-Za-z_](?>[\w\.\-:]*))(?:\[\s*(?[:A-Za-z_](?>[\w\.\-:]*))\s*=\s*(?:""(?(?:(?>[^""\\]*)|\\.)*)"")\s*\])?(?:\/|$)")] + private static partial Regex OPathRegex(); public static List ParseOPath(string OPathString) { @@ -33,7 +31,7 @@ public static List ParseOPath(string OPathString) var leftString = OPathString; while (leftString.Length > 0) { - var match = OPathRegex.Match(leftString); + var match = OPathRegex().Match(leftString); if (match.Length == 0) { throw new ArgumentException($"{OPathString} is not a valid OPath"); diff --git a/src/Docfx.Build.RestApi/SwaggerModelConverter.cs b/src/Docfx.Build.RestApi/SwaggerModelConverter.cs index f83a79c45bb..72d25d62495 100644 --- a/src/Docfx.Build.RestApi/SwaggerModelConverter.cs +++ b/src/Docfx.Build.RestApi/SwaggerModelConverter.cs @@ -12,7 +12,7 @@ namespace Docfx.Build.RestApi; -public static class SwaggerModelConverter +public static partial class SwaggerModelConverter { public static RestApiRootItemViewModel FromSwaggerModel(SwaggerModel swagger) { @@ -106,7 +106,9 @@ public static RestApiRootItemViewModel FromSwaggerModel(SwaggerModel swagger) #region Private methods - private static readonly Regex HtmlEncodeRegex = new(@"\W", RegexOptions.Compiled); + [GeneratedRegex(@"\W")] + private static partial Regex HtmlEncodeRegex(); + private const string TagText = "tag"; private static readonly string[] OperationNames = ["get", "put", "post", "delete", "options", "head", "patch"]; @@ -118,7 +120,7 @@ public static RestApiRootItemViewModel FromSwaggerModel(SwaggerModel swagger) private static string GetHtmlId(string id) { if (string.IsNullOrEmpty(id)) return null; - return HtmlEncodeRegex.Replace(id, "_"); + return HtmlEncodeRegex().Replace(id, "_"); } private static string GetUid(SwaggerModel swagger) @@ -194,6 +196,5 @@ private static string GetMetadataStringValue(ParameterObject parameter, string m } return null; } - #endregion } diff --git a/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs b/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs index eafe8a01013..34e11fb2d2a 100644 --- a/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs +++ b/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs @@ -14,9 +14,11 @@ namespace Docfx.Build.Engine; [Export(nameof(ExtractSearchIndex), typeof(IPostProcessor))] -class ExtractSearchIndex : IPostProcessor +partial class ExtractSearchIndex : IPostProcessor { - private static readonly Regex s_regexWhiteSpace = new(@"\s+", RegexOptions.Compiled); + [GeneratedRegex(@"\s+")] + private static partial Regex s_regexWhiteSpace(); + private static readonly HashSet s_htmlInlineTags = new(StringComparer.OrdinalIgnoreCase) { "a", "area", "del", "ins", "link", "map", "meta", "abbr", "audio", "b", "bdo", "button", "canvas", "cite", "code", "command", "data", @@ -136,7 +138,7 @@ private static string NormalizeContent(string str) return string.Empty; } str = WebUtility.HtmlDecode(str); - return s_regexWhiteSpace.Replace(str, " ").Trim(); + return s_regexWhiteSpace().Replace(str, " ").Trim(); } private static void ExtractTextFromNode(HtmlNode node, StringBuilder contentBuilder) diff --git a/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs b/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs index 0f91c0b7acd..cbd396e8fbc 100644 --- a/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs +++ b/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs @@ -8,7 +8,7 @@ namespace Docfx.Build.TableOfContents; -public static class MarkdownTocReader +public static partial class MarkdownTocReader { private const string ContinuableCharacters = ".,;:!?~"; private const string StopCharacters = @"\s\""\'<>"; @@ -166,20 +166,22 @@ protected ParseState ApplyCore(ParseState state, int level, string text, string /// 2. # [tocTitle](@uid) /// 3. # [tocTitle](xref:uid) /// - internal sealed class TopicTocParseRule : ParseRule + internal sealed partial class TopicTocParseRule : ParseRule { - private static readonly Regex UidRegex = new(@"^\s*(?:xref:|@)(\s*?\S+?[\s\S]*?)\s*$", RegexOptions.Compiled); - public static readonly Regex TocRegex = - new(@"^(?#+)(( |\t)*)\[(?.+)\]\((?(?!http[s]?://).*?)(\)| ""(?.*)""\))(?:( |\t)+#*)?( |\t)*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex(@"^\s*(?:xref:|@)(\s*?\S+?[\s\S]*?)\s*$")] + private static partial Regex UidRegex(); - public override Match Match(string text) => TocRegex.Match(text); + [GeneratedRegex(@"^(?#+)(( |\t)*)\[(?.+)\]\((?(?!http[s]?://).*?)(\)| ""(?.*)""\))(?:( |\t)+#*)?( |\t)*(\n|$)")] + private static partial Regex TocRegex(); + + public override Match Match(string text) => TocRegex().Match(text); public override ParseState Apply(ParseState state, Match match) { var tocLink = match.Groups["tocLink"].Value; var tocTitle = match.Groups["tocTitle"].Value; var headerLevel = match.Groups["headerLevel"].Value.Length; - var uidMatch = UidRegex.Match(tocLink); + var uidMatch = UidRegex().Match(tocLink); string tocDisplayTitle = null; var displayGrp = match.Groups["displayText"]; @@ -202,19 +204,20 @@ public override ParseState Apply(ParseState state, Match match) /// 1. /// 2. /// - internal sealed class TopicXrefAutoLinkTocParseRule : ParseRule + internal sealed partial class TopicXrefAutoLinkTocParseRule : ParseRule { - public static readonly Regex XrefAutoLinkTocRegex = - new($@"^(#+)(?: |\t)*{XrefAutoLinkRegexString}( |\t)*#*( |\t)*(\n|$)", RegexOptions.Compiled); - public static readonly Regex XrefAutoLinkWithQuoteTocRegex = - new($@"^(#+)(?: |\t)*{XrefAutoLinkRegexWithQuoteString}( |\t)*#*( |\t)*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex($@"^(#+)(?: |\t)*{XrefAutoLinkRegexString}( |\t)*#*( |\t)*(\n|$)")] + private static partial Regex XrefAutoLinkTocRegex(); + + [GeneratedRegex($@"^(#+)(?: |\t)*{XrefAutoLinkRegexWithQuoteString}( |\t)*#*( |\t)*(\n|$)")] + private static partial Regex XrefAutoLinkWithQuoteTocRegex(); public override Match Match(string text) { - var match = XrefAutoLinkWithQuoteTocRegex.Match(text); + var match = XrefAutoLinkWithQuoteTocRegex().Match(text); if (match.Length == 0) { - match = XrefAutoLinkTocRegex.Match(text); + match = XrefAutoLinkTocRegex().Match(text); } return match; @@ -226,19 +229,20 @@ public override ParseState Apply(ParseState state, Match match) } } - internal sealed class TopicXrefShortcutTocParseRule : ParseRule + internal sealed partial class TopicXrefShortcutTocParseRule : ParseRule { - public static readonly Regex XrefShortcutTocRegex = - new($@"^(#+)(?: |\t)*{XrefShortcutRegexString}( |\t)*#*( |\t)*(\n|$)", RegexOptions.Compiled); - public static readonly Regex XrefShortcutTocWithQuoteTocRegex = - new($@"^(#+)(?: |\t)*{XrefShortcutRegexWithQuoteString}( |\t)*#*( |\t)*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex($@"^(#+)(?: |\t)*{XrefShortcutRegexString}( |\t)*#*( |\t)*(\n|$)")] + private static partial Regex XrefShortcutTocRegex(); + + [GeneratedRegex($@"^(#+)(?: |\t)*{XrefShortcutRegexWithQuoteString}( |\t)*#*( |\t)*(\n|$)")] + private static partial Regex XrefShortcutTocWithQuoteTocRegex(); public override Match Match(string text) { - var match = XrefShortcutTocWithQuoteTocRegex.Match(text); + var match = XrefShortcutTocWithQuoteTocRegex().Match(text); if (match.Length == 0) { - match = XrefShortcutTocRegex.Match(text); + match = XrefShortcutTocRegex().Match(text); } return match; @@ -250,12 +254,12 @@ public override ParseState Apply(ParseState state, Match match) } } - internal sealed class ExternalLinkTocParseRule : ParseRule + internal sealed partial class ExternalLinkTocParseRule : ParseRule { - public static readonly Regex TocRegex = - new(@"^(?#+)(( |\t)*)\[(?.+?)\]\((?(http[s]?://).*?)\)(?:( |\t)+#*)?( |\t)*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex(@"^(?#+)(( |\t)*)\[(?.+?)\]\((?(http[s]?://).*?)\)(?:( |\t)+#*)?( |\t)*(\n|$)")] + private static partial Regex TocRegex(); - public override Match Match(string text) => TocRegex.Match(text); + public override Match Match(string text) => TocRegex().Match(text); public override ParseState Apply(ParseState state, Match match) { @@ -263,12 +267,12 @@ public override ParseState Apply(ParseState state, Match match) } } - internal sealed class ContainerParseRule : ParseRule + internal sealed partial class ContainerParseRule : ParseRule { - public static readonly Regex ContainerRegex = - new(@"^(?#+)(( |\t)*)(?.+?)(?:( |\t)+#*)?( |\t)*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex(@"^(?#+)(( |\t)*)(?.+?)(?:( |\t)+#*)?( |\t)*(\n|$)")] + private static partial Regex ContainerRegex(); - public override Match Match(string text) => ContainerRegex.Match(text); + public override Match Match(string text) => ContainerRegex().Match(text); public override ParseState Apply(ParseState state, Match match) { @@ -276,22 +280,22 @@ public override ParseState Apply(ParseState state, Match match) } } - internal sealed class CommentParseRule : ParseRule + internal sealed partial class CommentParseRule : ParseRule { - public static readonly Regex CommentRegex = - new(@"^\s*\s*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex(@"^\s*\s*(\n|$)")] + private static partial Regex CommentRegex(); - public override Match Match(string text) => CommentRegex.Match(text); + public override Match Match(string text) => CommentRegex().Match(text); public override ParseState Apply(ParseState state, Match match) => state; } - internal sealed class WhitespaceParseRule : ParseRule + internal sealed partial class WhitespaceParseRule : ParseRule { - public static readonly Regex WhitespaceRegex = - new(@"^\s*(\n|$)", RegexOptions.Compiled); + [GeneratedRegex(@"^\s*(\n|$)")] + private static partial Regex WhitespaceRegex(); - public override Match Match(string text) => WhitespaceRegex.Match(text); + public override Match Match(string text) => WhitespaceRegex().Match(text); public override ParseState Apply(ParseState state, Match match) => state; } diff --git a/src/Docfx.Build/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs b/src/Docfx.Build/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs index 2d70a24fcde..758fe10a602 100644 --- a/src/Docfx.Build/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs +++ b/src/Docfx.Build/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs @@ -7,13 +7,18 @@ namespace Docfx.Build.Engine; -internal class MustacheTemplateRenderer : ITemplateRenderer +internal partial class MustacheTemplateRenderer : ITemplateRenderer { public const string Extension = ".tmpl"; - private static readonly Regex IncludeRegex = new(@"{{\s*!\s*include\s*\(:?(:?['""]?)\s*(?(.+?))\1\s*\)\s*}}", RegexOptions.Compiled | RegexOptions.IgnoreCase); - private static readonly Regex MasterPageRegex = new(@"{{\s*!\s*master\s*\(:?(:?['""]?)\s*(?(.+?))\1\s*\)\s*}}\s*\n?", RegexOptions.Compiled | RegexOptions.IgnoreCase); - private static readonly Regex MasterPageBodyRegex = new(@"{{\s*!\s*body\s*}}\s*\n?", RegexOptions.Compiled | RegexOptions.IgnoreCase); + [GeneratedRegex(@"{{\s*!\s*include\s*\(:?(:?['""]?)\s*(?(.+?))\1\s*\)\s*}}", RegexOptions.IgnoreCase | RegexOptions.Compiled, "en-AU")] + private static partial Regex IncludeRegex(); + + [GeneratedRegex(@"{{\s*!\s*master\s*\(:?(:?['""]?)\s*(?(.+?))\1\s*\)\s*}}\s*\n?", RegexOptions.IgnoreCase | RegexOptions.Compiled, "en-AU")] + private static partial Regex MasterPageRegex(); + + [GeneratedRegex(@"{{\s*!\s*body\s*}}\s*\n?", RegexOptions.IgnoreCase | RegexOptions.Compiled, "en-AU")] + private static partial Regex MasterPageBodyRegex(); private readonly ResourceFileReader _reader; private readonly IStubbleRenderer _renderer; @@ -37,7 +42,7 @@ public MustacheTemplateRenderer(ResourceFileReader reader, ResourceInfo info, st }) .Build(); - var processedTemplate = ParseTemplateHelper.ExpandMasterPage(reader, info, MasterPageRegex, MasterPageBodyRegex); + var processedTemplate = ParseTemplateHelper.ExpandMasterPage(reader, info, MasterPageRegex(), MasterPageBodyRegex()); _template = processedTemplate; @@ -63,7 +68,7 @@ public string Render(object model) /// private IEnumerable ExtractDependencyResourceNames(string template) { - foreach (Match match in IncludeRegex.Matches(template)) + foreach (Match match in IncludeRegex().Matches(template)) { var filePath = match.Groups["file"].Value; foreach (var name in ParseTemplateHelper.GetResourceName(filePath, Path, _reader)) diff --git a/src/Docfx.Build/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs b/src/Docfx.Build/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs index a8585fef5a6..48330028fdd 100644 --- a/src/Docfx.Build/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs +++ b/src/Docfx.Build/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs @@ -7,9 +7,10 @@ namespace Docfx.Build.Engine; -internal static class ParseTemplateHelper +internal static partial class ParseTemplateHelper { - private static readonly Regex IsRegexPatternRegex = new(@"^\s*/(.*)/\s*$", RegexOptions.Compiled); + [GeneratedRegex(@"^\s*/(.*)/\s*$")] + private static partial Regex IsRegexPatternRegex(); public static string ExpandMasterPage(ResourceFileReader reader, ResourceInfo info, Regex masterRegex, Regex bodyRegex) { @@ -72,7 +73,7 @@ public static IEnumerable GetResourceName(string file, string templateNa file = file.Substring(2); } - var regexPatternMatch = IsRegexPatternRegex.Match(file); + var regexPatternMatch = IsRegexPatternRegex().Match(file); if (regexPatternMatch.Groups.Count > 1) { file = regexPatternMatch.Groups[1].Value; diff --git a/src/Docfx.Common/Path/PathUtility.cs b/src/Docfx.Common/Path/PathUtility.cs index 08437417e0a..e4673633f12 100644 --- a/src/Docfx.Common/Path/PathUtility.cs +++ b/src/Docfx.Common/Path/PathUtility.cs @@ -5,9 +5,11 @@ namespace Docfx.Common; -public static class PathUtility +public static partial class PathUtility { - private static readonly Regex UriWithProtocol = new(@"^\w{2,}\:", RegexOptions.Compiled); + + [GeneratedRegex(@"^\w{2,}\:")] + private static partial Regex UriWithProtocol(); private static readonly char[] AdditionalInvalidChars = ":*".ToArray(); public static readonly char[] InvalidFileNameChars = Path.GetInvalidFileNameChars().Concat(AdditionalInvalidChars).ToArray(); @@ -98,7 +100,7 @@ public static bool IsRelativePath(string path) return false; } - if (UriWithProtocol.IsMatch(path)) + if (UriWithProtocol().IsMatch(path)) { return false; } diff --git a/src/Docfx.Dotnet/ManagedReference/Visitors/SpecIdHelper.cs b/src/Docfx.Dotnet/ManagedReference/Visitors/SpecIdHelper.cs index 6c728817d0c..a6349fcfcec 100644 --- a/src/Docfx.Dotnet/ManagedReference/Visitors/SpecIdHelper.cs +++ b/src/Docfx.Dotnet/ManagedReference/Visitors/SpecIdHelper.cs @@ -7,10 +7,13 @@ namespace Docfx.Dotnet; -internal sealed class SpecIdHelper +internal sealed partial class SpecIdHelper { - private static readonly Regex TypeParameterRegex = new(@"\B(? { @@ -57,7 +60,7 @@ private static string SpecTypeGenericParameter(IReadOnlyList names, stri { return id; } - return TypeParameterRegex.Replace( + return TypeParameterRegex().Replace( id, match => { @@ -72,7 +75,7 @@ private static string SpecMethodGenericParameter(IReadOnlyList names, st { return id; } - return MethodParameterRegex.Replace( + return MethodParameterRegex().Replace( id, match => { @@ -82,7 +85,7 @@ private static string SpecMethodGenericParameter(IReadOnlyList names, st } /// - /// spec extension method's receiver type. + /// spec extension method's receiver type. /// for below overload: M(this A), M(this A, A), AddReference applies to the first method and AddSpecReference applies to the second method might get same id without prepending receiver type. /// /// symbol diff --git a/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs b/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs index 0ede8bde10a..db222e49182 100644 --- a/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs +++ b/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs @@ -12,9 +12,11 @@ namespace Docfx.Dotnet; -internal class SymbolVisitorAdapter : SymbolVisitor +internal partial class SymbolVisitorAdapter : SymbolVisitor { - private static readonly Regex MemberSigRegex = new(@"^([\w\{\}`]+\.)+", RegexOptions.Compiled); + [GeneratedRegex(@"^([\w\{\}`]+\.)+")] + private static partial Regex MemberSigRegex(); + private static readonly IReadOnlyList EmptyListOfString = Array.Empty(); private readonly Compilation _compilation; private readonly YamlModelGenerator _generator; @@ -669,7 +671,7 @@ where _filter.IncludeApi(m) where IsInheritable(m) select m) { - var sig = MemberSigRegex.Replace(SpecIdHelper.GetSpecId(m, typeParameterNames), string.Empty); + var sig = MemberSigRegex().Replace(SpecIdHelper.GetSpecId(m, typeParameterNames), string.Empty); if (!dict.ContainsKey(sig)) { dict.Add(sig, type.Equals(symbol, SymbolEqualityComparer.Default) ? null : AddSpecReference(m, typeParameterNames)); diff --git a/src/Docfx.Dotnet/ManagedReference/Visitors/VisitorHelper.cs b/src/Docfx.Dotnet/ManagedReference/Visitors/VisitorHelper.cs index 0db6a1a587f..51e0a8afba1 100644 --- a/src/Docfx.Dotnet/ManagedReference/Visitors/VisitorHelper.cs +++ b/src/Docfx.Dotnet/ManagedReference/Visitors/VisitorHelper.cs @@ -12,10 +12,12 @@ namespace Docfx.Dotnet; -internal static class VisitorHelper +internal static partial class VisitorHelper { public static string GlobalNamespaceId { get; set; } - private static readonly Regex GenericMethodPostFix = new(@"``\d+$", RegexOptions.Compiled); + + [GeneratedRegex(@"``\d+$")] + private static partial Regex GenericMethodPostFix(); public static string PathFriendlyId(string id) { @@ -109,7 +111,7 @@ public static string GetOverloadIdBody(ISymbol symbol) uidBody = uidBody.Remove(index); } } - uidBody = GenericMethodPostFix.Replace(uidBody, string.Empty); + uidBody = GenericMethodPostFix().Replace(uidBody, string.Empty); return uidBody; } diff --git a/src/Docfx.Dotnet/Parsers/XmlComment.cs b/src/Docfx.Dotnet/Parsers/XmlComment.cs index 1f11f699790..da4467e3fcc 100644 --- a/src/Docfx.Dotnet/Parsers/XmlComment.cs +++ b/src/Docfx.Dotnet/Parsers/XmlComment.cs @@ -19,14 +19,24 @@ namespace Docfx.Dotnet; -internal class XmlComment +internal partial class XmlComment { private const string IdSelector = @"((?![0-9])[\w_])+[\w\(\)\.\{\}\[\]\|\*\^~#@!`,_<>:]*"; - private static readonly Regex CommentIdRegex = new("^(?N|T|M|P|F|E|Overload):(?" + IdSelector + ")$", RegexOptions.Compiled); - private static readonly Regex RegionRegex = new(@"^\s*#region\s*(.*)$"); - private static readonly Regex XmlRegionRegex = new(@"^\s*$"); - private static readonly Regex EndRegionRegex = new(@"^\s*#endregion\s*.*$"); - private static readonly Regex XmlEndRegionRegex = new(@"^\s*$"); + + [GeneratedRegex("^(?N|T|M|P|F|E|Overload):(?" + IdSelector + ")$")] + private static partial Regex CommentIdRegex(); + + [GeneratedRegex(@"^\s*#region\s*(.*)$")] + private static partial Regex RegionRegex(); + + [GeneratedRegex(@"^\s*$")] + private static partial Regex XmlRegionRegex(); + + [GeneratedRegex(@"^\s*#endregion\s*.*$")] + private static partial Regex EndRegionRegex(); + + [GeneratedRegex(@"^\s*$")] + private static partial Regex XmlEndRegionRegex(); private readonly XmlCommentParserContext _context; @@ -281,10 +291,10 @@ private static (Regex, Regex) GetRegionRegex(string source) case ".HTML": case ".CSHTML": case ".VBHTML": - return (XmlRegionRegex, XmlEndRegionRegex); + return (XmlRegionRegex(), XmlEndRegionRegex()); } - return (RegionRegex, EndRegionRegex); + return (RegionRegex(), EndRegionRegex()); } private static void ResolveLangword(XNode node) @@ -322,7 +332,7 @@ private void ResolveCrefLink(XNode node, string nodeSelector, Action GetMultipleCrefInfo(XPathNavigator navigator, else if (!string.IsNullOrEmpty(commentId)) { // Check if exception type is valid and trim prefix - var match = CommentIdRegex.Match(commentId); + var match = CommentIdRegex().Match(commentId); if (match.Success) { var id = match.Groups["id"].Value; @@ -479,7 +489,7 @@ private static IEnumerable GetMultipleLinkInfo(XPathNavigator navigato else if (!string.IsNullOrEmpty(commentId)) { // Check if cref type is valid and trim prefix - var match = CommentIdRegex.Match(commentId); + var match = CommentIdRegex().Match(commentId); if (match.Success) { var id = match.Groups["id"].Value; diff --git a/src/Docfx.Glob/GlobMatcher.cs b/src/Docfx.Glob/GlobMatcher.cs index 9e83ac95a83..084e59e4e94 100644 --- a/src/Docfx.Glob/GlobMatcher.cs +++ b/src/Docfx.Glob/GlobMatcher.cs @@ -8,7 +8,7 @@ namespace Docfx.Glob; -public class GlobMatcher : IEquatable +public partial class GlobMatcher : IEquatable { #region Private fields private static readonly StringComparer Comparer = FilePathComparer.OSPlatformSensitiveStringComparer; @@ -17,12 +17,16 @@ public class GlobMatcher : IEquatable private const string GlobStar = "**"; private const string ReplacerGroupName = "replacer"; private static readonly HashSet NeedEscapeCharactersInRegex = new(@"'().*{}+?[]^$\!".ToCharArray()); - private static readonly Regex UnescapeGlobRegex = new(@"\\(?.)", RegexOptions.Compiled); + + [GeneratedRegex(@"\\(?.)")] + private static partial Regex UnescapeGlobRegex(); /// /// start with * and has more than one * and followed by anything except * or / /// - private static readonly Regex ExpandGlobStarRegex = new(@"^\*{2,}(?=[^/*])", RegexOptions.Compiled); + [GeneratedRegex(@"^\*{2,}(?=[^/*])")] + private static partial Regex ExpandGlobStarRegex(); + // Never match .abc file unless AllowDotMatch option is set private const string PatternStartWithDotAllowed = @"(?!(?:^|\/)\.{1,2}(?:$|\/))"; private const string PatternStartWithoutDotAllowed = @"(?!\.)"; @@ -37,7 +41,8 @@ public class GlobMatcher : IEquatable /// private const string SingleStarToRegex = "[^/]*?"; - private static readonly Regex GlobStarRegex = new(@"^\*{2,}/?$", RegexOptions.Compiled); + [GeneratedRegex(@"^\*{2,}/?$")] + private static partial Regex GlobStarRegex(); private readonly GlobRegexItem[][] _items; private readonly bool _negate = false; @@ -159,7 +164,7 @@ private static bool IsFolderPath(string path) private GlobRegexItem ConvertSingleGlobPart(string globPart) { // Return GlobStar for ** - if (Options.HasFlag(GlobMatcherOptions.AllowGlobStar) && GlobStarRegex.IsMatch(globPart)) + if (Options.HasFlag(GlobMatcherOptions.AllowGlobStar) && GlobStarRegex().IsMatch(globPart)) { return IsFolderPath(globPart) ? GlobRegexItem.GlobStar : GlobRegexItem.GlobStarForFileOnly; } @@ -326,10 +331,10 @@ private static IEnumerable ExpandGlobStarShortcut(IEnumerable gl { foreach (var part in globParts) { - if (ExpandGlobStarRegex.IsMatch(part)) + if (ExpandGlobStarRegex().IsMatch(part)) { yield return GlobStar + "/"; - yield return ExpandGlobStarRegex.Replace(part, "*"); + yield return ExpandGlobStarRegex().Replace(part, "*"); } else { @@ -413,7 +418,7 @@ private bool DisallowedMatchExists(string filePart) private static string UnescapeGlob(string s) { - return UnescapeGlobRegex.Replace(s, new MatchEvaluator(ReplaceReplacerGroup)); + return UnescapeGlobRegex().Replace(s, new MatchEvaluator(ReplaceReplacerGroup)); } private static string ReplaceReplacerGroup(Match m) diff --git a/src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs b/src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs index b2d531fccd1..486ab2cc718 100644 --- a/src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs @@ -9,9 +9,10 @@ namespace Docfx.MarkdigEngine.Extensions; -public class TabGroupAggregator : BlockAggregator +public partial class TabGroupAggregator : BlockAggregator { - private static readonly Regex HrefRegex = new(@"^#tab\/(?[a-zA-Z0-9\-]+(?:\+[a-zA-Z0-9\-]+)*)(?:\/(?[a-zA-Z0-9\-]+)?)?$", RegexOptions.Compiled); + [GeneratedRegex(@"^#tab\/(?[a-zA-Z0-9\-]+(?:\+[a-zA-Z0-9\-]+)*)(?:\/(?[a-zA-Z0-9\-]+)?)?$")] + private static partial Regex HrefRegex(); protected override bool AggregateCore(HeadingBlock headBlock, BlockAggregateContext context) { @@ -108,7 +109,7 @@ private static Tuple ParseHeading(HeadingBlock block var child = block.Inline.FirstChild; if (child is {NextSibling: null} and LinkInline link) { - var m = HrefRegex.Match(link.Url); + var m = HrefRegex().Match(link.Url); if (m.Success) { return Tuple.Create(m.Groups["id"].Value, m.Groups["condition"].Value, link); diff --git a/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs index 072a9b97d3d..1053efc6f54 100644 --- a/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs @@ -7,9 +7,11 @@ namespace Docfx.MarkdigEngine.Extensions; -public class CodeSnippetExtractor +public partial class CodeSnippetExtractor { - private static readonly Regex TagnameFormat = new(@"^[\w\.-]+$", RegexOptions.Compiled | RegexOptions.IgnoreCase); + [GeneratedRegex(@"^[\w\.-]+$", RegexOptions.IgnoreCase, "en-AU")] + private static partial Regex TagnameFormat(); + private readonly string StartLineTemplate; private readonly string EndLineTemplate; private readonly bool IsEndLineContainsTagName; @@ -112,6 +114,6 @@ private static bool MatchTag(string line, string template, out string tagName, b if (index != afterTagName.Length) return false; while (column < line.Length && CharHelper.IsWhitespace(line[column])) column++; - return column == line.Length && (!containTagName || TagnameFormat.IsMatch(tagName)); + return column == line.Length && (!containTagName || TagnameFormat().IsMatch(tagName)); } } diff --git a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs index ae633bf1d24..1833039ac16 100644 --- a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs +++ b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs @@ -8,11 +8,16 @@ namespace Docfx.MarkdigEngine.Extensions; -public static class ExtensionsHelper +public static partial class ExtensionsHelper { - public static readonly Regex HtmlEscapeWithEncode = new("&", RegexOptions.Compiled); - public static readonly Regex HtmlEscapeWithoutEncode = new(@"&(?!#?\w+;)", RegexOptions.Compiled); - public static readonly Regex HtmlUnescape = new(@"&([#\w]+);", RegexOptions.Compiled); + [GeneratedRegex("&")] + private static partial Regex HtmlEscapeWithEncode(); + + [GeneratedRegex(@"&(?!#?\w+;)")] + private static partial Regex HtmlEscapeWithoutEncode(); + + [GeneratedRegex(@"&([#\w]+);")] + private static partial Regex HtmlUnescape(); public static char SkipSpaces(ref StringSlice slice) { @@ -29,7 +34,7 @@ public static char SkipSpaces(ref StringSlice slice) public static string Escape(string html, bool encode = false) { return html - .ReplaceRegex(encode ? HtmlEscapeWithEncode : HtmlEscapeWithoutEncode, "&") + .ReplaceRegex(encode ? HtmlEscapeWithEncode() : HtmlEscapeWithoutEncode(), "&") .Replace("<", "<") .Replace(">", ">") .Replace("\"", """) @@ -38,7 +43,7 @@ public static string Escape(string html, bool encode = false) public static string Unescape(string html) { - return HtmlUnescape.Replace(html, match => + return HtmlUnescape().Replace(html, match => { var n = match.Groups[1].Value; diff --git a/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs index fd570714c4e..d413b75b748 100644 --- a/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs @@ -9,10 +9,13 @@ namespace Docfx.MarkdigEngine.Extensions; -public class HeadingIdRewriter : IMarkdownObjectRewriter +public partial class HeadingIdRewriter : IMarkdownObjectRewriter { - private static readonly Regex OpenARegex = new(@"^\$", RegexOptions.Compiled); - private static readonly Regex CloseARegex = new(@"^\<\/a\>$", RegexOptions.Compiled); + [GeneratedRegex(@"^\$")] + private static partial Regex OpenARegex(); + + [GeneratedRegex(@"^\<\/a\>$")] + private static partial Regex CloseARegex(); public void PostProcess(IMarkdownObject markdownObject) { @@ -66,12 +69,12 @@ private static string ParseHeading(HeadingBlock headBlock) return null; } - var m = OpenARegex.Match(openATag.Tag); + var m = OpenARegex().Match(openATag.Tag); if (!m.Success) { return null; } - if (!CloseARegex.IsMatch(closeATag.Tag)) + if (!CloseARegex().IsMatch(closeATag.Tag)) { return null; } diff --git a/src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs index f62c5a1eca1..6c405b31698 100644 --- a/src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs @@ -8,10 +8,13 @@ namespace Docfx.MarkdigEngine.Extensions; -public class ZoneExtension : ITripleColonExtensionInfo +public partial class ZoneExtension : ITripleColonExtensionInfo { - private static readonly Regex s_pivotRegex = new(@"^\s*(?:[a-z0-9-]+)(?:\s*,\s*[a-z0-9-]+)*\s*$"); - private static readonly Regex s_pivotReplaceCommasRegex = new(@"\s*,\s*"); + [GeneratedRegex(@"^\s*(?:[a-z0-9-]+)(?:\s*,\s*[a-z0-9-]+)*\s*$")] + private static partial Regex s_pivotRegex(); + + [GeneratedRegex(@"\s*,\s*")] + private static partial Regex s_pivotReplaceCommasRegex(); public string Name => "zone"; @@ -46,7 +49,7 @@ public bool TryProcessAttributes(IDictionary attributes, out Htm target = value; break; case "pivot": - if (!s_pivotRegex.IsMatch(value)) + if (!s_pivotRegex().IsMatch(value)) { logError($"Invalid pivot \"{value}\". Pivot must be a comma-delimited list of pivot names. Pivot names must be lower-case and contain only letters, numbers or dashes."); return false; @@ -80,7 +83,7 @@ public bool TryProcessAttributes(IDictionary attributes, out Htm if (!string.IsNullOrEmpty(pivot)) { htmlAttributes.AddClass("has-pivot"); - htmlAttributes.AddProperty("data-pivot", pivot.Trim().ReplaceRegex(s_pivotReplaceCommasRegex, " ")); + htmlAttributes.AddProperty("data-pivot", pivot.Trim().ReplaceRegex(s_pivotReplaceCommasRegex(), " ")); } return true; } diff --git a/src/Docfx.YamlSerialization/Helpers/Regexes.cs b/src/Docfx.YamlSerialization/Helpers/Regexes.cs index 7127542f127..e4fce049ce3 100644 --- a/src/Docfx.YamlSerialization/Helpers/Regexes.cs +++ b/src/Docfx.YamlSerialization/Helpers/Regexes.cs @@ -5,19 +5,23 @@ namespace Docfx.YamlSerialization.Helpers; -internal static class Regexes +internal static partial class Regexes { // todo : boolean more for yaml http://yaml.org/type/bool.html // y|Y|yes|Yes|YES|n|N|no|No|NO // |true|True|TRUE|false|False|FALSE // |null|Null|NULL|~ // |on|On|ON|off|Off|OFF - public static readonly Regex BooleanLike = new("^(true|True|TRUE|false|False|FALSE)$", RegexOptions.Compiled); + [GeneratedRegex("^(true|True|TRUE|false|False|FALSE)$")] + public static partial Regex BooleanLike(); - public static readonly Regex NullLike = new("^(null|Null|NULL|~)$", RegexOptions.Compiled); + [GeneratedRegex("^(null|Null|NULL|~)$")] + public static partial Regex NullLike(); - public static readonly Regex IntegerLike = new("^-?(0|[1-9][0-9]*)$", RegexOptions.Compiled); + [GeneratedRegex("^-?(0|[1-9][0-9]*)$")] + public static partial Regex IntegerLike(); // https://yaml.org/spec/1.2/spec.html#id2805071 - public static readonly Regex FloatLike = new(@"^[-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?$", RegexOptions.Compiled); + [GeneratedRegex(@"^[-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?$")] + public static partial Regex FloatLike(); } diff --git a/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs b/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs index bca576600d1..8e7293e5781 100644 --- a/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs +++ b/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs @@ -15,13 +15,13 @@ bool INodeTypeResolver.Resolve(NodeEvent nodeEvent, ref Type currentType) { if (nodeEvent is Scalar {IsPlainImplicit: true} scalar) { - if (Regexes.BooleanLike.IsMatch(scalar.Value)) + if (Regexes.BooleanLike().IsMatch(scalar.Value)) { currentType = typeof(bool); return true; } - if (Regexes.IntegerLike.IsMatch(scalar.Value)) + if (Regexes.IntegerLike().IsMatch(scalar.Value)) { if (int.TryParse(scalar.Value, out _)) { @@ -40,7 +40,7 @@ bool INodeTypeResolver.Resolve(NodeEvent nodeEvent, ref Type currentType) } } - if (Regexes.FloatLike.IsMatch(scalar.Value)) + if (Regexes.FloatLike().IsMatch(scalar.Value)) { currentType = typeof(double); return true; diff --git a/src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs b/src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs index 6732bc80dda..0cde707a7b8 100644 --- a/src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs +++ b/src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs @@ -26,10 +26,10 @@ static bool NeedQuote(object val) if (val is not string s) return false; - return Regexes.BooleanLike.IsMatch(s) - || Regexes.NullLike.IsMatch(s) - || Regexes.IntegerLike.IsMatch(s) - || Regexes.FloatLike.IsMatch(s) + return Regexes.BooleanLike().IsMatch(s) + || Regexes.NullLike().IsMatch(s) + || Regexes.IntegerLike().IsMatch(s) + || Regexes.FloatLike().IsMatch(s) || s.StartsWith('\'') || s.StartsWith('"') || s.Length > 0 && char.IsWhiteSpace(s[0]); From 7bd00cd5ebfa55218551cccc99985f3863d5a2ae Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 8 Nov 2024 14:45:05 +1100 Subject: [PATCH 14/70] chore: fix some nullability warnings (#10360) * fix some nullability warnings * Revert "test: generate public API contract" This reverts commit 1613584e70195bbdb46ebc7b92a7a517c1ef0875 --------- Co-authored-by: Yufei Huang --- .../ApiPage/ApiPageMarkdownTemplate.cs | 20 +++++++++---------- src/Docfx.Common/Git/GitUtility.cs | 2 +- .../FileMappingConverter.SystemTextJson.cs | 2 +- src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs | 2 +- src/Docfx.Dotnet/SymbolFormatter.Symbols.cs | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Docfx.Build/ApiPage/ApiPageMarkdownTemplate.cs b/src/Docfx.Build/ApiPage/ApiPageMarkdownTemplate.cs index ba38cd3e36c..6972f574a94 100644 --- a/src/Docfx.Build/ApiPage/ApiPageMarkdownTemplate.cs +++ b/src/Docfx.Build/ApiPage/ApiPageMarkdownTemplate.cs @@ -13,7 +13,7 @@ public static string Render(ApiPage page) { return string.Concat(page.body.Select(Block)); - FormattableString? Block(Block block) => block.Value switch + FormattableString Block(Block block) => block.Value switch { Markdown markdown => Markdown(markdown), Heading heading => Heading(heading), @@ -25,9 +25,9 @@ public static string Render(ApiPage page) Parameters parameters => Parameters(parameters), }; - FormattableString? Markdown(Markdown markdown) => $"{markdown.markdown}\n\n"; + FormattableString Markdown(Markdown markdown) => $"{markdown.markdown}\n\n"; - FormattableString? Heading(Heading heading) => heading.Value switch + FormattableString Heading(Heading heading) => heading.Value switch { H1 h1 => ToHeading(1, h1.h1, h1.id), H2 h2 => ToHeading(2, h2.h2, h2.id), @@ -37,7 +37,7 @@ public static string Render(ApiPage page) H6 h6 => ToHeading(6, h6.h6, h6.id), }; - FormattableString? Api(Api api) => api.Value switch + FormattableString Api(Api api) => api.Value switch { Api1 api1 => ToHeading(1, api1.api1, api1.id), Api2 api2 => ToHeading(2, api2.api2, api2.id), @@ -45,19 +45,19 @@ public static string Render(ApiPage page) Api4 api4 => ToHeading(4, api4.api4, api4.id), }; - FormattableString? ToHeading(int level, string title, string? id = null) => + FormattableString ToHeading(int level, string title, string? id = null) => $"{new string('#', level)}{(string.IsNullOrEmpty(id) ? null : $" ")} {Escape(title)}\n\n"; - FormattableString? Facts(Facts facts) => + FormattableString Facts(Facts facts) => $"{string.Concat(facts.facts.Select(fact => $"{Escape(fact.name)}: {Inline(fact.value)} \n"))}\n"; - FormattableString? List(List list) => + FormattableString List(List list) => $"{string.Join(", \n", list.list.Select(Inline))}\n\n"; - FormattableString? Inheritance(Inheritance inheritance) => + FormattableString Inheritance(Inheritance inheritance) => $"{string.Join(" \u2190 \n", inheritance.inheritance.Select(Inline))}\n\n"; - FormattableString? Code(Code code) => + FormattableString Code(Code code) => $""" ```{code.languageId ?? page.languageId} {code.code} @@ -66,7 +66,7 @@ public static string Render(ApiPage page) """; - FormattableString? Parameters(Parameters parameters) => + FormattableString Parameters(Parameters parameters) => $"{string.Concat(parameters.parameters.Select(Parameter))}"; FormattableString? Parameter(Parameter parameter) => diff --git a/src/Docfx.Common/Git/GitUtility.cs b/src/Docfx.Common/Git/GitUtility.cs index dd3368e15ef..1901dab8e2e 100644 --- a/src/Docfx.Common/Git/GitUtility.cs +++ b/src/Docfx.Common/Git/GitUtility.cs @@ -48,7 +48,7 @@ record Repo(string path, string url, string branch); }; } - public static string? RawContentUrlToContentUrl(string rawUrl) + public static string RawContentUrlToContentUrl(string rawUrl) { // GitHub var url = GitHubUserContentRegex().Replace(rawUrl, string.IsNullOrEmpty(s_branch) ? "https://github.com/$1/$2/blob/$3/$4" : $"https://github.com/$1/$2/blob/{s_branch}/$4"); diff --git a/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs b/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs index 286cded2d1e..902f5878ca4 100644 --- a/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs +++ b/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs @@ -13,7 +13,7 @@ internal partial class FileMappingConverter { internal class SystemTextJsonConverter : JsonConverter { - public override FileMapping? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + public override FileMapping Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { switch (reader.TokenType) { diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs index b77b081f65d..454c0303c40 100644 --- a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs @@ -731,7 +731,7 @@ Span Link(string text, string? url) return string.IsNullOrEmpty(url) ? text : new LinkSpan { text = text, url = url }; } - XmlComment? Comment(ISymbol symbol, Compilation compilation) + XmlComment Comment(ISymbol symbol, Compilation compilation) { // Cache XML comment to avoid duplicated parsing and warnings return commentCache.GetOrAdd(symbol, symbol => diff --git a/src/Docfx.Dotnet/SymbolFormatter.Symbols.cs b/src/Docfx.Dotnet/SymbolFormatter.Symbols.cs index 4ed64f8862b..97e3af902bc 100644 --- a/src/Docfx.Dotnet/SymbolFormatter.Symbols.cs +++ b/src/Docfx.Dotnet/SymbolFormatter.Symbols.cs @@ -98,7 +98,7 @@ private class ParameterSymbol : IParameterSymbol public void Accept(SymbolVisitor visitor) => visitor.VisitParameter(this); #nullable enable - public TResult? Accept(SymbolVisitor visitor) => throw new NotImplementedException(); + public TResult Accept(SymbolVisitor visitor) => throw new NotImplementedException(); #nullable disable public TResult Accept(SymbolVisitor visitor, TArgument argument) => throw new NotImplementedException(); public bool Equals([NotNullWhen(true)] ISymbol other, SymbolEqualityComparer equalityComparer) => throw new NotImplementedException(); From 305748b791b019a5829bba2d59bb1f0488e60ba3 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 8 Nov 2024 14:45:20 +1100 Subject: [PATCH 15/70] chore: avoid multi enumeration warnings in TryGetStringBeforeChars (#10358) * avoid multi enumeration warnings in TryGetStringBeforeChars * Revert "test: generate public API contract" This reverts commit 1613584e70195bbdb46ebc7b92a7a517c1ef0875 --------- Co-authored-by: Yufei Huang --- src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs | 8 ++++---- src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs index 1833039ac16..2a47f838972 100644 --- a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs +++ b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs @@ -139,7 +139,7 @@ public static void SkipWhitespace(ref StringSlice slice) } } - public static string TryGetStringBeforeChars(IEnumerable chars, ref StringSlice slice, bool breakOnWhitespace = false) + public static string TryGetStringBeforeChars(IReadOnlyList chars, ref StringSlice slice, bool breakOnWhitespace = false) { StringSlice savedSlice = slice; var c = slice.CurrentChar; @@ -239,11 +239,11 @@ private static bool MatchPath(ref StringSlice slice, ref string path) string includedFilePath; if (slice.CurrentChar == '<') { - includedFilePath = TryGetStringBeforeChars(new char[] { ')', '>' }, ref slice, breakOnWhitespace: true); + includedFilePath = TryGetStringBeforeChars([')', '>'], ref slice, breakOnWhitespace: true); } else { - includedFilePath = TryGetStringBeforeChars(new char[] { ')' }, ref slice, breakOnWhitespace: true); + includedFilePath = TryGetStringBeforeChars([')'], ref slice, breakOnWhitespace: true); } if (includedFilePath == null) @@ -264,7 +264,7 @@ private static bool MatchPath(ref StringSlice slice, ref string path) } else { - var title = TryGetStringBeforeChars(new char[] { ')' }, ref slice, breakOnWhitespace: false); + var title = TryGetStringBeforeChars([')'], ref slice, breakOnWhitespace: false); if (title == null) { return false; diff --git a/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs index b7dfa65b018..12447ff19bd 100644 --- a/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs @@ -24,7 +24,7 @@ public override bool Match(InlineProcessor processor, ref StringSlice slice) return false; } - var text = ExtensionsHelper.TryGetStringBeforeChars(new char[] { '\"', '\n' }, ref slice); + var text = ExtensionsHelper.TryGetStringBeforeChars(['\"', '\n'], ref slice); if (text == null || text.Contains('\n')) { From efc1c3df765a3514f2bc5c786e5d05c003a466fd Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 8 Nov 2024 14:45:39 +1100 Subject: [PATCH 16/70] chore: RawContentUrlToContentUrl cant return null (#10347) * RawContentUrlToContentUrl cant return null * Revert "test: generate public API contract" This reverts commit 1613584e70195bbdb46ebc7b92a7a517c1ef0875 --------- Co-authored-by: Yufei Huang From afaccadbb0f6a116112703d91d4e1cab45552182 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:00:06 +0900 Subject: [PATCH 17/70] chore: Add runner OS information to TestReport file names (#10371) chore: modify test report file names --- test/Directory.Build.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Directory.Build.props b/test/Directory.Build.props index b4ab82100c6..5e9e6662dcf 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -20,8 +20,8 @@ $(MSBuildThisFileDirectory)TestResults - $(VSTestLogger);trx%3BLogFileName=TestResults-$(MSBuildProjectName)-$(TargetFramework).trx - $(VSTestLogger);html%3BLogFileName=TestResults-$(MSBuildProjectName)-$(TargetFramework).html + $(VSTestLogger);trx%3BLogFileName=TestResults-$(MSBuildProjectName)-$(TargetFramework)-$(RUNNER_OS).trx + $(VSTestLogger);html%3BLogFileName=TestResults-$(MSBuildProjectName)-$(TargetFramework)-$(RUNNER_OS).html From e1eacdf0c495f857717d32355ee9df5b0e99be5a Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:00:24 +0900 Subject: [PATCH 18/70] chore: Remove `IgnoresAccessChecksToGenerator` dependencies (#10370) chore: remove dependency to IgnoresAccessChecksToGenerator --- Directory.Build.props | 3 +- Directory.Packages.props | 1 - src/Docfx.App/Docfx.App.csproj | 5 - src/Docfx.App/Helpers/PdfPigTypeExtensions.cs | 27 +++++ src/Docfx.App/PdfBuilder.cs | 2 +- src/Docfx.Dotnet/Docfx.Dotnet.csproj | 5 - .../ExtensionMethods/ISymbolExtensions.cs | 114 ++++++++++++++++++ 7 files changed, 143 insertions(+), 14 deletions(-) create mode 100644 src/Docfx.App/Helpers/PdfPigTypeExtensions.cs create mode 100644 src/Docfx.Dotnet/ExtensionMethods/ISymbolExtensions.cs diff --git a/Directory.Build.props b/Directory.Build.props index 9ec7dd187a7..3006e8571fe 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -19,9 +19,8 @@ warning NU1507: There are 2 package sources defined in your configuration. warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "PdfPig [0.1.9-alpha-20240510-d86c2, )" or update the version field in the nuspec. warning NU5111: The script file 'tools\.playwright\package\bin\install_media_pack.ps1' is not recognized by NuGet and hence will not be executed during installation of this package. - warning CS0436: IgnoresAccessChecksTo redefinition due to InternalsVisibleTo --> - $(NoWarn);NU1507;NU5104;NU5111;CS0436 + $(NoWarn);NU1507;NU5104;NU5111 diff --git a/Directory.Packages.props b/Directory.Packages.props index 92de3602319..7b68a0f1f54 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,7 +6,6 @@ - diff --git a/src/Docfx.App/Docfx.App.csproj b/src/Docfx.App/Docfx.App.csproj index 12db285be2e..e4d0f5d7804 100644 --- a/src/Docfx.App/Docfx.App.csproj +++ b/src/Docfx.App/Docfx.App.csproj @@ -18,11 +18,6 @@ - - - - - diff --git a/src/Docfx.App/Helpers/PdfPigTypeExtensions.cs b/src/Docfx.App/Helpers/PdfPigTypeExtensions.cs new file mode 100644 index 00000000000..8b0391424c0 --- /dev/null +++ b/src/Docfx.App/Helpers/PdfPigTypeExtensions.cs @@ -0,0 +1,27 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; +using UglyToad.PdfPig.Content; +using UglyToad.PdfPig.Outline.Destinations; + +#nullable enable + +namespace Docfx; + +internal static class PdfPigTypeExtensions +{ + public static NamedDestinations GetNamedDestinations(this Catalog catalog) + => GetNamedDestinationsProperty(catalog); + + public static bool TryGet(this NamedDestinations namedDestinations, string name, out ExplicitDestination dest) + => TryGetNamedDestinations(namedDestinations, name, out dest); + + // Gets property value of catalog.NamedDestination. + [UnsafeAccessor(UnsafeAccessorKind.Method, Name = "get_NamedDestinations")] + private static extern NamedDestinations GetNamedDestinationsProperty(Catalog value); + + [UnsafeAccessor(UnsafeAccessorKind.Method, Name = "TryGet")] + private static extern bool TryGetNamedDestinations(NamedDestinations namedDestinations, string name, out ExplicitDestination dest); +} + diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index fdb1312dc36..0eefbe13c67 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -301,7 +301,7 @@ await Parallel.ForEachAsync(pages, async (item, _) => var key = CleanUrl(url); if (!pagesByUrl.TryGetValue(key, out var dests)) pagesByUrl[key] = dests = new(); - dests.Add((node, document.Structure.Catalog.NamedDestinations)); + dests.Add((node, document.Structure.Catalog.GetNamedDestinations())); pageBytes[node] = bytes; pageNumbers[node] = numberOfPages + 1; diff --git a/src/Docfx.Dotnet/Docfx.Dotnet.csproj b/src/Docfx.Dotnet/Docfx.Dotnet.csproj index 9dbc6ec171a..d28ca0fb4ae 100644 --- a/src/Docfx.Dotnet/Docfx.Dotnet.csproj +++ b/src/Docfx.Dotnet/Docfx.Dotnet.csproj @@ -16,10 +16,6 @@ - - - - @@ -32,7 +28,6 @@ - diff --git a/src/Docfx.Dotnet/ExtensionMethods/ISymbolExtensions.cs b/src/Docfx.Dotnet/ExtensionMethods/ISymbolExtensions.cs new file mode 100644 index 00000000000..362beb83f76 --- /dev/null +++ b/src/Docfx.Dotnet/ExtensionMethods/ISymbolExtensions.cs @@ -0,0 +1,114 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.CodeAnalysis; +using System.Collections.Immutable; +using System.Globalization; +using System.Reflection; +using System.Reflection.Emit; + +#nullable enable + +namespace Docfx.Dotnet; + +internal static class ISymbolExtensions +{ + public static ImmutableArray GetParameters(this ISymbol? symbol) + { + return symbol switch + { + IMethodSymbol m => m.Parameters, + IPropertySymbol nt => nt.Parameters, + _ => [], + }; + } + + public static ImmutableArray GetTypeParameters(this ISymbol? symbol) + { + return symbol switch + { + IMethodSymbol m => m.TypeParameters, + INamedTypeSymbol nt => nt.TypeParameters, + _ => [], + }; + } + + public static DocumentationComment GetDocumentationComment(this ISymbol symbol, Compilation compilation, CultureInfo? preferredCulture = null, bool expandIncludes = false, bool expandInheritdoc = false, CancellationToken cancellationToken = default) + { + // Gets FullXmlFragment by calling `symbol.DocumentationComment(...).FullXmlFragment` + string fullXmlFragment = Helpers.GetFullXmlFragment(symbol, compilation, preferredCulture, expandIncludes, expandInheritdoc, cancellationToken); + + return new DocumentationComment + { + FullXmlFragment = fullXmlFragment, + }; + } + + internal class DocumentationComment + { + public required string FullXmlFragment { get; init; } + } + + private static class Helpers + { + /// + /// Gets result of `symbol.GetDocumentationComment(args).FullXmlFragment` + /// + public static string GetFullXmlFragment(ISymbol symbol, Compilation compilation, CultureInfo? preferredCulture = null, bool expandIncludes = false, bool expandInheritdoc = false, CancellationToken cancellationToken = default) + => CachedDelegate(symbol, compilation, preferredCulture, expandIncludes, expandInheritdoc, cancellationToken); + + static Helpers() + { + CachedDelegate = GetDelegate(); + } + + private delegate string GetFullXmlFragmentDelegate(ISymbol symbol, Compilation compilation, CultureInfo? preferredCulture, bool expandIncludes, bool expandInheritdoc, CancellationToken cancellationToken); + private static readonly GetFullXmlFragmentDelegate CachedDelegate; + + private static GetFullXmlFragmentDelegate GetDelegate() + { + // Gets Microsoft.CodeAnalysis.Workspaces assembly + var workspaceAssembly = typeof(Workspace).Assembly; + + // Gets MethodInfo for GetDocumentationComment + var type = workspaceAssembly.GetType("Microsoft.CodeAnalysis.Shared.Extensions.ISymbolExtensions", throwOnError: true)!; + var methodInfo = type.GetMethod("GetDocumentationComment", BindingFlags.Public | BindingFlags.Static); + + // Gets PropertyInfo for DocumentationComment. + var docCommentType = workspaceAssembly.GetType("Microsoft.CodeAnalysis.Shared.Utilities.DocumentationComment", throwOnError: true)!; + var propertyInfo = docCommentType.GetProperty("FullXmlFragment", BindingFlags.Instance | BindingFlags.Public)!; + + // Reflection may fail when updating the Microsoft.CodeAnalysis.Workspaces.Common package.. + if (methodInfo == null || propertyInfo == null) + throw new InvalidOperationException("Failed to get required MethodInfo/PropertyInfo via reflection."); + + var dm = new DynamicMethod(string.Empty, returnType: typeof(string), parameterTypes: [ + typeof(ISymbol), + typeof(Compilation), + typeof(CultureInfo), // preferredCulture + typeof(bool), // expandIncludes + typeof(bool), // expandInheritdoc + typeof(CancellationToken), + ]); + + ILGenerator il = dm.GetILGenerator(); + + // call Microsoft.CodeAnalysis.Shared.Extensions.ISymbolExtensions::GetDocumentationComment(args) + il.Emit(OpCodes.Ldarg_0); // symbol + il.Emit(OpCodes.Ldarg_1); // compilation + il.Emit(OpCodes.Ldarg_2); // preferredCulture + il.Emit(OpCodes.Ldarg_3); // expandIncludes + il.Emit(OpCodes.Ldarg_S, 4); // expandInheritdoc + il.Emit(OpCodes.Ldarg_S, 5); // cancellationToken + il.EmitCall(OpCodes.Call, methodInfo, null); + + // callvirt DocumentationComment::get_FullXmlFragment() + il.EmitCall(OpCodes.Callvirt, propertyInfo.GetMethod!, null); + + // return FullXmlFragment + il.Emit(OpCodes.Ret); + + return dm.CreateDelegate(); + } + } +} From 46b14cf736577a9278467944a64dc8eb9e9b66ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 08:00:13 +0000 Subject: [PATCH 19/70] build(deps): bump Verify.Xunit from 28.1.3 to 28.2.0 in the xunit group (#10380) Bumps the xunit group with 1 update: [Verify.Xunit](https://github.com/VerifyTests/Verify). Updates `Verify.Xunit` from 28.1.3 to 28.2.0 - [Release notes](https://github.com/VerifyTests/Verify/releases) - [Commits](https://github.com/VerifyTests/Verify/compare/28.1.3...28.2.0) --- updated-dependencies: - dependency-name: Verify.Xunit dependency-type: direct:production update-type: version-update:semver-minor dependency-group: xunit ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 7b68a0f1f54..723ef599747 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -43,7 +43,7 @@ - + From e32fd68dd275a8eaccb95ed9c1c77c93cf328d7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 08:07:21 +0000 Subject: [PATCH 20/70] build(deps): bump FluentAssertions from 6.12.1 to 6.12.2 (#10382) Bumps [FluentAssertions](https://github.com/fluentassertions/fluentassertions) from 6.12.1 to 6.12.2. - [Release notes](https://github.com/fluentassertions/fluentassertions/releases) - [Changelog](https://github.com/fluentassertions/fluentassertions/blob/develop/AcceptApiChanges.ps1) - [Commits](https://github.com/fluentassertions/fluentassertions/compare/6.12.1...6.12.2) --- updated-dependencies: - dependency-name: FluentAssertions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 723ef599747..2f7dd553d92 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -40,7 +40,7 @@ - + From 5b067acb9fcd89aac41899c2ab04eb971a7c78ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 07:48:44 +0000 Subject: [PATCH 21/70] build(deps-dev): bump the typescript-eslint group in /templates with 2 updates (#10383) build(deps-dev): bump the typescript-eslint group Bumps the typescript-eslint group in /templates with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.13.0 to 8.14.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.14.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.13.0 to 8.14.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.14.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- templates/package-lock.json | 88 ++++++++++++++++++------------------- templates/package.json | 4 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/templates/package-lock.json b/templates/package-lock.json index 81f6a513640..070112a9691 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -32,8 +32,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.13.0", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/eslint-plugin": "^8.14.0", + "@typescript-eslint/parser": "^8.14.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", @@ -932,16 +932,16 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", - "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.14.0.tgz", + "integrity": "sha512-tqp8H7UWFaZj0yNO6bycd5YjMwxa6wIHOLZvWPkidwbgLCsBMetQoGj7DPuAlWa2yGO3H48xmPwjhsSPPCGU5w==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/type-utils": "8.13.0", - "@typescript-eslint/utils": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/type-utils": "8.14.0", + "@typescript-eslint/utils": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -965,15 +965,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -993,13 +993,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1010,13 +1010,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", - "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.14.0.tgz", + "integrity": "sha512-Xcz9qOtZuGusVOH5Uk07NGs39wrKkf3AxlkK79RBK6aJC1l03CobXjJbwBPSidetAOV+5rEVuiT1VSBUOAsanQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/utils": "8.14.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1034,9 +1034,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1047,13 +1047,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1075,15 +1075,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", - "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", + "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0" + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1097,12 +1097,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/templates/package.json b/templates/package.json index 55dd78f663d..0ea45d06257 100644 --- a/templates/package.json +++ b/templates/package.json @@ -41,8 +41,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.13.0", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/eslint-plugin": "^8.14.0", + "@typescript-eslint/parser": "^8.14.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", From 2723c72838619b8691bfe642dafff5c22604052d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 08:17:42 +0000 Subject: [PATCH 22/70] build(deps): bump HtmlAgilityPack from 1.11.70 to 1.11.71 (#10384) Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.70 to 1.11.71. - [Release notes](https://github.com/zzzprojects/html-agility-pack/releases) - [Commits](https://github.com/zzzprojects/html-agility-pack/compare/v1.11.70...v1.11.71) --- updated-dependencies: - dependency-name: HtmlAgilityPack dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 2f7dd553d92..722cdd3c156 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true - + From 327e9978d380e3739078d06c2f457a773044fc17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 08:03:06 +0000 Subject: [PATCH 23/70] build(deps): bump System.Composition from 8.0.0 to 9.0.0 (#10387) Bumps [System.Composition](https://github.com/dotnet/runtime) from 8.0.0 to 9.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v9.0.0) --- updated-dependencies: - dependency-name: System.Composition dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 722cdd3c156..1173939a0c6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -20,7 +20,7 @@ - + From cb3d2ce2ba24131f61edbda88951cd9ffa8bf47e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 08:03:21 +0000 Subject: [PATCH 24/70] build(deps): bump Verify.Xunit from 28.2.0 to 28.2.1 in the xunit group (#10386) Bumps the xunit group with 1 update: [Verify.Xunit](https://github.com/VerifyTests/Verify). Updates `Verify.Xunit` from 28.2.0 to 28.2.1 - [Release notes](https://github.com/VerifyTests/Verify/releases) - [Commits](https://github.com/VerifyTests/Verify/compare/28.2.0...28.2.1) --- updated-dependencies: - dependency-name: Verify.Xunit dependency-type: direct:production update-type: version-update:semver-patch dependency-group: xunit ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1173939a0c6..e71c8d04ac0 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -43,7 +43,7 @@ - + From ee12ff2f64151f208bba423b352af2190750887c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 08:06:16 +0000 Subject: [PATCH 25/70] build(deps): bump System.Text.Json from 8.0.5 to 9.0.0 (#10388) Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.5 to 9.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.5...v9.0.0) --- updated-dependencies: - dependency-name: System.Text.Json dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e71c8d04ac0..34fc089d2a1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -22,7 +22,7 @@ - + From b243459c8908c0663780a9daa5495c57e807af1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 08:24:49 +0000 Subject: [PATCH 26/70] build(deps): bump System.Formats.Asn1 from 8.0.1 to 9.0.0 (#10389) Bumps [System.Formats.Asn1](https://github.com/dotnet/runtime) from 8.0.1 to 9.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v9.0.0) --- updated-dependencies: - dependency-name: System.Formats.Asn1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 34fc089d2a1..b83f31b8a01 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -21,7 +21,7 @@ - + From 3c5dfaa0e5f07cd472156f4fc97d566925faebf0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 07:45:09 +0000 Subject: [PATCH 27/70] build(deps): bump System.Collections.Immutable from 8.0.0 to 9.0.0 (#10391) Bumps [System.Collections.Immutable](https://github.com/dotnet/runtime) from 8.0.0 to 9.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v9.0.0) --- updated-dependencies: - dependency-name: System.Collections.Immutable dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index b83f31b8a01..1f162184e5b 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,7 +19,7 @@ - + From 618e71b424a265cff7cd140dfbafbe56a379371c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 08:18:20 +0000 Subject: [PATCH 28/70] build(deps): bump Verify.Xunit from 28.2.1 to 28.3.1 in the xunit group (#10396) Bumps the xunit group with 1 update: [Verify.Xunit](https://github.com/VerifyTests/Verify). Updates `Verify.Xunit` from 28.2.1 to 28.3.1 - [Release notes](https://github.com/VerifyTests/Verify/releases) - [Commits](https://github.com/VerifyTests/Verify/compare/28.2.1...28.3.1) --- updated-dependencies: - dependency-name: Verify.Xunit dependency-type: direct:production update-type: version-update:semver-minor dependency-group: xunit ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1f162184e5b..b58adf5c556 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -43,7 +43,7 @@ - + From f35a47ace7528a038f5c5c80a102d0a6a46e39f0 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Mon, 18 Nov 2024 21:50:02 +0900 Subject: [PATCH 29/70] feat: Use PlantUML Online Server as default configs (#10395) chore: set plantuml config default values --- .../PlantUml/PlantUmlExtension.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Docfx.MarkdigEngine.Extensions/PlantUml/PlantUmlExtension.cs b/src/Docfx.MarkdigEngine.Extensions/PlantUml/PlantUmlExtension.cs index 469d9bc73bc..56ebdbe8a88 100644 --- a/src/Docfx.MarkdigEngine.Extensions/PlantUml/PlantUmlExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/PlantUml/PlantUmlExtension.cs @@ -18,7 +18,7 @@ public class PlantUmlOptions [JsonProperty("remoteUrl")] [JsonPropertyName("remoteUrl")] - public string RemoteUrl { get; set; } + public string RemoteUrl { get; set; } = "http://www.plantuml.com/plantuml/"; [JsonProperty("localPlantUmlPath")] [JsonPropertyName("localPlantUmlPath")] @@ -30,7 +30,7 @@ public class PlantUmlOptions [JsonProperty("renderingMode")] [JsonPropertyName("renderingMode")] - public RenderingMode RenderingMode { get; set; } + public RenderingMode RenderingMode { get; set; } = RenderingMode.Remote; [JsonProperty("delimitor")] [JsonPropertyName("delimitor")] From fc16c8240569ac138110a93d6750fd91452738ca Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:54:57 +0900 Subject: [PATCH 30/70] fix: Place `.playwright` directory under bin directory (#10399) fix: place `.playwright` directory under bin directory --- src/docfx/docfx.csproj | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/docfx/docfx.csproj b/src/docfx/docfx.csproj index 0ea31d91aab..599cc40dc5a 100644 --- a/src/docfx/docfx.csproj +++ b/src/docfx/docfx.csproj @@ -11,11 +11,9 @@ - @@ -27,16 +25,11 @@ - - From ad7279f86e6ebe52029325bab632e44fbe5bf769 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:00:47 +0000 Subject: [PATCH 31/70] build(deps-dev): bump the typescript-eslint group in /templates with 2 updates (#10400) build(deps-dev): bump the typescript-eslint group Bumps the typescript-eslint group in /templates with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.14.0 to 8.15.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.15.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.14.0 to 8.15.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.15.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- templates/package-lock.json | 110 +++++++++++++++++++++--------------- templates/package.json | 4 +- 2 files changed, 67 insertions(+), 47 deletions(-) diff --git a/templates/package-lock.json b/templates/package-lock.json index 070112a9691..5cf6bf9883f 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -32,8 +32,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.14.0", - "@typescript-eslint/parser": "^8.14.0", + "@typescript-eslint/eslint-plugin": "^8.15.0", + "@typescript-eslint/parser": "^8.15.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", @@ -932,16 +932,16 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.14.0.tgz", - "integrity": "sha512-tqp8H7UWFaZj0yNO6bycd5YjMwxa6wIHOLZvWPkidwbgLCsBMetQoGj7DPuAlWa2yGO3H48xmPwjhsSPPCGU5w==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.15.0.tgz", + "integrity": "sha512-+zkm9AR1Ds9uLWN3fkoeXgFppaQ+uEVtfOV62dDmsy9QCNqlRHWNEck4yarvRNrvRcHQLGfqBNui3cimoz8XAg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.14.0", - "@typescript-eslint/type-utils": "8.14.0", - "@typescript-eslint/utils": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", + "@typescript-eslint/scope-manager": "8.15.0", + "@typescript-eslint/type-utils": "8.15.0", + "@typescript-eslint/utils": "8.15.0", + "@typescript-eslint/visitor-keys": "8.15.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -965,15 +965,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", - "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.15.0.tgz", + "integrity": "sha512-7n59qFpghG4uazrF9qtGKBZXn7Oz4sOMm8dwNWDQY96Xlm2oX67eipqcblDj+oY1lLCbf1oltMZFpUso66Kl1A==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.14.0", - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/typescript-estree": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", + "@typescript-eslint/scope-manager": "8.15.0", + "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/typescript-estree": "8.15.0", + "@typescript-eslint/visitor-keys": "8.15.0", "debug": "^4.3.4" }, "engines": { @@ -993,13 +993,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", - "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.15.0.tgz", + "integrity": "sha512-QRGy8ADi4J7ii95xz4UoiymmmMd/zuy9azCaamnZ3FM8T5fZcex8UfJcjkiEZjJSztKfEBe3dZ5T/5RHAmw2mA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0" + "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/visitor-keys": "8.15.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1010,13 +1010,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.14.0.tgz", - "integrity": "sha512-Xcz9qOtZuGusVOH5Uk07NGs39wrKkf3AxlkK79RBK6aJC1l03CobXjJbwBPSidetAOV+5rEVuiT1VSBUOAsanQ==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.15.0.tgz", + "integrity": "sha512-UU6uwXDoI3JGSXmcdnP5d8Fffa2KayOhUUqr/AiBnG1Gl7+7ut/oyagVeSkh7bxQ0zSXV9ptRh/4N15nkCqnpw==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.14.0", - "@typescript-eslint/utils": "8.14.0", + "@typescript-eslint/typescript-estree": "8.15.0", + "@typescript-eslint/utils": "8.15.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1027,6 +1027,9 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -1034,9 +1037,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", - "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.15.0.tgz", + "integrity": "sha512-n3Gt8Y/KyJNe0S3yDCD2RVKrHBC4gTUcLTebVBXacPy091E6tNspFLKRXlk3hwT4G55nfr1n2AdFqi/XMxzmPQ==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1047,13 +1050,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", - "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.15.0.tgz", + "integrity": "sha512-1eMp2JgNec/niZsR7ioFBlsh/Fk0oJbhaqO0jRyQBMgkz7RrFfkqF9lYYmBoGBaSiLnu8TAPQTwoTUiSTUW9dg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", + "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/visitor-keys": "8.15.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1075,15 +1078,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", - "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.15.0.tgz", + "integrity": "sha512-k82RI9yGhr0QM3Dnq+egEpz9qB6Un+WLYhmoNcvl8ltMEededhh7otBVVIDDsEEttauwdY/hQoSsOv13lxrFzQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.14.0", - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/typescript-estree": "8.14.0" + "@typescript-eslint/scope-manager": "8.15.0", + "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/typescript-estree": "8.15.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1094,16 +1097,21 @@ }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", - "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.15.0.tgz", + "integrity": "sha512-h8vYOulWec9LhpwfAdZf2bjr8xIp0KNKnpgqSz0qqYYKAW/QZKw3ktRndbiAtUz4acH4QLQavwZBYCc0wulA/Q==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.14.0", - "eslint-visitor-keys": "^3.4.3" + "@typescript-eslint/types": "8.15.0", + "eslint-visitor-keys": "^4.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1113,6 +1121,18 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@ungap/structured-clone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", diff --git a/templates/package.json b/templates/package.json index 0ea45d06257..51d36bda83d 100644 --- a/templates/package.json +++ b/templates/package.json @@ -41,8 +41,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.14.0", - "@typescript-eslint/parser": "^8.14.0", + "@typescript-eslint/eslint-plugin": "^8.15.0", + "@typescript-eslint/parser": "^8.15.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", From 602f6c91bc64c0aacb0990a3109a1bd8d7de01fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:05:16 +0000 Subject: [PATCH 32/70] build(deps): bump Verify.Xunit from 28.3.1 to 28.3.2 in the xunit group (#10401) Bumps the xunit group with 1 update: [Verify.Xunit](https://github.com/VerifyTests/Verify). Updates `Verify.Xunit` from 28.3.1 to 28.3.2 - [Release notes](https://github.com/VerifyTests/Verify/releases) - [Commits](https://github.com/VerifyTests/Verify/compare/28.3.1...28.3.2) --- updated-dependencies: - dependency-name: Verify.Xunit dependency-type: direct:production update-type: version-update:semver-patch dependency-group: xunit ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index b58adf5c556..28154105038 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -43,7 +43,7 @@ - + From 5dce25b193f3b4eac0b820ebc8a503623f7d84d9 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:19:44 +0900 Subject: [PATCH 33/70] chore: Fix Node.js prerequisite issues (#10406) chore: fix node.js prerequisite for docfx default command --- docs/index.md | 2 +- src/Docfx.App/PdfBuilder.cs | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/index.md b/docs/index.md index ee497ffed05..81da350d038 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,7 +9,7 @@ In this section we will build a simple documentation site on your local machine. > Prerequisites > - Familiarity with the command line > - Install [.NET SDK](https://dotnet.microsoft.com/en-us/download) 8.0 or higher -> - Install [Node.js](https://nodejs.org/) v20 or higher +> - Install [Node.js](https://nodejs.org/) v20 or higher (Optional: It's required when using [Create PDF Files](https://filzrev.github.io/docfx/docs/pdf.html)) Make sure you have [.NET SDK](https://dotnet.microsoft.com/en-us/download) installed, then open a terminal and enter the following command to install the latest docfx: diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index 0eefbe13c67..124d39b71d8 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -48,11 +48,6 @@ class Outline public string? pdfFooterTemplate { get; init; } } - static PdfBuilder() - { - PlaywrightHelper.EnsurePlaywrightNodeJsPath(); - } - public static Task Run(BuildJsonConfig config, string configDirectory, string? outputDirectory = null) { var outputFolder = Path.GetFullPath(Path.Combine( @@ -70,6 +65,8 @@ public static async Task CreatePdf(string outputFolder) if (pdfTocs.Count == 0) return; + PlaywrightHelper.EnsurePlaywrightNodeJsPath(); + Program.Main(["install", "chromium"]); var builder = WebApplication.CreateBuilder(); From fd536f35ca250ff33a3b9e49b0a160a6da827a0e Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:21:56 +0900 Subject: [PATCH 34/70] test: Add published package tests to nightly build workflow (#10403) chore: add nightly build package tests --- .github/workflows/nightly.yml | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6ba3f724aba..944d0da0fcc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,5 +1,6 @@ name: nightly on: + workflow_dispatch: schedule: - cron: '0 0 * * *' @@ -40,3 +41,44 @@ jobs: run: | dotnet nuget push drop/nuget/*.nupkg --api-key "${{ secrets.GITHUB_TOKEN }}" --skip-duplicate --source https://nuget.pkg.github.com/dotnet/index.json + test-nightly-package: + if: github.repository == 'dotnet/docfx' + runs-on: ubuntu-latest + needs: [publish-github-packages] + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + + - name: Checkout + uses: actions/checkout@v4 + + - name: Create NuGet.config + shell: pwsh + run: | + @' + + + + + + + + + + + + + + '@ | Out-File NuGet.config -Encoding UTF8 + + - name: Install nightly build package + run: | + dotnet tool install docfx -g --prerelease + + - name: Run docfx commands for test + working-directory: samples/seed + run: | + docfx metadata + docfx build + docfx pdf + From 56cd19ffe2181a387bcde15baccb4e4ab4037b91 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:24:03 +0900 Subject: [PATCH 35/70] docs: Add how to use docfx nightly version (#10394) docs: how to use docfx nightly version --- docs/index.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/docs/index.md b/docs/index.md index 81da350d038..0ea52aeee8d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -114,6 +114,53 @@ await Docfx.Docset.Build("docfx.json"); See [API References](api/Docfx.yml) for additional APIs. +## How to use prerelease version of docfx + +Docfx publishes nightly builds to [GitHub Packages](https://github.com/dotnet/docfx/pkgs/nuget/docfx). +If you want to use prerelease version, you can install package with following steps. + +### Prerequisite + +1. Install [GitHub CLI](https://github.com/cli/cli) command. +2. Install PowerShell 7.x or later. + +### Steps + +1. Open PowerShell on working directory. + +2. Login to GitHub with additional scope request + + ```pwsh + gh auth login --scopes "read:packages" --host github.com + ``` + +3. Follow the instructions and complete the login steps. + +4. Download docfx nuget package from GitHub Packages + + ```pwsh + # Gets Access Token + $token = gh auth token + + # Gets the version of latest nightly build + $version = gh api /orgs/dotnet/packages/nuget/docfx/versions --jq '.[0].name' + + # Gets nupkg download URL. + $downloadUrl = "https://nuget.pkg.github.com/dotnet/download/docfx/${version}/${version}.nupkg" + + # Download nupkg to current directory. + Write-Host ('Download nupkg from: {0}' -f $downloadUrl) + Invoke-RestMethod -Method Get -Uri $downloadUrl -OutFile "docfx.${version}.nupkg" -Headers @{ + Authorization = "Bearer $token" + } + ``` + +5. Install docfx as .NET Global Package from local source + + ```pwsh + dotnet tool update docfx -g --prerelease --source ./ + ``` + ## Next Steps - [Write Articles](docs/markdown.md) From 26049ecf3c70a9477b09b05e74b3bf4bed505001 Mon Sep 17 00:00:00 2001 From: Peter Hultqvist Date: Wed, 20 Nov 2024 06:24:20 +0100 Subject: [PATCH 36/70] feat: Reformat YouTube videos to the embeded URL (#10372) Extract the YouTube video or list ID and generates the embed URL. Simplifies embedding YouTube videos by allowing one to copy paste the direct YouTube URL rather than extracting the embed URL from the +"; + TestUtility.VerifyMarkup(source, expected); + } + [Fact] [Trait("Related", "DfmMarkdown")] public void TestVideoBlock_Channel9() diff --git a/test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs index 544216da32f..f09d0034673 100644 --- a/test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs +++ b/test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs @@ -13,14 +13,18 @@ public class VideoTest

    ")] [InlineData(@":::video source=""https://www.youtube.com/embed/wV11_nbT2XE"" title=""Video: Build-Your-First-Android-App-with-Visual-Studio-2019-and-Xamarin"" thumbnail=""media/3-eclipse-install-button.png"" upload-date=""07/27/2020"":::", @"

    - + +

    +")] + [InlineData(@":::video source=""https://www.youtube.com/embed/wV11_nbT2XE?rel=1"" title=""Video: Build-Your-First-Android-App-with-Visual-Studio-2019-and-Xamarin"" thumbnail=""media/3-eclipse-install-button.png"" upload-date=""07/27/2020"":::", @"

    +

    ")] [InlineData( @":::video source=""https://www.youtube.com/embed/wV11_nbT2XE"" title=""Video: Build-Your-First-Android-App-with-Visual-Studio-2019-and-Xamarin"" thumbnail=""media/3-eclipse-install-button.png"" upload-date=""07/27/2020""::: :::video source=""https://channel9.msdn.com/Shows/XamarinShow/Build-Your-First-Android-App-with-Visual-Studio-2019-and-Xamarin/player?nocookie=true"" title=""Video: Build-Your-First-Android-App-with-Visual-Studio-2019-and-Xamarin"" max-width=""400"" thumbnail=""media/3-eclipse-install-button.png"" upload-date=""07/27/2020""::: ", @"

    -
    "); renderer.WriteLine("
    "); - if (tripleColonObj is ContainerBlock {LastChild: not null} block) + if (tripleColonObj is ContainerBlock { LastChild: not null } block) { var inline = (block.LastChild as ParagraphBlock).Inline; renderer.WriteChildren(inline); diff --git a/src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs b/src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs index 3a7ebcf566a..4623b4b0476 100644 --- a/src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs +++ b/src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs @@ -135,7 +135,7 @@ private MarkdownPipeline CreateMarkdownPipeline(bool isInline, bool multipleYaml builder.UseInlineOnly(); } - if (_parameters?.Extensions?.MarkdigExtensions is {Length: > 0} extensions) + if (_parameters?.Extensions?.MarkdigExtensions is { Length: > 0 } extensions) { builder.UseOptionalExtensions(extensions); } diff --git a/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs b/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs index 53962916a88..30115993df1 100644 --- a/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs +++ b/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs @@ -13,7 +13,7 @@ bool INodeTypeResolver.Resolve(NodeEvent? nodeEvent, ref Type currentType) { if (currentType == typeof(string) || currentType == typeof(object)) { - if (nodeEvent is Scalar {IsPlainImplicit: true} scalar) + if (nodeEvent is Scalar { IsPlainImplicit: true } scalar) { if (Regexes.BooleanLike().IsMatch(scalar.Value)) { From 99caca2b069bc3bcd5c8ca4b4aba0506541196bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 07:36:37 +0000 Subject: [PATCH 60/70] build(deps-dev): bump the typescript-eslint group in /templates with 2 updates (#10451) build(deps-dev): bump the typescript-eslint group Bumps the typescript-eslint group in /templates with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.17.0 to 8.18.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.17.0 to 8.18.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-eslint ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- templates/package-lock.json | 135 +++++++++++++++--------------------- templates/package.json | 4 +- 2 files changed, 56 insertions(+), 83 deletions(-) diff --git a/templates/package-lock.json b/templates/package-lock.json index c389e30f3ac..6637a0443d2 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -32,8 +32,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.17.0", - "@typescript-eslint/parser": "^8.17.0", + "@typescript-eslint/eslint-plugin": "^8.18.0", + "@typescript-eslint/parser": "^8.18.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", @@ -905,17 +905,16 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.17.0.tgz", - "integrity": "sha512-HU1KAdW3Tt8zQkdvNoIijfWDMvdSweFYm4hWh+KwhPstv+sCmWb89hCIP8msFm9N1R/ooh9honpSuvqKWlYy3w==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.0.tgz", + "integrity": "sha512-NR2yS7qUqCL7AIxdJUQf2MKKNDVNaig/dEB0GBLU7D+ZdHgK1NoH/3wsgO3OnPVipn51tG3MAwaODEGil70WEw==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/type-utils": "8.17.0", - "@typescript-eslint/utils": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", + "@typescript-eslint/scope-manager": "8.18.0", + "@typescript-eslint/type-utils": "8.18.0", + "@typescript-eslint/utils": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -930,25 +929,20 @@ }, "peerDependencies": { "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.17.0.tgz", - "integrity": "sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.0.tgz", + "integrity": "sha512-hgUZ3kTEpVzKaK3uNibExUYm6SKKOmTU2BOxBSvOYwtJEPdVQ70kZJpPjstlnhCHcuc2WGfSbpKlb/69ttyN5Q==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/typescript-estree": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", + "@typescript-eslint/scope-manager": "8.18.0", + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/typescript-estree": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0", "debug": "^4.3.4" }, "engines": { @@ -959,23 +953,18 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz", - "integrity": "sha512-/ewp4XjvnxaREtqsZjF4Mfn078RD/9GmiEAtTeLQ7yFdKnqwTOgRMSvFz4et9U5RiJQ15WTGXPLj89zGusvxBg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.0.tgz", + "integrity": "sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0" + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -986,14 +975,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.17.0.tgz", - "integrity": "sha512-q38llWJYPd63rRnJ6wY/ZQqIzPrBCkPdpIsaCfkR3Q4t3p6sb422zougfad4TFW9+ElIFLVDzWGiGAfbb/v2qw==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.0.tgz", + "integrity": "sha512-er224jRepVAVLnMF2Q7MZJCq5CsdH2oqjP4dT7K6ij09Kyd+R21r7UVJrF0buMVdZS5QRhDzpvzAxHxabQadow==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.17.0", - "@typescript-eslint/utils": "8.17.0", + "@typescript-eslint/typescript-estree": "8.18.0", + "@typescript-eslint/utils": "8.18.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1005,20 +993,15 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/types": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz", - "integrity": "sha512-gY2TVzeve3z6crqh2Ic7Cr+CAv6pfb0Egee7J5UAVWCpVvDI/F71wNfolIim4FE6hT15EbpZFVUj9j5i38jYXA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.0.tgz", + "integrity": "sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==", "dev": true, - "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -1028,14 +1011,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.17.0.tgz", - "integrity": "sha512-JqkOopc1nRKZpX+opvKqnM3XUlM7LpFMD0lYxTqOTKQfCWAmxw45e3qlOCsEqEB2yuacujivudOFpCnqkBDNMw==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.0.tgz", + "integrity": "sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1050,23 +1032,20 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/utils": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.17.0.tgz", - "integrity": "sha512-bQC8BnEkxqG8HBGKwG9wXlZqg37RKSMY7v/X8VEWD8JG2JuTHuNK0VFvMPMUKQcbk6B+tf05k+4AShAEtCtJ/w==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.0.tgz", + "integrity": "sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/typescript-estree": "8.17.0" + "@typescript-eslint/scope-manager": "8.18.0", + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/typescript-estree": "8.18.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1076,22 +1055,17 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.17.0.tgz", - "integrity": "sha512-1Hm7THLpO6ww5QU6H/Qp+AusUUl+z/CAm3cNZZ0jQvon9yicgO7Rwd+/WWRpMKLYV6p2UvdbR27c86rzCPpreg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.0.tgz", + "integrity": "sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.17.0", + "@typescript-eslint/types": "8.18.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1107,7 +1081,6 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, diff --git a/templates/package.json b/templates/package.json index 394c10af435..87021359ac8 100644 --- a/templates/package.json +++ b/templates/package.json @@ -41,8 +41,8 @@ }, "devDependencies": { "@types/lunr": "^2.3.7", - "@typescript-eslint/eslint-plugin": "^8.17.0", - "@typescript-eslint/parser": "^8.17.0", + "@typescript-eslint/eslint-plugin": "^8.18.0", + "@typescript-eslint/parser": "^8.18.0", "browser-sync": "^3.0.3", "esbuild": "~0.24.0", "esbuild-sass-plugin": "~3.3.1", From c3f8f5f15c3d421d37990083c78112e40d333951 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Thu, 12 Dec 2024 23:52:04 +0900 Subject: [PATCH 61/70] chore: Modify `TargetFramework` of `BuildFromAssembly` project (#10455) chore: modify TargetFramework for BuildFromAssembly project --- samples/seed/dotnet/assembly/BuildFromAssembly.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/seed/dotnet/assembly/BuildFromAssembly.csproj b/samples/seed/dotnet/assembly/BuildFromAssembly.csproj index b42d68e6ba4..1707423aa11 100644 --- a/samples/seed/dotnet/assembly/BuildFromAssembly.csproj +++ b/samples/seed/dotnet/assembly/BuildFromAssembly.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable true From 2634c4c302d59ac6b3c43f27d8a08b5d28d3e2aa Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:23:40 +0900 Subject: [PATCH 62/70] chore: Refactor `Directory.*.props` files (#10457) chore: refactor `Directory.*.props` settings --- Directory.Build.props | 13 +++---------- Directory.Packages.props | 10 +--------- docfx.sln | 8 ++++++++ test/Directory.Build.props | 6 +----- test/Directory.Packages.props | 17 +++++++++++++++++ 5 files changed, 30 insertions(+), 24 deletions(-) create mode 100644 test/Directory.Packages.props diff --git a/Directory.Build.props b/Directory.Build.props index 3006e8571fe..c2c1f4bd877 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ true net8.0;net9.0 - net8.0;net9.0 + net8.0;net9.0 Preview enable true @@ -29,8 +29,8 @@ true true snupkg - true - + true + .NET Foundation and Contributors Copyright (c) .NET Foundation and Contributors Technical documentation tool with markdown, API docs for .NET, REST API and more. @@ -44,13 +44,6 @@ - - - all - runtime; build; native; contentfiles; analyzers - - - diff --git a/Directory.Packages.props b/Directory.Packages.props index f189748da5e..78c7cbe693c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,7 +10,6 @@ - @@ -38,13 +37,6 @@ - - - - - - - - + diff --git a/docfx.sln b/docfx.sln index 9e732c85f0f..a5974afe119 100644 --- a/docfx.sln +++ b/docfx.sln @@ -15,6 +15,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{926A0726-B806-4215-82EF-AF8E22D0FACF}" ProjectSection(SolutionItems) = preProject test\Directory.Build.props = test\Directory.Build.props + test\Directory.Packages.props = test\Directory.Packages.props EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "docfx", "src\docfx\docfx.csproj", "{EF53214F-BA98-4026-BEED-CF771865C312}" @@ -97,6 +98,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.OverwriteDocume EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.OverwriteDocuments.Tests", "test\Docfx.Build.OverwriteDocuments.Tests\Docfx.Build.OverwriteDocuments.Tests.csproj", "{CAECA6C3-3317-4E6E-8927-9186857B23E8}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 5e9e6662dcf..58979e35535 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -12,7 +12,7 @@ false - + @@ -25,10 +25,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/test/Directory.Packages.props b/test/Directory.Packages.props new file mode 100644 index 00000000000..3fca3350206 --- /dev/null +++ b/test/Directory.Packages.props @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + From fba641696e1ea85bd9d8f880fbc59b9fabb2711b Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:24:08 +0900 Subject: [PATCH 63/70] chore: Add `Codecov` step for CI workflow (#10456) * chore: add ci step for covecov * chore: add ExcludeFromCodeCoverage attribute --- .github/workflows/ci.yml | 5 +++++ test/Docfx.Tests.Common/Docfx.Tests.Common.csproj | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fbcefc84a4..03331660a89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,11 @@ jobs: env: PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} + - uses: codecov/codecov-action@v5 + if: matrix.os == 'ubuntu-latest' + with: + fail_ci_if_error: true + - run: echo "DOTNET_DbgEnableMiniDump=1" >> $GITHUB_ENV if: matrix.os == 'ubuntu-latest' diff --git a/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj b/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj index 5ba17a6a447..230ab4eeb47 100644 --- a/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj +++ b/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj @@ -3,6 +3,11 @@ false + + + + + From 233ffb85bdbad65d39924db74b5bf4daf0ecd951 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:25:52 +0900 Subject: [PATCH 64/70] chore: Add verify code styles workflow. (#10450) * chore: add lint check workflow * chore: remove writing PR comments * chore: modify code formatting (`dotnet format` cause diffs on ubuntu env) --- .github/workflows/lint.yml | 43 +++++++++++++++++++ .../ValidateRestApiDocumentMetadata.cs | 7 ++- 2 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000000..027be8fe3a0 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,43 @@ +name: lint + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review + workflow_dispatch: + +jobs: + build: + name: Lint + runs-on: ubuntu-latest + if: github.event.pull_request.draft == false + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup .NET SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 9.x + + - name: Run `dotnet format` command + run: | + dotnet restore + dotnet format --no-restore --verify-no-changes + + - name: Report failures as Job Summary + if: ${{ failure() }} + shell: pwsh + run: | + $content = ' + ## Failed to run the `lint.yml` workflow + To fix workflow errors. Please follow the steps below. + 1. Run `dotnet format` command. + 2. Commit changes as separated commit. + 3. Push changes to source branch of PR. + ' + Write-Output $content >> $env:GITHUB_STEP_SUMMARY diff --git a/src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs b/src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs index 8494910a04a..f082944c26d 100644 --- a/src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs +++ b/src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs @@ -29,10 +29,9 @@ public override void Build(FileModel model, IHostService host) case DocumentType.Overwrite: foreach (var item in (List)model.Content) { - host.ValidateInputMetadata( - model.OriginalFileAndType.File, - // use RestApiChildItemViewModel because it contains all properties for REST. - item.ConvertTo().Metadata.ToImmutableDictionary()); + // use RestApiChildItemViewModel because it contains all properties for REST + var metadata = item.ConvertTo().Metadata.ToImmutableDictionary(); + host.ValidateInputMetadata(model.OriginalFileAndType.File, metadata); } break; default: From 445113cb37372925a946935409c88b673052585a Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:32:43 +0900 Subject: [PATCH 65/70] fix: Modify `isCoverPage` check conditions (#10453) fix: modify isCoverPage check conditions --- samples/seed/docfx.json | 2 +- src/Docfx.App/PdfBuilder.cs | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/samples/seed/docfx.json b/samples/seed/docfx.json index 6dcf2b76192..3dfed8aca10 100644 --- a/samples/seed/docfx.json +++ b/samples/seed/docfx.json @@ -70,7 +70,7 @@ { "files": [ "**" ], "src": "obj/md", "dest": "md" }, { "files": [ "**" ], "src": "obj/apipage", "dest": "apipage" }, { "files": [ "articles/**/*.{md,yml}", "*.md", "toc.yml", "restapi/**" ] }, - { "files": [ "pdf/**" ] } + { "files": [ "pdf/*.{md,yml}" ] } ], "resource": [ { diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index 29013abd899..2e4123f6a3b 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -106,7 +106,7 @@ await Parallel.ForEachAsync(pdfTocs, async (item, _) => var outputPath = Path.Combine(outputFolder, outputName); await CreatePdf( - PrintPdf, PrintHeaderFooter, task, new(baseUrl, url), toc, outputPath, + PrintPdf, PrintHeaderFooter, task, new(baseUrl, url), toc, outputFolder, outputPath, pageNumbers => pdfPageNumbers[url] = pageNumbers); task.Value = task.MaxValue; @@ -256,7 +256,7 @@ static string ExpandTemplate(string? pdfTemplate, int pageNumber, int totalPages static async Task CreatePdf( Func> printPdf, Func> printHeaderFooter, ProgressTask task, - Uri outlineUrl, Outline outline, string outputPath, Action> updatePageNumbers) + Uri outlineUrl, Outline outline, string outputFolder, string outputPath, Action> updatePageNumbers) { var tempDirectory = Path.Combine(Path.GetTempPath(), ".docfx", "pdf", "pages"); Directory.CreateDirectory(tempDirectory); @@ -357,7 +357,7 @@ async Task MergePdf() if (!pageBytes.TryGetValue(node, out var bytes)) continue; - var isCoverPage = url.AbsolutePath.TrimStart('/').Equals(outline.pdfCoverPage, GetStringComparison()); + var isCoverPage = IsCoverPage(url, outputFolder, outline.pdfCoverPage); var isTocPage = IsTocPage(url); if (isTocPage) @@ -440,6 +440,19 @@ PdfAction HandleUriAction(UriAction url) static Uri CleanUrl(Uri url) => new UriBuilder(url) { Query = null, Fragment = null }.Uri; + static bool IsCoverPage(Uri pageUri, string baseFolder, string? pdfCoverPage) + { + Debug.Assert(Path.IsPathFullyQualified(baseFolder)); + + if (string.IsNullOrEmpty(pdfCoverPage)) + return false; + + string pagePath = pageUri.AbsolutePath.TrimStart('/'); + string covePagePath = PathUtility.MakeRelativePath(baseFolder, Path.GetFullPath(Path.Combine(baseFolder, pdfCoverPage))); + + return pagePath.Equals(covePagePath, GetStringComparison()); + } + static bool IsTocPage(Uri url) => url.AbsolutePath.StartsWith("/_pdftoc/"); Bookmarks CreateBookmarks(Outline[]? items) From 35858d111a638e5b5052a7121fa24d5ef92d3c3d Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:30:09 +0900 Subject: [PATCH 66/70] chore: Add explicit timeout settings to workflows (#10475) chore: set timeout settings to workflows --- .github/workflows/ci.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/nightly.yml | 1 + .github/workflows/reports.yml | 1 + .github/workflows/snapshot.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03331660a89..93b3e6d0d29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: jobs: test: runs-on: ${{ matrix.os }} + timeout-minutes: 30 strategy: fail-fast: false matrix: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 027be8fe3a0..aedbb8704f2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,6 +13,7 @@ jobs: build: name: Lint runs-on: ubuntu-latest + timeout-minutes: 30 if: github.event.pull_request.draft == false steps: - name: Checkout diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 944d0da0fcc..c799d493e7d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,6 +11,7 @@ jobs: publish-github-packages: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest + timeout-minutes: 30 permissions: packages: write steps: diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 88edd1c0b69..92281b63644 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -15,6 +15,7 @@ permissions: jobs: report: runs-on: ubuntu-latest + timeout-minutes: 30 if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }} steps: - name: Create Test Report diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 4d383270736..6aa7d813f61 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -11,6 +11,7 @@ on: jobs: snapshot: runs-on: ubuntu-latest + timeout-minutes: 30 environment: ci strategy: fail-fast: false From 50328a799bfde76007e54bcae146b00c87d0ec46 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:30:35 +0900 Subject: [PATCH 67/70] chore: Remove code that create unused docfx temp directory (#10463) chore: delete unused docfx tempdir creation --- src/Docfx.App/PdfBuilder.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index 2e4123f6a3b..8c95fea7821 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -258,9 +258,6 @@ static async Task CreatePdf( Func> printPdf, Func> printHeaderFooter, ProgressTask task, Uri outlineUrl, Outline outline, string outputFolder, string outputPath, Action> updatePageNumbers) { - var tempDirectory = Path.Combine(Path.GetTempPath(), ".docfx", "pdf", "pages"); - Directory.CreateDirectory(tempDirectory); - var pages = GetPages(outline).ToArray(); if (pages.Length == 0) return; From ca3ad90ec8f5819c42c3b27ee14985ac46f6aa09 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:30:59 +0900 Subject: [PATCH 68/70] chore: Apply code formatting rules (IDE0005) (#10462) chore: apply IDE0005 code formatter rule --- .editorconfig | 2 +- .../FileMetadataPairsConverter.SystemTextJson.cs | 1 - src/Docfx.App/Config/FileMetadataPairsConverter.cs | 5 ----- .../ListWithStringFallbackConverter.SystemTextJson.cs | 2 -- .../Config/ListWithStringFallbackConverter.cs | 3 --- .../Config/MergeJsonConfigConverter.SystemTextJson.cs | 1 - src/Docfx.App/Config/MergeJsonConfigConverter.cs | 3 --- src/Docfx.Build/DocumentBuilder.cs | 1 - src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs | 1 - src/Docfx.Build/SingleDocumentBuilder.cs | 1 - .../TemplateProcessors/TemplateModelTransformer.cs | 1 - src/Docfx.Build/XRefMaps/XRefArchiveBuilder.cs | 1 - src/Docfx.Build/XRefMaps/XRefMapDownloader.cs | 2 -- .../Json/FileMappingConverter.SystemTextJson.cs | 1 - src/Docfx.Common/Json/FileMappingConverter.cs | 3 --- src/Docfx.Common/Json/JsonUtility.cs | 6 ------ .../Json/System.Text.Json/SystemTextJsonUtility.cs | 1 - src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs | 1 - src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs | 1 - .../ManagedReference/Visitors/SymbolVisitorAdapter.cs | 1 - .../MarkdigExtensionSetting.cs | 1 - ...MarkdigExtensionSettingConverter.SystemTextJson.cs | 2 -- .../QuoteSectionNote/QuoteSectionNoteRender.cs | 1 - .../MarkdownFragmentsValidationTest.cs | 1 - .../MergeMarkdownFragmentsTest.cs | 1 - .../SchemaDrivenProcessorTest.cs | 1 - .../ConceptualDocumentProcessorTest.cs | 1 - test/Docfx.Build.Tests/TemplateManagerUnitTest.cs | 1 - test/Docfx.Build.Tests/TocDocumentProcessorTest.cs | 1 - test/Docfx.Build.Tests/XRefMapDownloaderTest.cs | 1 - test/docfx.Tests/JsonSchemaTest.cs | 1 - .../JsonSerializationTest.BuildJsonConfig.cs | 2 -- .../JsonSerializationTest.DocfxConfig.cs | 2 -- .../JsonSerializationTest.FileMapping.cs | 2 -- .../JsonSerializationTest.FileMetadataPairs.cs | 2 -- .../JsonSerializationTest.ListWithStringFallback.cs | 2 -- .../JsonSerializationTest.Manifest.cs | 4 ---- ...JsonSerializationTest.MarkdownServiceProperties.cs | 4 ---- .../JsonSerializationTest.MergeJsonConfig.cs | 2 -- .../JsonSerializationTest.MetadataJsonConfig.cs | 2 -- .../JsonSerializationTest.XRefMap.cs | 4 ---- .../SerializationTests/JsonSerializationTest.cs | 1 - .../Shared/CustomEqualityEquivalencyStep.cs | 4 ---- .../SerializationTests/TestData/TestData.cs | 3 --- .../YamlSerializationTest.ApiPage.cs | 8 -------- .../YamlSerializationTest.FilterConfig.cs | 6 ------ .../YamlSerializationTest.ManagedReference.cs | 3 --- .../YamlSerializationTest.TocItemViewModel.cs | 2 -- .../YamlSerializationTest.UniversalReference.cs | 3 --- .../YamlSerializationTest.XRefMap.cs | 11 ----------- test/docfx.Tests/Utilities/JsonSchemaUtility.cs | 1 - 51 files changed, 1 insertion(+), 117 deletions(-) diff --git a/.editorconfig b/.editorconfig index f8ad6ea8e56..72172fcbec6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -153,7 +153,7 @@ dotnet_style_namespace_match_folder = true:suggestion # IDE013 dotnet_diagnostic.IDE0001.severity = suggestion # IDE0001: Simplify name dotnet_diagnostic.IDE0002.severity = suggestion # IDE0002: Simplify member access dotnet_diagnostic.IDE0004.severity = suggestion # IDE0004: Remove unnecessary cast -dotnet_diagnostic.IDE0005.severity = suggestion # IDE0005: Remove unnecessary import +dotnet_diagnostic.IDE0005.severity = warning # IDE0005: Remove unnecessary import dotnet_diagnostic.IDE0035.severity = suggestion # IDE0035: Remove unreachable code dotnet_diagnostic.IDE0051.severity = suggestion # IDE0051: Remove unused private member dotnet_diagnostic.IDE0052.severity = suggestion # IDE0052: Remove unread private member diff --git a/src/Docfx.App/Config/FileMetadataPairsConverter.SystemTextJson.cs b/src/Docfx.App/Config/FileMetadataPairsConverter.SystemTextJson.cs index 5d294a0e691..7756e581a4b 100644 --- a/src/Docfx.App/Config/FileMetadataPairsConverter.SystemTextJson.cs +++ b/src/Docfx.App/Config/FileMetadataPairsConverter.SystemTextJson.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Linq; using System.Text.Json; using System.Text.Json.Serialization; using Docfx.Common; diff --git a/src/Docfx.App/Config/FileMetadataPairsConverter.cs b/src/Docfx.App/Config/FileMetadataPairsConverter.cs index 71dcc5f3458..a982a1a9c28 100644 --- a/src/Docfx.App/Config/FileMetadataPairsConverter.cs +++ b/src/Docfx.App/Config/FileMetadataPairsConverter.cs @@ -1,11 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Docfx.Common; - -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - namespace Docfx; /// diff --git a/src/Docfx.App/Config/ListWithStringFallbackConverter.SystemTextJson.cs b/src/Docfx.App/Config/ListWithStringFallbackConverter.SystemTextJson.cs index 742164a8ffc..1c1ef94d29a 100644 --- a/src/Docfx.App/Config/ListWithStringFallbackConverter.SystemTextJson.cs +++ b/src/Docfx.App/Config/ListWithStringFallbackConverter.SystemTextJson.cs @@ -1,10 +1,8 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.IO; using System.Text.Json; using System.Text.Json.Serialization; -using YamlDotNet.Serialization; namespace Docfx; diff --git a/src/Docfx.App/Config/ListWithStringFallbackConverter.cs b/src/Docfx.App/Config/ListWithStringFallbackConverter.cs index 12188991a86..ea91f6aa239 100644 --- a/src/Docfx.App/Config/ListWithStringFallbackConverter.cs +++ b/src/Docfx.App/Config/ListWithStringFallbackConverter.cs @@ -1,9 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - namespace Docfx; diff --git a/src/Docfx.App/Config/MergeJsonConfigConverter.SystemTextJson.cs b/src/Docfx.App/Config/MergeJsonConfigConverter.SystemTextJson.cs index 90ebe522bd1..fcb0825a71a 100644 --- a/src/Docfx.App/Config/MergeJsonConfigConverter.SystemTextJson.cs +++ b/src/Docfx.App/Config/MergeJsonConfigConverter.SystemTextJson.cs @@ -3,7 +3,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -using YamlDotNet.Serialization; namespace Docfx; diff --git a/src/Docfx.App/Config/MergeJsonConfigConverter.cs b/src/Docfx.App/Config/MergeJsonConfigConverter.cs index 64d4e815013..03c9836af2f 100644 --- a/src/Docfx.App/Config/MergeJsonConfigConverter.cs +++ b/src/Docfx.App/Config/MergeJsonConfigConverter.cs @@ -1,9 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - namespace Docfx; /// diff --git a/src/Docfx.Build/DocumentBuilder.cs b/src/Docfx.Build/DocumentBuilder.cs index 6b9c3f72813..f2ef6f51204 100644 --- a/src/Docfx.Build/DocumentBuilder.cs +++ b/src/Docfx.Build/DocumentBuilder.cs @@ -9,7 +9,6 @@ using Docfx.Common; using Docfx.MarkdigEngine; using Docfx.Plugins; -using Newtonsoft.Json; namespace Docfx.Build.Engine; diff --git a/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs b/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs index 34e11fb2d2a..95b236d0e7c 100644 --- a/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs +++ b/src/Docfx.Build/PostProcessors/ExtractSearchIndex.cs @@ -9,7 +9,6 @@ using Docfx.Common; using Docfx.Plugins; using HtmlAgilityPack; -using Newtonsoft.Json; namespace Docfx.Build.Engine; diff --git a/src/Docfx.Build/SingleDocumentBuilder.cs b/src/Docfx.Build/SingleDocumentBuilder.cs index f1cf5ee4aa5..5b973455976 100644 --- a/src/Docfx.Build/SingleDocumentBuilder.cs +++ b/src/Docfx.Build/SingleDocumentBuilder.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using System.Threading; using Docfx.Common; using Docfx.Plugins; diff --git a/src/Docfx.Build/TemplateProcessors/TemplateModelTransformer.cs b/src/Docfx.Build/TemplateProcessors/TemplateModelTransformer.cs index 57483f41930..18e41f5560e 100644 --- a/src/Docfx.Build/TemplateProcessors/TemplateModelTransformer.cs +++ b/src/Docfx.Build/TemplateProcessors/TemplateModelTransformer.cs @@ -5,7 +5,6 @@ using Docfx.Common; using Docfx.Plugins; using HtmlAgilityPack; -using Newtonsoft.Json; namespace Docfx.Build.Engine; diff --git a/src/Docfx.Build/XRefMaps/XRefArchiveBuilder.cs b/src/Docfx.Build/XRefMaps/XRefArchiveBuilder.cs index 8ad9e3932c4..354e90d6fcc 100644 --- a/src/Docfx.Build/XRefMaps/XRefArchiveBuilder.cs +++ b/src/Docfx.Build/XRefMaps/XRefArchiveBuilder.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Threading; using Docfx.Common; namespace Docfx.Build.Engine; diff --git a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs index d1bb1ef97c8..340df7e7729 100644 --- a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs +++ b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System; -using System.Diagnostics; using System.IO.Compression; using System.Net; using Docfx.Common; diff --git a/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs b/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs index 902f5878ca4..fb7da65e757 100644 --- a/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs +++ b/src/Docfx.Common/Json/FileMappingConverter.SystemTextJson.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/src/Docfx.Common/Json/FileMappingConverter.cs b/src/Docfx.Common/Json/FileMappingConverter.cs index 65a4cd2dbe8..d0e9d03e734 100644 --- a/src/Docfx.Common/Json/FileMappingConverter.cs +++ b/src/Docfx.Common/Json/FileMappingConverter.cs @@ -1,9 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - namespace Docfx; internal partial class FileMappingConverter diff --git a/src/Docfx.Common/Json/JsonUtility.cs b/src/Docfx.Common/Json/JsonUtility.cs index b0c4d7ca1ac..de00f591944 100644 --- a/src/Docfx.Common/Json/JsonUtility.cs +++ b/src/Docfx.Common/Json/JsonUtility.cs @@ -1,13 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Collections.Generic; -using System.IO; -using System.Reflection.PortableExecutable; -using System.Text.RegularExpressions; -using Docfx.Plugins; using Newtonsoft.Json; -using YamlDotNet.Serialization; namespace Docfx.Common; diff --git a/src/Docfx.Common/Json/System.Text.Json/SystemTextJsonUtility.cs b/src/Docfx.Common/Json/System.Text.Json/SystemTextJsonUtility.cs index e16fa005d79..1b3fd2d2aaa 100644 --- a/src/Docfx.Common/Json/System.Text.Json/SystemTextJsonUtility.cs +++ b/src/Docfx.Common/Json/System.Text.Json/SystemTextJsonUtility.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.IO; using System.Text.Encodings.Web; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs index 454c0303c40..bf5e65f2c45 100644 --- a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs @@ -10,7 +10,6 @@ using Docfx.Plugins; using HtmlAgilityPack; using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.Shared.Extensions; using OneOf; #nullable enable diff --git a/src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs index acb2cc10a92..27b4df73f1b 100644 --- a/src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Text.Json.Serialization; using YamlDotNet.Serialization; namespace Docfx.Dotnet; diff --git a/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs b/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs index a81d5a930a1..75e08f64399 100644 --- a/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs +++ b/src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs @@ -8,7 +8,6 @@ using Docfx.DataContracts.ManagedReference; using Docfx.Plugins; using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.Shared.Extensions; namespace Docfx.Dotnet; diff --git a/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSetting.cs b/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSetting.cs index 87cf1a0d20a..8872302adc8 100644 --- a/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSetting.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSetting.cs @@ -4,7 +4,6 @@ using System.Diagnostics; using System.Text.Json; using System.Text.Json.Nodes; -using System.Text.Json.Serialization; #nullable enable diff --git a/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSettingConverter.SystemTextJson.cs b/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSettingConverter.SystemTextJson.cs index d2636d8d96e..93f7a1cf69d 100644 --- a/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSettingConverter.SystemTextJson.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MarkdigExtensionSettingConverter.SystemTextJson.cs @@ -2,9 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Text.Json; -using System.Text.Json.Nodes; using System.Text.Json.Serialization; -using System.Xml.Linq; namespace Docfx.MarkdigEngine.Extensions; diff --git a/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs index b5c19ad5073..da1ee519202 100644 --- a/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs +++ b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.ObjectModel; -using System.Diagnostics; using System.Text.RegularExpressions; using System.Web; using Markdig.Renderers; diff --git a/test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs b/test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs index a04406a268e..1c1497e016b 100644 --- a/test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Collections.Immutable; using Docfx.Build.Engine; using Docfx.Common; using Docfx.Plugins; diff --git a/test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs b/test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs index f82fa591e58..97158492044 100644 --- a/test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Collections.Immutable; using Docfx.Build.Engine; using Docfx.Common; using Docfx.Plugins; diff --git a/test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs b/test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs index 400694d1d06..0337e095193 100644 --- a/test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs @@ -3,7 +3,6 @@ using System.Collections.Immutable; using System.Composition; -using System.Text.RegularExpressions; using Docfx.Build.Engine; using Docfx.Common; diff --git a/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs b/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs index 4d4c7961e93..4bcb39a5f4e 100644 --- a/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs +++ b/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using System.Reflection; using System.Web; using Docfx.Build.Engine; using Docfx.Common; diff --git a/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs b/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs index 2a72b1c83a0..22c766f0612 100644 --- a/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs +++ b/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Docfx.Common; using Docfx.Plugins; using Docfx.Tests.Common; diff --git a/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs b/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs index 6b2dbc2ca47..6b00e80586c 100644 --- a/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs +++ b/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using System.Reflection; using System.Web; using Docfx.Build.Engine; using Docfx.Common; diff --git a/test/Docfx.Build.Tests/XRefMapDownloaderTest.cs b/test/Docfx.Build.Tests/XRefMapDownloaderTest.cs index b3557df9c27..04f21141a85 100644 --- a/test/Docfx.Build.Tests/XRefMapDownloaderTest.cs +++ b/test/Docfx.Build.Tests/XRefMapDownloaderTest.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Net; using FluentAssertions; using Xunit; diff --git a/test/docfx.Tests/JsonSchemaTest.cs b/test/docfx.Tests/JsonSchemaTest.cs index aeed970aa31..fc4e24847a5 100644 --- a/test/docfx.Tests/JsonSchemaTest.cs +++ b/test/docfx.Tests/JsonSchemaTest.cs @@ -6,7 +6,6 @@ using Docfx.DataContracts.Common; using Docfx.Tests.Common; using FluentAssertions; -using Json.Schema; using Xunit.Abstractions; using YamlDotNet.Serialization; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.BuildJsonConfig.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.BuildJsonConfig.cs index 16c4599c03a..f479f417ecc 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.BuildJsonConfig.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.BuildJsonConfig.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.DocfxConfig.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.DocfxConfig.cs index 50473ad2ab3..4cdc1bcd705 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.DocfxConfig.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.DocfxConfig.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMapping.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMapping.cs index 488be5c6d49..7b68bee9566 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMapping.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMapping.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMetadataPairs.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMetadataPairs.cs index 4a026e26a87..496b86868af 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMetadataPairs.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.FileMetadataPairs.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.ListWithStringFallback.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.ListWithStringFallback.cs index f7557fe6429..05bf661d959 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.ListWithStringFallback.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.ListWithStringFallback.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.Manifest.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.Manifest.cs index 0784927eb9c..8c425f89b9a 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.Manifest.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.Manifest.cs @@ -1,11 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Docfx; -using Docfx.Common; using Docfx.Plugins; -using FluentAssertions; -using YamlDotNet.Core.Tokens; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.MarkdownServiceProperties.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.MarkdownServiceProperties.cs index 51546b4c973..8e4c693a560 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.MarkdownServiceProperties.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.MarkdownServiceProperties.cs @@ -1,10 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Text.Json; -using Docfx; -using Docfx.Common; -using Docfx.MarkdigEngine.Extensions; using Docfx.Plugins; using FluentAssertions; using Markdig.Extensions.MediaLinks; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.MergeJsonConfig.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.MergeJsonConfig.cs index 0d5617f01a1..0abb22f8dee 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.MergeJsonConfig.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.MergeJsonConfig.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.MetadataJsonConfig.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.MetadataJsonConfig.cs index 6308a02daa9..e1eff91f639 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.MetadataJsonConfig.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.MetadataJsonConfig.cs @@ -2,8 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using Docfx; -using Docfx.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.XRefMap.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.XRefMap.cs index 24679084df3..ccf7f032eaa 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.XRefMap.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.XRefMap.cs @@ -1,11 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Docfx; using Docfx.Build.Engine; -using Docfx.Common; -using Docfx.Plugins; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/JsonSerializationTest.cs b/test/docfx.Tests/SerializationTests/JsonSerializationTest.cs index 8acf7ad79d7..b751e20b36a 100644 --- a/test/docfx.Tests/SerializationTests/JsonSerializationTest.cs +++ b/test/docfx.Tests/SerializationTests/JsonSerializationTest.cs @@ -5,7 +5,6 @@ using Docfx.Common; using FluentAssertions; using FluentAssertions.Equivalency; -using FluentAssertions.Equivalency.Tracing; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/Shared/CustomEqualityEquivalencyStep.cs b/test/docfx.Tests/SerializationTests/Shared/CustomEqualityEquivalencyStep.cs index e8266a0d3d5..1a1b2380c34 100644 --- a/test/docfx.Tests/SerializationTests/Shared/CustomEqualityEquivalencyStep.cs +++ b/test/docfx.Tests/SerializationTests/Shared/CustomEqualityEquivalencyStep.cs @@ -1,10 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Diagnostics; -using System.Globalization; -using Docfx.Common; -using FluentAssertions; using FluentAssertions.Equivalency; using Newtonsoft.Json.Linq; diff --git a/test/docfx.Tests/SerializationTests/TestData/TestData.cs b/test/docfx.Tests/SerializationTests/TestData/TestData.cs index bf75bddbac3..30b08de0366 100644 --- a/test/docfx.Tests/SerializationTests/TestData/TestData.cs +++ b/test/docfx.Tests/SerializationTests/TestData/TestData.cs @@ -1,12 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Diagnostics; -using System.Text.Json; using Docfx.Build.ApiPage; using Docfx.Common; using Docfx.Tests; -using YamlDotNet.Serialization; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/YamlSerializationTest.ApiPage.cs b/test/docfx.Tests/SerializationTests/YamlSerializationTest.ApiPage.cs index c0db0066478..f78caa12072 100644 --- a/test/docfx.Tests/SerializationTests/YamlSerializationTest.ApiPage.cs +++ b/test/docfx.Tests/SerializationTests/YamlSerializationTest.ApiPage.cs @@ -1,19 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Diagnostics; -using System.IO; -using System.Net; -using System.Runtime.CompilerServices; using System.Text.Json; using Docfx.Build.ApiPage; -using Docfx.Build.ManagedReference; using Docfx.Common; -using Docfx.DataContracts.ManagedReference; using Docfx.Tests; using FluentAssertions; -using Microsoft.Playwright; -using OneOf; using YamlDotNet.Serialization; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/YamlSerializationTest.FilterConfig.cs b/test/docfx.Tests/SerializationTests/YamlSerializationTest.FilterConfig.cs index 01654be228b..5385f8d5092 100644 --- a/test/docfx.Tests/SerializationTests/YamlSerializationTest.FilterConfig.cs +++ b/test/docfx.Tests/SerializationTests/YamlSerializationTest.FilterConfig.cs @@ -1,13 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.IO; -using Docfx; -using Docfx.Build.Engine; -using Docfx.Common; using Docfx.Dotnet; -using Docfx.Plugins; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/YamlSerializationTest.ManagedReference.cs b/test/docfx.Tests/SerializationTests/YamlSerializationTest.ManagedReference.cs index 3012c8a890f..505598ef3fe 100644 --- a/test/docfx.Tests/SerializationTests/YamlSerializationTest.ManagedReference.cs +++ b/test/docfx.Tests/SerializationTests/YamlSerializationTest.ManagedReference.cs @@ -1,10 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Diagnostics; -using System.Runtime.CompilerServices; using Docfx.DataContracts.ManagedReference; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/YamlSerializationTest.TocItemViewModel.cs b/test/docfx.Tests/SerializationTests/YamlSerializationTest.TocItemViewModel.cs index ac3d4b47bfa..b4486079209 100644 --- a/test/docfx.Tests/SerializationTests/YamlSerializationTest.TocItemViewModel.cs +++ b/test/docfx.Tests/SerializationTests/YamlSerializationTest.TocItemViewModel.cs @@ -1,9 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Docfx.Build.ApiPage; using Docfx.DataContracts.Common; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/YamlSerializationTest.UniversalReference.cs b/test/docfx.Tests/SerializationTests/YamlSerializationTest.UniversalReference.cs index 2920741e685..15eaf1a2d99 100644 --- a/test/docfx.Tests/SerializationTests/YamlSerializationTest.UniversalReference.cs +++ b/test/docfx.Tests/SerializationTests/YamlSerializationTest.UniversalReference.cs @@ -1,10 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Diagnostics; -using System.Runtime.CompilerServices; using Docfx.DataContracts.UniversalReference; -using FluentAssertions; namespace docfx.Tests; diff --git a/test/docfx.Tests/SerializationTests/YamlSerializationTest.XRefMap.cs b/test/docfx.Tests/SerializationTests/YamlSerializationTest.XRefMap.cs index 68bc961a423..9d512152db9 100644 --- a/test/docfx.Tests/SerializationTests/YamlSerializationTest.XRefMap.cs +++ b/test/docfx.Tests/SerializationTests/YamlSerializationTest.XRefMap.cs @@ -1,18 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Diagnostics; -using System.Reflection; -using System.Runtime.CompilerServices; -using Docfx.Build.ApiPage; using Docfx.Build.Engine; -using Docfx.Build.ManagedReference; -using Docfx.DataContracts.ManagedReference; -using Docfx.Plugins; -using FluentAssertions; -using Microsoft.AspNetCore.Mvc; -using Microsoft.CodeAnalysis; -using Xunit.Sdk; namespace docfx.Tests; diff --git a/test/docfx.Tests/Utilities/JsonSchemaUtility.cs b/test/docfx.Tests/Utilities/JsonSchemaUtility.cs index 0d12c1e2063..a66581cafcc 100644 --- a/test/docfx.Tests/Utilities/JsonSchemaUtility.cs +++ b/test/docfx.Tests/Utilities/JsonSchemaUtility.cs @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Text; using System.Text.Json; using Json.Schema; From 16e2a3f20cabf9b9169bd6844552707281d9194f Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:32:11 +0900 Subject: [PATCH 69/70] perf: Optimize pdf generation performance by reducing file I/O (#10461) perf: optimize pdf generation performance by skipping file i/o --- src/Docfx.App/PdfBuilder.cs | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index 8c95fea7821..4719f3b7f4e 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System.Buffers; using System.Collections.Concurrent; using System.Diagnostics; using System.Reflection; @@ -32,6 +33,8 @@ namespace Docfx.Pdf; static class PdfBuilder { + private static readonly SearchValues InvalidPathChars = SearchValues.Create(Path.GetInvalidPathChars()); + class Outline { public string name { get; init; } = ""; @@ -94,7 +97,8 @@ public static async Task CreatePdf(string outputFolder) using var pageLimiter = new SemaphoreSlim(Environment.ProcessorCount, Environment.ProcessorCount); var pagePool = new ConcurrentBag(); - var headerFooterCache = new ConcurrentDictionary<(string, string), Task>(); + var headerFooterTemplateCache = new ConcurrentDictionary(); + var headerFooterPageCache = new ConcurrentDictionary<(string, string), Task>(); await AnsiConsole.Progress().StartAsync(async progress => { @@ -187,7 +191,7 @@ Task PrintHeaderFooter(Outline toc, int pageNumber, int totalPages, Page var headerTemplate = ExpandTemplate(GetHeaderFooter(toc.pdfHeaderTemplate), pageNumber, totalPages); var footerTemplate = ExpandTemplate(GetHeaderFooter(toc.pdfFooterTemplate) ?? DefaultFooterTemplate, pageNumber, totalPages); - return headerFooterCache.GetOrAdd((headerTemplate, footerTemplate), _ => PrintHeaderFooterCore()); + return headerFooterPageCache.GetOrAdd((headerTemplate, footerTemplate), _ => PrintHeaderFooterCore()); async Task PrintHeaderFooterCore() { @@ -241,16 +245,29 @@ static string ExpandTemplate(string? pdfTemplate, int pageNumber, int totalPages if (string.IsNullOrEmpty(template)) return template; - try - { - var path = Path.Combine(outputFolder, template); - return File.Exists(path) ? File.ReadAllText(path) : template; - } - catch - { + // Check path chars. If it's contains HTML chars. Skip access to file content to optimmize performance + if (template.AsSpan().ContainsAny(InvalidPathChars)) return template; - } + + return headerFooterTemplateCache.GetOrAdd(template, (_) => + { + // Note: This valueFactory might be called multiple times. + try + { + var path = Path.GetFullPath(Path.Combine(outputFolder, template)); + if (!File.Exists(path)) + return template; + + var templateContent = File.ReadAllText(path); + return templateContent; + } + catch + { + return template; + } + }); } + } } From 0cceb23227448b9e1767814df172568bbc08e281 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:34:36 +0900 Subject: [PATCH 70/70] chore: Apply code formatting rules (IDE0028, and IDE0300-IDE0304) (#10458) chore: apply code formatter for IDE0028, and IDE0300-IDE0304 --- .editorconfig | 3 +- src/Docfx.App/Config/BuildJsonConfig.cs | 6 +- src/Docfx.App/Config/FileMetadataPairs.cs | 2 +- src/Docfx.App/Config/GroupConfig.cs | 2 +- .../Helpers/DocumentBuilderWrapper.cs | 4 +- src/Docfx.App/Helpers/MetadataMerger.cs | 4 +- src/Docfx.App/PdfBuilder.cs | 2 +- src/Docfx.App/RunBuild.cs | 2 +- src/Docfx.App/RunMerge.cs | 2 +- src/Docfx.Build.Common/MarkdownReader.cs | 2 +- .../HandleModelAttributesContext.cs | 10 +- .../Handlers/UrlContentHandler.cs | 2 +- .../Reference/OverwriteDocumentModel.cs | 10 +- .../ApplyPlatformVersion.cs | 2 +- .../BuildOutputs/ApiBuildOutput.cs | 2 +- .../BuildOutputs/ApiReferenceBuildOutput.cs | 2 +- .../FillReferenceInformation.cs | 2 +- .../MergeManagedReferenceDocument.cs | 2 +- .../SplitClassPageToMemberLevel.cs | 12 +- .../SplitRestApiToOperationLevel.cs | 10 +- .../MarkdownFragmentsCreator.cs | 2 +- .../OverwriteDocumentModelCreator.cs | 4 +- .../OverwriteUtility.cs | 2 +- .../Rules/YamlCodeBlockRule.cs | 2 +- .../BuildRestApiDocument.cs | 2 +- src/Docfx.Build.RestApi/Swagger/InfoObject.cs | 2 +- .../Swagger/Internals/SwaggerArray.cs | 2 +- .../Swagger/Internals/SwaggerObject.cs | 2 +- .../Swagger/OperationObject.cs | 2 +- .../Swagger/ParameterObject.cs | 2 +- .../Swagger/PathItemObject.cs | 2 +- .../Swagger/ResponseObject.cs | 2 +- .../Swagger/SwaggerModel.cs | 2 +- .../Swagger/TagItemObject.cs | 2 +- .../SwaggerModelConverter.cs | 4 +- .../Models/DocumentSchema.cs | 2 +- .../Models/JsonPointer.cs | 4 +- .../Processors/Helper.cs | 4 +- .../Processors/ProcessContext.cs | 14 +- .../Processors/XrefInterpreter.cs | 2 +- .../Processors/XrefPropertiesInterpreter.cs | 2 +- .../ValidateFragmentsHandler.cs | 2 +- .../SplitRestApiToTagLevel.cs | 6 +- .../BuildOutputs/ApiBuildOutput.cs | 2 +- .../ApiExceptionInfoBuildOutput.cs | 2 +- .../ApiInheritanceTreeBuildOutput.cs | 2 +- .../BuildOutputs/ApiNames.cs | 2 +- .../BuildOutputs/ApiParameterBuildOutput.cs | 2 +- .../BuildOutputs/ApiSyntaxBuildOutput.cs | 2 +- .../ModelConverter.cs | 6 +- src/Docfx.Build/CompilePhaseHandler.cs | 2 +- src/Docfx.Build/DocumentBuildContext.cs | 4 +- src/Docfx.Build/DocumentBuilder.cs | 2 +- src/Docfx.Build/FileCollection.cs | 2 +- src/Docfx.Build/HostService.cs | 4 +- src/Docfx.Build/LinkPhaseHandler.cs | 2 +- src/Docfx.Build/ManifestProcessor.cs | 2 +- src/Docfx.Build/MarkupResultUtility.cs | 2 +- .../PostProcessors/HtmlPostProcessor.cs | 2 +- .../PostProcessors/ValidateBookmark.cs | 2 +- .../LocalFileResourceReader.cs | 2 +- src/Docfx.Build/SingleDocumentBuilder.cs | 12 +- .../TableOfContents/BuildTocDocument.cs | 2 +- .../TableOfContents/MarkdownTocReader.cs | 4 +- .../TableOfContents/TocResolver.cs | 2 +- .../TableOfContents/TocRestructureUtility.cs | 6 +- .../TemplateModelTransformer.cs | 4 +- src/Docfx.Build/XRefMaps/XRefArchive.cs | 4 +- src/Docfx.Build/XRefMaps/XRefCollection.cs | 4 +- src/Docfx.Build/XRefMaps/XRefMap.cs | 2 +- src/Docfx.Common/CompositeDictionary.cs | 2 +- .../FileAbstractLayer/EmptyFileReader.cs | 2 +- src/Docfx.Common/FileMapping.cs | 2 +- .../NewtonsoftJson/ConvertToObjectHelper.cs | 4 +- .../Loggers/CompositeLogListener.cs | 2 +- .../ResourcePools/ResourcePoolManager.cs | 2 +- .../ExternalReferencePackageReader.cs | 2 +- .../ReferenceViewModel.cs | 10 +- .../TocItemViewModel.cs | 2 +- .../RestApiItemViewModelBase.cs | 2 +- .../RestApiParameterViewModel.cs | 2 +- .../RestApiResponseViewModel.cs | 2 +- .../RestApiTagViewModel.cs | 2 +- .../ApiParameter.cs | 2 +- .../ArgumentInfo.cs | 2 +- .../AttributeInfo.cs | 2 +- .../ExceptionInfo.cs | 2 +- .../InheritanceTree.cs | 2 +- .../ItemViewModel.cs | 40 ++--- .../LinkInfo.cs | 2 +- .../NamedArgumentInfo.cs | 2 +- .../PageViewModel.cs | 6 +- .../SyntaxDetailViewModel.cs | 4 +- src/Docfx.Dotnet/DotnetApiCatalog.Compile.cs | 6 +- .../DotnetApiCatalog.ManagedReference.cs | 10 +- src/Docfx.Dotnet/DotnetApiCatalog.Toc.cs | 6 +- .../Filters/AttributeFilterInfo.cs | 2 +- src/Docfx.Dotnet/Filters/ConfigFilterRule.cs | 4 +- .../ManagedReference/Models/ItemViewModel.cs | 8 +- .../ManagedReference/Models/PageViewModel.cs | 6 +- .../Models/SyntaxDetailViewModel.cs | 2 +- .../Resolvers/ResolveReference.cs | 2 +- .../Resolvers/SetDerivedClass.cs | 4 +- .../Resolvers/YamlMetadataResolver.cs | 20 +-- .../Visitors/SymbolVisitorAdapter.cs | 54 +++---- .../TypeGenericParameterNameVisitor.cs | 2 +- .../Visitors/YamlModelGenerator.cs | 30 ++-- src/Docfx.Dotnet/Parsers/XHtmlWriter.cs | 2 +- .../SymbolUrlResolver.SourceLink.cs | 2 +- src/Docfx.Dotnet/YamlViewModelExtensions.cs | 4 +- src/Docfx.Glob/FileGlob.cs | 4 +- src/Docfx.Glob/GlobMatcher.cs | 18 +-- .../CodeSnippet/HtmlCodeSnippetRenderer.cs | 22 +-- .../TabGroup/ActiveAndVisibleRewriter.cs | 2 +- src/Docfx.Plugins/FileModel.cs | 4 +- src/Docfx.Plugins/GroupInfo.cs | 2 +- src/Docfx.Plugins/Manifest.cs | 2 +- src/Docfx.Plugins/ManifestGroupInfo.cs | 2 +- src/Docfx.Plugins/ManifestItem.cs | 4 +- src/Docfx.Plugins/OutputFileInfo.cs | 2 +- src/Docfx.Plugins/TreeItem.cs | 2 +- src/Docfx.Plugins/XRefSpec.cs | 2 +- .../EmitGenericCollectionNodeDeserializer.cs | 6 +- .../EmitGenericDictionaryNodeDeserializer.cs | 6 +- .../DefaultEmitObjectFactory.cs | 2 +- .../FullObjectGraphTraversalStrategy.cs | 6 +- .../TypeInspectors/EmitTypeInspector.cs | 4 +- .../YamlDeserializer.cs | 12 +- src/docfx/Models/BuildCommand.cs | 4 +- src/docfx/Models/TemplateCommand.cs | 2 +- .../MarkdownReaderTest.cs | 2 +- .../ModelAttributeHandlerTest.cs | 20 +-- .../OverwriteDocumentModelCreatorTest.cs | 35 ++--- .../SplitRestApiToOperationLevelTest.cs | 2 +- .../SchemaFragmentsIteratorTest.cs | 2 +- .../ConceptualDocumentProcessorTest.cs | 2 +- test/Docfx.Build.Tests/DocumentBuilderTest.cs | 82 +++++----- .../DocumentProcessors/YamlDocumentModel.cs | 4 +- .../FileMetadataHelperTest.cs | 58 ++++--- .../JintProcessorHelperTest.cs | 2 +- .../TemplateProcessorUnitTest.cs | 2 +- .../TocDocumentProcessorTest.cs | 142 +++++++++--------- test/Docfx.Build.Tests/TocRestructureTest.cs | 8 +- .../XRefMapSerializationTest.cs | 12 +- ...UniversalReferenceDocumentProcessorTest.cs | 2 +- .../CompositeDictionaryTest.cs | 6 +- .../ConvertToObjectHelperTest.cs | 8 +- test/Docfx.Common.Tests/PathUtilityTest.cs | 6 +- .../YamlSerializationTest.cs | 8 +- test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs | 2 +- .../GenerateMetadataFromCSUnitTest.cs | 2 +- .../GenerateMetadataFromVBUnitTest.cs | 2 +- .../TestUtility.cs | 6 +- .../TestUtility/TestLoggerListener.cs | 2 +- test/Docfx.Tests.Common/TestBase.cs | 2 +- test/Docfx.Tests.Common/TestListenerScope.cs | 2 +- test/Docfx.Tests.Common/TestLoggerListener.cs | 2 +- 157 files changed, 516 insertions(+), 516 deletions(-) diff --git a/.editorconfig b/.editorconfig index 72172fcbec6..711ffa681ab 100644 --- a/.editorconfig +++ b/.editorconfig @@ -78,7 +78,8 @@ csharp_prefer_static_local_function = true:suggestion dotnet_diagnostic.IDE0010.severity = suggestion # IDE0010: Add missing cases to switch statement dotnet_style_object_initializer = true:suggestion # IDE0017: Use object initializers csharp_style_inlined_variable_declaration = true:suggestion # IDE0018: Inline variable declaration -dotnet_style_collection_initializer = true:suggestion # IDE0028: Use collection initializers +dotnet_style_collection_initializer = true:suggestion # IDE0028: Use collection initializers or expressions +dotnet_style_prefer_collection_expression = true:suggestion # IDE0028: Use collection initializers or expressions dotnet_style_prefer_auto_properties = true:suggestion # IDE0032: Use auto-implemented property dotnet_style_explicit_tuple_names = true:suggestion # IDE0033: Use explicitly provided tuple name csharp_prefer_simple_default_expression = true:suggestion # IDE0034: Simplify default expression diff --git a/src/Docfx.App/Config/BuildJsonConfig.cs b/src/Docfx.App/Config/BuildJsonConfig.cs index c9dd2a4003a..ed4b395004f 100644 --- a/src/Docfx.App/Config/BuildJsonConfig.cs +++ b/src/Docfx.App/Config/BuildJsonConfig.cs @@ -72,7 +72,7 @@ internal class BuildJsonConfig /// [JsonProperty("globalMetadataFiles")] [JsonPropertyName("globalMetadataFiles")] - public ListWithStringFallback GlobalMetadataFiles { get; set; } = new(); + public ListWithStringFallback GlobalMetadataFiles { get; set; } = []; /// /// Metadata that applies to some specific files. @@ -99,7 +99,7 @@ internal class BuildJsonConfig /// [JsonProperty("template")] [JsonPropertyName("template")] - public ListWithStringFallback Template { get; set; } = new(); + public ListWithStringFallback Template { get; set; } = []; /// /// The themes applied to the documentation. @@ -123,7 +123,7 @@ internal class BuildJsonConfig /// [JsonProperty("postProcessors")] [JsonPropertyName("postProcessors")] - public ListWithStringFallback PostProcessors { get; set; } = new(); + public ListWithStringFallback PostProcessors { get; set; } = []; /// /// Run in debug mode. With debug mode, raw model and view model will be exported diff --git a/src/Docfx.App/Config/FileMetadataPairs.cs b/src/Docfx.App/Config/FileMetadataPairs.cs index 7390e638ad1..b816e909576 100644 --- a/src/Docfx.App/Config/FileMetadataPairs.cs +++ b/src/Docfx.App/Config/FileMetadataPairs.cs @@ -39,7 +39,7 @@ public FileMetadataPairs(IEnumerable items) /// public FileMetadataPairs(FileMetadataPairsItem item) { - _items = new List { item }; + _items = [item]; } /// diff --git a/src/Docfx.App/Config/GroupConfig.cs b/src/Docfx.App/Config/GroupConfig.cs index c6346938de3..f443a717c1a 100644 --- a/src/Docfx.App/Config/GroupConfig.cs +++ b/src/Docfx.App/Config/GroupConfig.cs @@ -23,5 +23,5 @@ internal class GroupConfig /// [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.App/Helpers/DocumentBuilderWrapper.cs b/src/Docfx.App/Helpers/DocumentBuilderWrapper.cs index 2bafb81bef6..c9324530912 100644 --- a/src/Docfx.App/Helpers/DocumentBuilderWrapper.cs +++ b/src/Docfx.App/Helpers/DocumentBuilderWrapper.cs @@ -263,7 +263,7 @@ private static FileMetadata GetFileMetadata(string baseDirectory, BuildJsonConfi { foreach (var (key, value) in config.FileMetadata) { - var list = result.TryGetValue(key, out var items) ? items : result[key] = new(); + var list = result.TryGetValue(key, out var items) ? items : result[key] = []; foreach (var pair in value.Items) { list.Add(new FileMetadataItem(pair.Glob, key, pair.Value)); @@ -277,7 +277,7 @@ private static FileMetadata GetFileMetadata(string baseDirectory, BuildJsonConfi { foreach (var (key, value) in JsonUtility.Deserialize>(path)) { - var list = result.TryGetValue(key, out var items) ? items : result[key] = new(); + var list = result.TryGetValue(key, out var items) ? items : result[key] = []; foreach (var pair in value.Items) { list.Add(new FileMetadataItem(pair.Glob, key, pair.Value)); diff --git a/src/Docfx.App/Helpers/MetadataMerger.cs b/src/Docfx.App/Helpers/MetadataMerger.cs index 2dee2e496f3..c4b80118d2f 100644 --- a/src/Docfx.App/Helpers/MetadataMerger.cs +++ b/src/Docfx.App/Helpers/MetadataMerger.cs @@ -14,8 +14,8 @@ namespace Docfx; internal class MetadataMerger { - private readonly Dictionary> _metaTable = new(); - private readonly Dictionary> _propTable = new(); + private readonly Dictionary> _metaTable = []; + private readonly Dictionary> _propTable = []; public void Merge(MetadataMergeParameters parameters) { diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index 4719f3b7f4e..c5a40cf603c 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -311,7 +311,7 @@ await Parallel.ForEachAsync(pages, async (item, _) => var key = CleanUrl(url); if (!pagesByUrl.TryGetValue(key, out var dests)) - pagesByUrl[key] = dests = new(); + pagesByUrl[key] = dests = []; dests.Add((node, document.Structure.Catalog.GetNamedDestinations())); pageBytes[node] = bytes; diff --git a/src/Docfx.App/RunBuild.cs b/src/Docfx.App/RunBuild.cs index 5501ae9e856..0549827bfd3 100644 --- a/src/Docfx.App/RunBuild.cs +++ b/src/Docfx.App/RunBuild.cs @@ -21,7 +21,7 @@ public static string Exec(BuildJsonConfig config, BuildOptions options, string c var stopwatch = Stopwatch.StartNew(); if (config.Template == null || config.Template.Count == 0) { - config.Template = new ListWithStringFallback { "default" }; + config.Template = ["default"]; } var baseDirectory = Path.GetFullPath(string.IsNullOrEmpty(configDirectory) ? Directory.GetCurrentDirectory() : configDirectory); diff --git a/src/Docfx.App/RunMerge.cs b/src/Docfx.App/RunMerge.cs index 76df5b5ed51..1b6ed57744a 100644 --- a/src/Docfx.App/RunMerge.cs +++ b/src/Docfx.App/RunMerge.cs @@ -56,7 +56,7 @@ private static MetadataMergeParameters ConfigToParameter(MergeJsonItemConfig con OutputBaseDir = outputDirectory, Metadata = config.GlobalMetadata?.ToImmutableDictionary() ?? ImmutableDictionary.Empty, FileMetadata = ConvertToFileMetadataItem(baseDirectory, config.FileMetadata), - TocMetadata = config.TocMetadata?.ToImmutableList() ?? ImmutableList.Empty, + TocMetadata = config.TocMetadata?.ToImmutableList() ?? [], Files = GetFileCollectionFromFileMapping( baseDirectory, DocumentType.Article, diff --git a/src/Docfx.Build.Common/MarkdownReader.cs b/src/Docfx.Build.Common/MarkdownReader.cs index 1aae2b1eaf8..66e9a40fc33 100644 --- a/src/Docfx.Build.Common/MarkdownReader.cs +++ b/src/Docfx.Build.Common/MarkdownReader.cs @@ -13,7 +13,7 @@ namespace Docfx.Build.Common; public class MarkdownReader { - private static readonly ImmutableList RequiredProperties = ImmutableList.Create(Constants.PropertyName.Uid); + private static readonly ImmutableList RequiredProperties = [Constants.PropertyName.Uid]; public static IEnumerable ReadMarkdownAsOverwrite(IHostService host, FileAndType ft) { diff --git a/src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs index 10f37bc5c1c..87a6811be05 100644 --- a/src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs @@ -14,11 +14,11 @@ public class HandleModelAttributesContext public bool EnableContentPlaceholder { get; set; } public string PlaceholderContent { get; set; } public bool ContainsPlaceholder { get; set; } - public HashSet Dependency { get; set; } = new(); + public HashSet Dependency { get; set; } = []; public FileAndType FileAndType { get; set; } public HashSet LinkToFiles { get; set; } = new(FilePathComparer.OSPlatformSensitiveStringComparer); - public HashSet LinkToUids { get; set; } = new(); - public List Uids { get; set; } = new(); - public Dictionary> UidLinkSources { get; set; } = new(); - public Dictionary> FileLinkSources { get; set; } = new(); + public HashSet LinkToUids { get; set; } = []; + public List Uids { get; set; } = []; + public Dictionary> UidLinkSources { get; set; } = []; + public Dictionary> FileLinkSources { get; set; } = []; } diff --git a/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs index 369a59e41f3..9cd182da3fa 100644 --- a/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs @@ -98,7 +98,7 @@ private static string GetHrefFromRoot(string originalHref, HandleModelAttributes if (!context.FileLinkSources.TryGetValue(file, out List sources)) { - sources = new List(); + sources = []; context.FileLinkSources[file] = sources; } sources.Add(new LinkSourceInfo diff --git a/src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs b/src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs index 8ac8f568cbb..90d9118ba0c 100644 --- a/src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs +++ b/src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs @@ -17,7 +17,7 @@ public class OverwriteDocumentModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; /// /// The uid for this overwrite document, as defined in YAML header @@ -49,7 +49,7 @@ public class OverwriteDocumentModel [YamlIgnore] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public HashSet LinkToFiles { get; set; } = new(); + public HashSet LinkToFiles { get; set; } = []; /// /// Links to other Uids @@ -57,7 +57,7 @@ public class OverwriteDocumentModel [YamlIgnore] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public HashSet LinkToUids { get; set; } = new(); + public HashSet LinkToUids { get; set; } = []; /// /// Link sources information for file @@ -65,7 +65,7 @@ public class OverwriteDocumentModel [YamlIgnore] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public Dictionary> FileLinkSources { get; set; } = new(); + public Dictionary> FileLinkSources { get; set; } = []; /// /// Link sources information for Uid @@ -73,7 +73,7 @@ public class OverwriteDocumentModel [YamlIgnore] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public Dictionary> UidLinkSources { get; set; } = new(); + public Dictionary> UidLinkSources { get; set; } = []; /// /// Dependencies extracted from the markdown content diff --git a/src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs b/src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs index 9135d8c370a..87da14659f5 100644 --- a/src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs +++ b/src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs @@ -60,7 +60,7 @@ private static List GetPlatformVersionFromMetadata(object value) { if (value is string text) { - return new List { text }; + return [text]; } if (value is IEnumerable collection) diff --git a/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs index d3087ea9a83..989e40db3f4 100644 --- a/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs @@ -184,7 +184,7 @@ public class ApiBuildOutput [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; public static ApiBuildOutput FromModel(PageViewModel model) { diff --git a/src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs index 487ea9af900..dda51eaf027 100644 --- a/src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs @@ -174,7 +174,7 @@ public class ApiReferenceBuildOutput [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; [EditorBrowsable(EditorBrowsableState.Never)] [YamlIgnore] diff --git a/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs index fdb4e53d15a..63356c20225 100644 --- a/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs +++ b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs @@ -14,7 +14,7 @@ namespace Docfx.Build.ManagedReference; [Export(nameof(ManagedReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class FillReferenceInformation : BaseDocumentBuildStep { - private readonly Dictionary _items = new(); + private readonly Dictionary _items = []; public override string Name => nameof(FillReferenceInformation); diff --git a/src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs b/src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs index acf4e8e7c7a..6f823e326a6 100644 --- a/src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs +++ b/src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs @@ -176,7 +176,7 @@ private static PageViewModel ConvertToVM(MergeItem mergeItem) { var vm = new PageViewModel { - Items = new List(), + Items = [], References = mergeItem.References?.Values.ToList(), Metadata = mergeItem.Metadata, }; diff --git a/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs index 73349a07201..934c312bcdd 100644 --- a/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs +++ b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs @@ -21,8 +21,8 @@ public class SplitClassPageToMemberLevel : BaseDocumentBuildStep private const string SplitFromPropertyName = "_splitFrom"; private const string IsOverloadPropertyName = "_isOverload"; private const int MaximumFileNameLength = 180; - private static readonly List EmptyList = new(); - private static readonly string[] EmptyArray = Array.Empty(); + private static readonly List EmptyList = []; + private static readonly string[] EmptyArray = []; public override string Name => nameof(SplitClassPageToMemberLevel); @@ -95,7 +95,7 @@ private static void RenewDupeFileModels(FileModel dupeModel, Dictionary { }); + var newModel = GenerateNewFileModel(dupeModel, page, Path.GetFileNameWithoutExtension(newFilePath), []); modelsDict[newFilePath] = newModel; } @@ -180,7 +180,7 @@ private SplittedResult SplitModelToOverloadLevel(FileModel model, Dictionary { primaryItem }; + page.Items = [primaryItem]; page.Metadata[SplitReferencePropertyName] = true; page.Metadata[SplitFromPropertyName] = true; @@ -210,7 +210,7 @@ private static IEnumerable GetNewPages(PageViewModel page) { foreach (var item in overload) { - yield return ExtractPageViewModel(page, new List { item }); + yield return ExtractPageViewModel(page, [item]); } } else @@ -296,7 +296,7 @@ private static List GetVersionFromMetadata(object value) { if (value is string text) { - return new List { text }; + return [text]; } return GetListFromObject(value); diff --git a/src/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs b/src/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs index b108f10f8cb..6d520c7b5a7 100644 --- a/src/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs +++ b/src/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs @@ -77,9 +77,9 @@ private static Tuple, List> SplitModelToOpe } // Reset children - content.Children = new List(); + content.Children = []; content.Metadata["_isSplittedByOperation"] = true; - content.Tags = new List(); + content.Tags = []; model.Content = content; // Reset uid definition @@ -123,8 +123,8 @@ private static IEnumerable GenerateOperationModels(Res Summary = child.Summary, Remarks = child.Remarks, Documentation = child.Documentation, - Children = new List { child }, - Tags = new List(), + Children = [child], + Tags = [], Metadata = MergeChildMetadata(root, child) }; @@ -139,7 +139,7 @@ private static IEnumerable GenerateOperationModels(Res child.Description = null; child.Summary = null; child.Remarks = null; - child.Tags = new List(); + child.Tags = []; yield return model; } diff --git a/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs b/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs index 34a8c202ecc..0eebf55cdd9 100644 --- a/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs +++ b/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs @@ -69,7 +69,7 @@ private List PropertySection() { PropertyName = key, PropertyNameSource = Next(), - PropertyValue = new List(), + PropertyValue = [], }; Block block; while ((block = Peek()) != null && !_inlineCodeHeadingRule.Parse(block, out var _)) diff --git a/src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs b/src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs index 5a9f3f2af30..2d4bc3a3fa7 100644 --- a/src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs +++ b/src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs @@ -37,7 +37,7 @@ internal static Dictionary ConvertYamlCodeBlock(string yamlCodeB { if (string.IsNullOrEmpty(yamlCodeBlock) || yamlCodeBlockSource == null) { - return new Dictionary(); + return []; } using var reader = new StringReader(yamlCodeBlock); @@ -202,7 +202,7 @@ private MarkdownDocument CreateDocument(MarkdownPropertyModel model) private static Dictionary CreateDictionaryObject() { - return new Dictionary(); + return []; } private static List CreateDictionaryArrayObject(OPathSegment segment) diff --git a/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs b/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs index 2dc08df726d..04744dd0e43 100644 --- a/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs +++ b/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs @@ -79,7 +79,7 @@ public static void AddOrUpdateFragmentEntity(this Dictionary(), + Properties = [], Metadata = metadata }; fragments.Add(uid, value); diff --git a/src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs b/src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs index 08f1c03e0c0..e8fef8289cf 100644 --- a/src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs +++ b/src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs @@ -10,7 +10,7 @@ public sealed class YamlCodeBlockRule : IOverwriteBlockRule { public string TokenName => "YamlCodeBlock"; - private static readonly List _allowedLanguages = new() { "yaml", "yml" }; + private static readonly List _allowedLanguages = ["yaml", "yml"]; public bool Parse(Block block, out string value) { diff --git a/src/Docfx.Build.RestApi/BuildRestApiDocument.cs b/src/Docfx.Build.RestApi/BuildRestApiDocument.cs index 621072c8990..8e2b79feafb 100644 --- a/src/Docfx.Build.RestApi/BuildRestApiDocument.cs +++ b/src/Docfx.Build.RestApi/BuildRestApiDocument.cs @@ -15,7 +15,7 @@ namespace Docfx.Build.RestApi; [Export(nameof(RestApiDocumentProcessor), typeof(IDocumentBuildStep))] public class BuildRestApiDocument : BuildReferenceDocumentBase { - private static readonly HashSet MarkupKeys = new() { "description" }; + private static readonly HashSet MarkupKeys = ["description"]; public override string Name => nameof(BuildRestApiDocument); diff --git a/src/Docfx.Build.RestApi/Swagger/InfoObject.cs b/src/Docfx.Build.RestApi/Swagger/InfoObject.cs index f599720bf85..5248b10b8e0 100644 --- a/src/Docfx.Build.RestApi/Swagger/InfoObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/InfoObject.cs @@ -32,5 +32,5 @@ public class InfoObject [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary PatternedObjects { get; set; } = new(); + public Dictionary PatternedObjects { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs index 6219f6b225d..087513a2e3c 100644 --- a/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs @@ -7,7 +7,7 @@ internal class SwaggerArray : SwaggerObjectBase { public override SwaggerObjectType ObjectType => SwaggerObjectType.Array; - public List Array { get; set; } = new(); + public List Array { get; set; } = []; public override SwaggerObjectBase Clone() { diff --git a/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs index 397971ea2ce..58fabf90f16 100644 --- a/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs @@ -7,7 +7,7 @@ internal class SwaggerObject : SwaggerObjectBase { public override SwaggerObjectType ObjectType => SwaggerObjectType.Object; - public Dictionary Dictionary { get; set; } = new(); + public Dictionary Dictionary { get; set; } = []; public override SwaggerObjectBase Clone() { diff --git a/src/Docfx.Build.RestApi/Swagger/OperationObject.cs b/src/Docfx.Build.RestApi/Swagger/OperationObject.cs index 070d2bc56ca..060977a85ab 100644 --- a/src/Docfx.Build.RestApi/Swagger/OperationObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/OperationObject.cs @@ -49,5 +49,5 @@ public class OperationObject [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/Swagger/ParameterObject.cs b/src/Docfx.Build.RestApi/Swagger/ParameterObject.cs index b09e5759b01..3e547b8d9b7 100644 --- a/src/Docfx.Build.RestApi/Swagger/ParameterObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/ParameterObject.cs @@ -23,5 +23,5 @@ public class ParameterObject [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/Swagger/PathItemObject.cs b/src/Docfx.Build.RestApi/Swagger/PathItemObject.cs index 6071499c396..d50da2c9583 100644 --- a/src/Docfx.Build.RestApi/Swagger/PathItemObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/PathItemObject.cs @@ -25,5 +25,5 @@ public class PathItemObject [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/Swagger/ResponseObject.cs b/src/Docfx.Build.RestApi/Swagger/ResponseObject.cs index fd098a1a225..a4affc6a5b9 100644 --- a/src/Docfx.Build.RestApi/Swagger/ResponseObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/ResponseObject.cs @@ -31,5 +31,5 @@ public class ResponseObject [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs b/src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs index fa68585d5a8..f4359c2829c 100644 --- a/src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs +++ b/src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs @@ -95,5 +95,5 @@ public class SwaggerModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/Swagger/TagItemObject.cs b/src/Docfx.Build.RestApi/Swagger/TagItemObject.cs index f632850f081..ba48519bc88 100644 --- a/src/Docfx.Build.RestApi/Swagger/TagItemObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/TagItemObject.cs @@ -37,5 +37,5 @@ public class TagItemObject [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.RestApi/SwaggerModelConverter.cs b/src/Docfx.Build.RestApi/SwaggerModelConverter.cs index 72d25d62495..9a83e692a9b 100644 --- a/src/Docfx.Build.RestApi/SwaggerModelConverter.cs +++ b/src/Docfx.Build.RestApi/SwaggerModelConverter.cs @@ -25,9 +25,9 @@ public static RestApiRootItemViewModel FromSwaggerModel(SwaggerModel swagger) Metadata = swagger.Metadata, Description = swagger.Description, Summary = swagger.Summary, - Children = new List(), + Children = [], Raw = swagger.Raw, - Tags = new List() + Tags = [] }; if (swagger.Tags != null) { diff --git a/src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs b/src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs index 3dfa1ad58c3..6a9422ed41b 100644 --- a/src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs +++ b/src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs @@ -142,7 +142,7 @@ BaseSchema ResolveRefCore(BaseSchema schema) private static bool CheckOverwriteAbility(BaseSchema schema) { - return CheckOverwriteAbilityCore(schema, new Dictionary()); + return CheckOverwriteAbilityCore(schema, []); } private static bool CheckOverwriteAbilityCore(BaseSchema schema, Dictionary cache) diff --git a/src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs b/src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs index ea62b760e06..fca8be66e26 100644 --- a/src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs +++ b/src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs @@ -24,7 +24,7 @@ public JsonPointer(string raw) throw new InvalidJsonPointerException($"Invalid json pointer \"{raw}\""); } - _parts = _isRoot ? Array.Empty() : raw.Substring(1).Split(Splitter[0]); + _parts = _isRoot ? [] : raw.Substring(1).Split(Splitter[0]); _raw = raw; } @@ -32,7 +32,7 @@ public JsonPointer(string raw) public JsonPointer(string[] parts) { _isRoot = parts == null || parts.Length == 0; - _parts = parts ?? Array.Empty(); + _parts = parts ?? []; _raw = Splitter + string.Join(Splitter, parts); } diff --git a/src/Docfx.Build.SchemaDriven/Processors/Helper.cs b/src/Docfx.Build.SchemaDriven/Processors/Helper.cs index 400c17da3b5..6c0e3e3d2b5 100644 --- a/src/Docfx.Build.SchemaDriven/Processors/Helper.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/Helper.cs @@ -21,7 +21,7 @@ public static void AddFileLinkSource(this Dictionary sources)) { - sources = new List(); + sources = []; fileLinkSources[file] = sources; } sources.Add(source); @@ -31,7 +31,7 @@ public static void SetOriginalContentFile(this IProcessContext context, string p { if (!context.PathProperties.TryGetValue(path, out var properties)) { - properties = context.PathProperties[path] = new Dictionary(); + properties = context.PathProperties[path] = []; } properties[ContentOriginalFileKeyName] = file; diff --git a/src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs b/src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs index 4fe3d6bc2fd..3d9054ede99 100644 --- a/src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs @@ -51,12 +51,12 @@ public ProcessContext(IHostService hs, FileModel fm, IDocumentBuildContext bc, M _model = fm; OriginalFileAndType = fm.OriginalFileAndType; FileAndType = fm.FileAndType; - Uids = new List(); - UidLinkSources = new Dictionary>(); - FileLinkSources = new Dictionary>(); - Dependency = new HashSet(); - XRefSpecs = new List(); - ExternalXRefSpecs = new List(); + Uids = []; + UidLinkSources = []; + FileLinkSources = []; + Dependency = []; + XRefSpecs = []; + ExternalXRefSpecs = []; Metadata = new Dictionary(); if (((IDictionary)fm.Properties).TryGetValue("PathProperties", out var properties)) { @@ -65,7 +65,7 @@ public ProcessContext(IHostService hs, FileModel fm, IDocumentBuildContext bc, M } else { - fm.Properties.PathProperties = PathProperties = new Dictionary>(); + fm.Properties.PathProperties = PathProperties = []; } Host = hs; diff --git a/src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs index a61b9d6f7f2..f2fe10dc811 100644 --- a/src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs @@ -61,7 +61,7 @@ private static void AddUidLinkSource(Dictionary> ui var file = source.Target; if (!uidLinkSources.TryGetValue(file, out List sources)) { - sources = new List(); + sources = []; uidLinkSources[file] = sources; } sources.Add(source); diff --git a/src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs index a6df05fedd5..a101c6bb28f 100644 --- a/src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs @@ -62,7 +62,7 @@ public object Interpret(BaseSchema schema, object value, IProcessContext context Uid = uid }; - var parts = schema.XrefProperties ?? new List { "name", "fullName" }; + var parts = schema.XrefProperties ?? ["name", "fullName"]; var root = context.GetModel(); foreach (var part in parts.Distinct()) { diff --git a/src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs b/src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs index 4d4aa003a70..0a8ff8d107b 100644 --- a/src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs +++ b/src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs @@ -10,7 +10,7 @@ namespace Docfx.Build.SchemaDriven; public class ValidateFragmentsHandler : ISchemaFragmentsHandler { - private readonly Dictionary _isMissingUidsLogged = new(); + private readonly Dictionary _isMissingUidsLogged = []; public void HandleUid(string uidKey, YamlMappingNode node, Dictionary fragments, BaseSchema schema, string oPathPrefix, string uid) { diff --git a/src/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs b/src/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs index dacd4b03c3a..021a9aabac4 100644 --- a/src/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs +++ b/src/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs @@ -82,7 +82,7 @@ private static Tuple, TreeItemRestructure> SplitModelToOperation // Only keep not tagged children in root model var groupedUids = splittedModels.SelectMany(m => m.Uids).Select(u => u.Name).ToList(); - content.Tags = new List(); + content.Tags = []; content.Children = content.Children.Where(child => !groupedUids.Contains(child.Uid)).ToList(); content.Metadata["_isSplittedByTag"] = true; model.Content = content; @@ -118,7 +118,7 @@ private static IEnumerable GenerateTagModels(RestApiRo Description = tag.Description, Documentation = tag.Documentation, Children = tagChildren, - Tags = new List(), + Tags = [], Metadata = MergeTagMetadata(root, tag) }; } @@ -131,7 +131,7 @@ private static IEnumerable GetChildrenByTag(RestApiRo var children = root.Children.Where(child => child.Tags != null && tagName == child.Tags.FirstOrDefault()); foreach (var child in children) { - child.Tags = new List(); + child.Tags = []; yield return child; } } diff --git a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs index f5284e1a38d..58a24f7b476 100644 --- a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs @@ -175,5 +175,5 @@ public class ApiBuildOutput [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs index d9963944c0f..f20e4133064 100644 --- a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs @@ -24,5 +24,5 @@ public class ApiExceptionInfoBuildOutput [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs index 17666ce6e3f..eb063276c24 100644 --- a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs @@ -30,5 +30,5 @@ public class ApiInheritanceTreeBuildOutput [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs index 687702098cc..eaf537642ba 100644 --- a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs @@ -45,5 +45,5 @@ public class ApiNames [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs index f9e9419457b..56f95c95805 100644 --- a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs @@ -39,5 +39,5 @@ public class ApiParameterBuildOutput [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs index 70490d78d8c..901b101b529 100644 --- a/src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs @@ -35,5 +35,5 @@ public class ApiSyntaxBuildOutput [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Build.UniversalReference/ModelConverter.cs b/src/Docfx.Build.UniversalReference/ModelConverter.cs index e0bbd94a4e8..9d09fc18c52 100644 --- a/src/Docfx.Build.UniversalReference/ModelConverter.cs +++ b/src/Docfx.Build.UniversalReference/ModelConverter.cs @@ -31,7 +31,7 @@ public static ApiBuildOutput ToApiBuildOutput(PageViewModel model) Dictionary references = null; if (model.References != null) { - references = new Dictionary(); + references = []; foreach (var reference in model.References .Where(r => !string.IsNullOrEmpty(r.Uid)) .Select(ToReferenceApiNames)) @@ -44,7 +44,7 @@ public static ApiBuildOutput ToApiBuildOutput(PageViewModel model) var childUids = model.Items[0].Children ?? Enumerable.Empty() .Concat(model.Items[0].ChildrenInDevLangs != null ? model.Items[0].ChildrenInDevLangs.SelectMany(kv => kv.Value) - : Enumerable.Empty()) + : []) .Distinct(); var children = new Dictionary(); if (model.References != null) @@ -388,7 +388,7 @@ public static List> ToApiListInDevLangs(T defaultValu } var result = new List>(); - values ??= new SortedList(); + values ??= []; foreach (var language in supportedLanguages) { result.Add(new ApiLanguageValuePair diff --git a/src/Docfx.Build/CompilePhaseHandler.cs b/src/Docfx.Build/CompilePhaseHandler.cs index 71da01dbaf2..e766f87abb9 100644 --- a/src/Docfx.Build/CompilePhaseHandler.cs +++ b/src/Docfx.Build/CompilePhaseHandler.cs @@ -10,7 +10,7 @@ namespace Docfx.Build.Engine; internal class CompilePhaseHandler { - private readonly List _restructions = new(); + private readonly List _restructions = []; public DocumentBuildContext Context { get; } diff --git a/src/Docfx.Build/DocumentBuildContext.cs b/src/Docfx.Build/DocumentBuildContext.cs index 9f8e0ac58f0..f38bedb442d 100644 --- a/src/Docfx.Build/DocumentBuildContext.cs +++ b/src/Docfx.Build/DocumentBuildContext.cs @@ -126,7 +126,7 @@ from u in xrefMaps public ConcurrentDictionary> TocMap { get; } = new(FilePathComparer.OSPlatformSensitiveStringComparer); - public HashSet XRef { get; } = new(); + public HashSet XRef { get; } = []; public string RootTocPath { get; } @@ -136,7 +136,7 @@ from u in xrefMaps public CancellationToken CancellationToken { get; } = CancellationToken.None; - internal ConcurrentBag ManifestItems { get; } = new(); + internal ConcurrentBag ManifestItems { get; } = []; private ConcurrentDictionary ExternalXRefSpec { get; } = new(); diff --git a/src/Docfx.Build/DocumentBuilder.cs b/src/Docfx.Build/DocumentBuilder.cs index f2ef6f51204..33e141fc275 100644 --- a/src/Docfx.Build/DocumentBuilder.cs +++ b/src/Docfx.Build/DocumentBuilder.cs @@ -26,7 +26,7 @@ public class DocumentBuilder : IDisposable public DocumentBuilder(IEnumerable assemblies, ImmutableArray postProcessorNames) { Logger.LogVerbose("Loading plug-ins and post-processors..."); - var assemblyList = assemblies?.ToList() ?? new List(); + var assemblyList = assemblies?.ToList() ?? []; assemblyList.Add(typeof(DocumentBuilder).Assembly); _container = CompositionContainer.GetContainer(assemblyList); _container.SatisfyImports(this); diff --git a/src/Docfx.Build/FileCollection.cs b/src/Docfx.Build/FileCollection.cs index 48b557d0ee3..d330383a373 100644 --- a/src/Docfx.Build/FileCollection.cs +++ b/src/Docfx.Build/FileCollection.cs @@ -8,7 +8,7 @@ namespace Docfx.Build.Engine; public class FileCollection { - private readonly List _files = new(); + private readonly List _files = []; public int Count => _files.Count; diff --git a/src/Docfx.Build/HostService.cs b/src/Docfx.Build/HostService.cs index f71caf153f9..409baa2dd11 100644 --- a/src/Docfx.Build/HostService.cs +++ b/src/Docfx.Build/HostService.cs @@ -12,7 +12,7 @@ namespace Docfx.Build.Engine; [Export(typeof(IHostService))] class HostService : IHostService { - private Dictionary> _uidIndex = new(); + private Dictionary> _uidIndex = []; public TemplateProcessor Template { get; set; } @@ -65,7 +65,7 @@ public ImmutableList LookupByUid(string uid) { return result.ToImmutableList(); } - return ImmutableList.Empty; + return []; } public MarkupResult Markup(string markdown, FileAndType ft) diff --git a/src/Docfx.Build/LinkPhaseHandler.cs b/src/Docfx.Build/LinkPhaseHandler.cs index 5957e92252d..519c5746b73 100644 --- a/src/Docfx.Build/LinkPhaseHandler.cs +++ b/src/Docfx.Build/LinkPhaseHandler.cs @@ -35,7 +35,7 @@ public void Handle(List hostServices, int maxParallelism) private void Save(List hostServices, int maxParallelism) { - _manifestWithContext = new List(); + _manifestWithContext = []; foreach (var hostService in hostServices) { _manifestWithContext.AddRange(ExportManifest(hostService)); diff --git a/src/Docfx.Build/ManifestProcessor.cs b/src/Docfx.Build/ManifestProcessor.cs index e135b74a317..37e60352b6f 100644 --- a/src/Docfx.Build/ManifestProcessor.cs +++ b/src/Docfx.Build/ManifestProcessor.cs @@ -29,7 +29,7 @@ public ManifestProcessor(List manifestWithContext, Docu // E.g. we can set TOC model to be globally shared by every data model // Make sure it is single thread _globalMetadata = _templateProcessor.Tokens?.ToDictionary(pair => pair.Key, pair => (object)pair.Value) - ?? new Dictionary(); + ?? []; } public void Process() diff --git a/src/Docfx.Build/MarkupResultUtility.cs b/src/Docfx.Build/MarkupResultUtility.cs index 53a642c18cb..754c58e4860 100644 --- a/src/Docfx.Build/MarkupResultUtility.cs +++ b/src/Docfx.Build/MarkupResultUtility.cs @@ -109,7 +109,7 @@ where string.Equals(attr.Name, "src", StringComparison.OrdinalIgnoreCase) || if (!fileLinkSources.TryGetValue(file, out List sources)) { - sources = new List(); + sources = []; fileLinkSources[file] = sources; } sources.Add(new LinkSourceInfo diff --git a/src/Docfx.Build/PostProcessors/HtmlPostProcessor.cs b/src/Docfx.Build/PostProcessors/HtmlPostProcessor.cs index a052eaed954..ad06f41dc91 100644 --- a/src/Docfx.Build/PostProcessors/HtmlPostProcessor.cs +++ b/src/Docfx.Build/PostProcessors/HtmlPostProcessor.cs @@ -15,7 +15,7 @@ sealed class HtmlPostProcessor : IPostProcessor { private static readonly UTF8Encoding Utf8EncodingWithoutBom = new(false); - public List Handlers { get; } = new(); + public List Handlers { get; } = []; private bool _handlerInitialized; diff --git a/src/Docfx.Build/PostProcessors/ValidateBookmark.cs b/src/Docfx.Build/PostProcessors/ValidateBookmark.cs index 04199ecbe4a..d3e4d46aabb 100644 --- a/src/Docfx.Build/PostProcessors/ValidateBookmark.cs +++ b/src/Docfx.Build/PostProcessors/ValidateBookmark.cs @@ -12,7 +12,7 @@ namespace Docfx.Build.Engine; sealed class ValidateBookmark : HtmlDocumentHandler { private static readonly string XPathTemplate = "//*/@{0}"; - private static readonly HashSet WhiteList = new() { "top" }; + private static readonly HashSet WhiteList = ["top"]; /// /// bookmarks mapping from output file -> bookmarks /// diff --git a/src/Docfx.Build/ResourceFileReaders/LocalFileResourceReader.cs b/src/Docfx.Build/ResourceFileReaders/LocalFileResourceReader.cs index 9b38e384863..21a7f8b44c4 100644 --- a/src/Docfx.Build/ResourceFileReaders/LocalFileResourceReader.cs +++ b/src/Docfx.Build/ResourceFileReaders/LocalFileResourceReader.cs @@ -48,7 +48,7 @@ private IEnumerable GetFiles(string directory, string searchPattern, int { if (searchLevel < 1) { - return Enumerable.Empty(); + return []; } var files = Directory.GetFiles(directory, searchPattern, SearchOption.TopDirectoryOnly); var dirs = Directory.GetDirectories(directory); diff --git a/src/Docfx.Build/SingleDocumentBuilder.cs b/src/Docfx.Build/SingleDocumentBuilder.cs index 5b973455976..09c7149b840 100644 --- a/src/Docfx.Build/SingleDocumentBuilder.cs +++ b/src/Docfx.Build/SingleDocumentBuilder.cs @@ -30,8 +30,8 @@ public static ImmutableList Build( processor, parameters.Files.EnumerateFiles()); - new CompilePhaseHandler(null).Handle(new List { hostService }, parameters.MaxParallelism); - new LinkPhaseHandler(null, null).Handle(new List { hostService }, parameters.MaxParallelism); + new CompilePhaseHandler(null).Handle([hostService], parameters.MaxParallelism); + new LinkPhaseHandler(null, null).Handle([hostService], parameters.MaxParallelism); return hostService.Models; } @@ -74,13 +74,13 @@ public Manifest Build(DocumentBuildParameters parameters, IMarkdownService markd Xrefmap = ExportXRefMap(parameters, context), SourceBasePath = StringExtension.ToNormalizedPath(EnvironmentContext.BaseDirectory), }; - manifest.Groups = new List - { + manifest.Groups = + [ new(parameters.GroupInfo) { XRefmap = (string)manifest.Xrefmap } - }; + ]; return manifest; } @@ -102,7 +102,7 @@ from p in (from processor in processors where priority != ProcessingPriority.NotSupported group processor by priority into ps orderby ps.Key descending - select ps.ToList()).FirstOrDefault() ?? new List { null } + select ps.ToList()).FirstOrDefault() ?? [null] group file by p).ToList(); var toHandleItems = files.Where(s => s.Key != null); diff --git a/src/Docfx.Build/TableOfContents/BuildTocDocument.cs b/src/Docfx.Build/TableOfContents/BuildTocDocument.cs index d2c7b63318f..b395e758cd0 100644 --- a/src/Docfx.Build/TableOfContents/BuildTocDocument.cs +++ b/src/Docfx.Build/TableOfContents/BuildTocDocument.cs @@ -84,7 +84,7 @@ void UpdateDependencies(HashSet linkTos, Dictionary> dict, string path, LinkSourceInfo source) - => dict[path] = dict.TryGetValue(path, out var sources) ? sources.Add(source) : ImmutableList.Create(source); + => dict[path] = dict.TryGetValue(path, out var sources) ? sources.Add(source) : [source]; private static LinkSourceInfo GetLinkSourceInfo(string path, string anchor, string source, string includedFrom) { diff --git a/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs b/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs index cbd396e8fbc..db4a3728e6c 100644 --- a/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs +++ b/src/Docfx.Build/TableOfContents/MarkdownTocReader.cs @@ -68,7 +68,7 @@ internal sealed class InitialState : ParseState public InitialState(string filePath) { Parents = new Stack(); - Root = new(); + Root = []; FilePath = filePath; } public override int Level => 0; @@ -144,7 +144,7 @@ protected ParseState ApplyCore(ParseState state, int level, string text, string if (state.Parents.Count > 0) { var parent = state.Parents.Peek(); - parent.Items ??= new(); + parent.Items ??= []; parent.Items.Add(item); } else diff --git a/src/Docfx.Build/TableOfContents/TocResolver.cs b/src/Docfx.Build/TableOfContents/TocResolver.cs index 24cec8aa4d3..9c2f43e4944 100644 --- a/src/Docfx.Build/TableOfContents/TocResolver.cs +++ b/src/Docfx.Build/TableOfContents/TocResolver.cs @@ -11,7 +11,7 @@ namespace Docfx.Build.TableOfContents; class TocResolver { private readonly Dictionary _collection; - private readonly Dictionary _notInProjectTocCache = new(); + private readonly Dictionary _notInProjectTocCache = []; public TocResolver(Dictionary collection) { diff --git a/src/Docfx.Build/TableOfContents/TocRestructureUtility.cs b/src/Docfx.Build/TableOfContents/TocRestructureUtility.cs index 1ce0abf42c4..464b9ea8f67 100644 --- a/src/Docfx.Build/TableOfContents/TocRestructureUtility.cs +++ b/src/Docfx.Build/TableOfContents/TocRestructureUtility.cs @@ -15,7 +15,7 @@ public static void Restructure(TocItemViewModel toc, IList { return; } - RestructureCore(toc, new(), restructures); + RestructureCore(toc, [], restructures); } private static void RestructureCore(TocItemViewModel item, List items, IList restructures) @@ -91,7 +91,7 @@ private static void RestructureItem(TocItemViewModel item, List unresolvedXRefs) { - unresolvedXRefs = new List(); + unresolvedXRefs = []; using (var stream = EnvironmentContext.FileAbstractLayer.Create(destFilePath)) { using var sw = new StreamWriter(stream); @@ -292,7 +292,7 @@ private void TransformHtml(IDocumentBuildContext context, string html, string so HtmlDocument document = new(); document.LoadHtml(html); - unresolvedXRefs = new List(); + unresolvedXRefs = []; TransformXrefInHtml(context, sourceFilePath, destFilePath, document.DocumentNode, unresolvedXRefs); TransformLinkInHtml(context, sourceFilePath, destFilePath, document.DocumentNode); diff --git a/src/Docfx.Build/XRefMaps/XRefArchive.cs b/src/Docfx.Build/XRefMaps/XRefArchive.cs index 893dbae35aa..b63ad979c3c 100644 --- a/src/Docfx.Build/XRefMaps/XRefArchive.cs +++ b/src/Docfx.Build/XRefMaps/XRefArchive.cs @@ -71,7 +71,7 @@ public static XRefArchive Open(string file, XRefArchiveMode mode) } fs = File.Create(file); archive = new ZipArchive(fs, ZipArchiveMode.Update); - entries = new List(); + entries = []; break; default: throw new ArgumentOutOfRangeException(nameof(mode)); @@ -299,7 +299,7 @@ public void Dispose() bool IXRefContainer.IsEmbeddedRedirections => true; - IEnumerable IXRefContainer.GetRedirections() => Enumerable.Empty(); + IEnumerable IXRefContainer.GetRedirections() => []; public IXRefContainerReader GetReader() { diff --git a/src/Docfx.Build/XRefMaps/XRefCollection.cs b/src/Docfx.Build/XRefMaps/XRefCollection.cs index 357a313bb99..b1c3eabf1df 100644 --- a/src/Docfx.Build/XRefMaps/XRefCollection.cs +++ b/src/Docfx.Build/XRefMaps/XRefCollection.cs @@ -29,8 +29,8 @@ public Task GetReaderAsync(string baseFolder, IReadOnlyLis private sealed class ReaderCreator { private readonly ImmutableList _uris; - private readonly HashSet _set = new(); - private readonly Dictionary, Uri> _processing = new(); + private readonly HashSet _set = []; + private readonly Dictionary, Uri> _processing = []; private readonly XRefMapDownloader _downloader; public ReaderCreator(ImmutableList uris, int maxParallelism, string baseFolder, IReadOnlyList fallbackFolders) diff --git a/src/Docfx.Build/XRefMaps/XRefMap.cs b/src/Docfx.Build/XRefMaps/XRefMap.cs index f376109837a..1699465440f 100644 --- a/src/Docfx.Build/XRefMaps/XRefMap.cs +++ b/src/Docfx.Build/XRefMaps/XRefMap.cs @@ -61,7 +61,7 @@ public class XRefMap : IXRefContainer [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Others { get; set; } = new(); + public Dictionary Others { get; set; } = []; public void Sort() { diff --git a/src/Docfx.Common/CompositeDictionary.cs b/src/Docfx.Common/CompositeDictionary.cs index 5415854b216..01b967a6561 100644 --- a/src/Docfx.Common/CompositeDictionary.cs +++ b/src/Docfx.Common/CompositeDictionary.cs @@ -192,7 +192,7 @@ private sealed class Entry public sealed class Builder { - private readonly List _entries = new(); + private readonly List _entries = []; internal Builder() { } diff --git a/src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs b/src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs index 07540ab2245..fe54c58038c 100644 --- a/src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs +++ b/src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs @@ -13,7 +13,7 @@ private EmptyFileReader() public PathMapping? FindFile(RelativePath file) => null; - public IEnumerable EnumerateFiles() => Enumerable.Empty(); + public IEnumerable EnumerateFiles() => []; public string GetExpectedPhysicalPath(RelativePath file) => null; } diff --git a/src/Docfx.Common/FileMapping.cs b/src/Docfx.Common/FileMapping.cs index 451e2288289..9b89ecf8a7a 100644 --- a/src/Docfx.Common/FileMapping.cs +++ b/src/Docfx.Common/FileMapping.cs @@ -28,7 +28,7 @@ namespace Docfx; [System.Text.Json.Serialization.JsonConverter(typeof(FileMappingConverter.SystemTextJsonConverter))] public class FileMapping { - private readonly List _items = new(); + private readonly List _items = []; /// /// Flags to distinguish items are expanded or not. diff --git a/src/Docfx.Common/Json/NewtonsoftJson/ConvertToObjectHelper.cs b/src/Docfx.Common/Json/NewtonsoftJson/ConvertToObjectHelper.cs index 7e05c239676..6605967af4a 100644 --- a/src/Docfx.Common/Json/NewtonsoftJson/ConvertToObjectHelper.cs +++ b/src/Docfx.Common/Json/NewtonsoftJson/ConvertToObjectHelper.cs @@ -76,12 +76,12 @@ public static object ConvertStrongTypeToJObject(object raw) public static object ConvertExpandoObjectToObject(object raw) { - return ConvertExpandoObjectToObjectCore(raw, new Dictionary()); + return ConvertExpandoObjectToObjectCore(raw, []); } public static object ConvertToDynamic(object obj) { - return ConvertToDynamicCore(obj, new Dictionary()); + return ConvertToDynamicCore(obj, []); } private static object ConvertExpandoObjectToObjectCore(object obj, Dictionary cache) diff --git a/src/Docfx.Common/Loggers/CompositeLogListener.cs b/src/Docfx.Common/Loggers/CompositeLogListener.cs index 680c0618568..d6ed964219c 100644 --- a/src/Docfx.Common/Loggers/CompositeLogListener.cs +++ b/src/Docfx.Common/Loggers/CompositeLogListener.cs @@ -6,7 +6,7 @@ namespace Docfx.Common; public class CompositeLogListener : ILoggerListener { private readonly object _sync = new(); - private readonly List _listeners = new(); + private readonly List _listeners = []; public CompositeLogListener() { diff --git a/src/Docfx.Common/ResourcePools/ResourcePoolManager.cs b/src/Docfx.Common/ResourcePools/ResourcePoolManager.cs index 7c4a7ef68cf..d435b6a8cda 100644 --- a/src/Docfx.Common/ResourcePools/ResourcePoolManager.cs +++ b/src/Docfx.Common/ResourcePools/ResourcePoolManager.cs @@ -8,7 +8,7 @@ public class ResourcePoolManager where TResource : class { private readonly object _syncRoot = new(); - private readonly List _resources = new(); + private readonly List _resources = []; private readonly Stack _stack = new(); private readonly Func _creator; private readonly int _maxResourceCount; diff --git a/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs index d1e0f1ebdac..a5443e00417 100644 --- a/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs +++ b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs @@ -74,7 +74,7 @@ private static Dictionary> GetUidEntryMap(ZipArchive zip) { if (!uidEntryMap.TryGetValue(entry.Uid, out List list)) { - list = new List(); + list = []; uidEntryMap[entry.Uid] = list; } list.Add(entry.FullName); diff --git a/src/Docfx.DataContracts.Common/ReferenceViewModel.cs b/src/Docfx.DataContracts.Common/ReferenceViewModel.cs index 7810640f850..96ca044f8de 100644 --- a/src/Docfx.DataContracts.Common/ReferenceViewModel.cs +++ b/src/Docfx.DataContracts.Common/ReferenceViewModel.cs @@ -50,7 +50,7 @@ public class ReferenceViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Name)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList NameInDevLangs { get; private set; } = new(); + public SortedList NameInDevLangs { get; private set; } = []; [YamlMember(Alias = Constants.PropertyName.NameWithType)] [JsonProperty(Constants.PropertyName.NameWithType)] @@ -60,7 +60,7 @@ public class ReferenceViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.NameWithType)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList NameWithTypeInDevLangs { get; private set; } = new(); + public SortedList NameWithTypeInDevLangs { get; private set; } = []; [YamlMember(Alias = Constants.PropertyName.FullName)] [JsonProperty(Constants.PropertyName.FullName)] @@ -70,17 +70,17 @@ public class ReferenceViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.FullName)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList FullNameInDevLangs { get; private set; } = new(); + public SortedList FullNameInDevLangs { get; private set; } = []; [ExtensibleMember(Constants.ExtensionMemberPrefix.Spec)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> Specs { get; private set; } = new(); + public SortedList> Specs { get; private set; } = []; [ExtensibleMember] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public Dictionary Additional { get; private set; } = new(); + public Dictionary Additional { get; private set; } = []; [EditorBrowsable(EditorBrowsableState.Never)] [YamlIgnore] diff --git a/src/Docfx.DataContracts.Common/TocItemViewModel.cs b/src/Docfx.DataContracts.Common/TocItemViewModel.cs index 81937c34265..3611d348b48 100644 --- a/src/Docfx.DataContracts.Common/TocItemViewModel.cs +++ b/src/Docfx.DataContracts.Common/TocItemViewModel.cs @@ -116,7 +116,7 @@ public class TocItemViewModel [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; [EditorBrowsable(EditorBrowsableState.Never)] [YamlIgnore] diff --git a/src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs b/src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs index 71ebce5c825..2b1900799e2 100644 --- a/src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs @@ -58,5 +58,5 @@ public class RestApiItemViewModelBase : IOverwriteDocumentViewModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs index 2211bbc46fc..2407dad082a 100644 --- a/src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs @@ -25,5 +25,5 @@ public class RestApiParameterViewModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs index a2fe4118d8e..b8823d01ef9 100644 --- a/src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs @@ -35,5 +35,5 @@ public class RestApiResponseViewModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs index 5d095f314a6..b76ebe77298 100644 --- a/src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs @@ -48,5 +48,5 @@ public class RestApiTagViewModel : IOverwriteDocumentViewModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/ApiParameter.cs b/src/Docfx.DataContracts.UniversalReference/ApiParameter.cs index 2f367ac46ca..ec59c309591 100644 --- a/src/Docfx.DataContracts.UniversalReference/ApiParameter.cs +++ b/src/Docfx.DataContracts.UniversalReference/ApiParameter.cs @@ -48,5 +48,5 @@ public class ApiParameter [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs b/src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs index 09f70d2c4b0..29389305a71 100644 --- a/src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs @@ -26,5 +26,5 @@ public class ArgumentInfo [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs b/src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs index 073941c6215..faf7f48f60d 100644 --- a/src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs @@ -36,5 +36,5 @@ public class AttributeInfo [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs b/src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs index c7fad174904..ca82920f156 100644 --- a/src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs @@ -29,5 +29,5 @@ public class ExceptionInfo [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs b/src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs index 6d4cfc1fa15..467782f95af 100644 --- a/src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs +++ b/src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs @@ -32,5 +32,5 @@ public class InheritanceTree [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs b/src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs index 7e81cbf246f..eb27364d38c 100644 --- a/src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs +++ b/src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs @@ -46,7 +46,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Parent)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList ParentInDevLangs { get; set; } = new(); + public SortedList ParentInDevLangs { get; set; } = []; [YamlMember(Alias = "package")] [JsonProperty("package")] @@ -57,7 +57,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember("package" + Constants.PrefixSeparator)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList PackageInDevLangs { get; set; } = new(); + public SortedList PackageInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.Children)] [MergeOption(MergeOption.Ignore)] // todo : merge more children @@ -69,7 +69,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Children)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> ChildrenInDevLangs { get; set; } = new(); + public SortedList> ChildrenInDevLangs { get; set; } = []; /// /// item's link URL @@ -93,7 +93,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Name)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList Names { get; set; } = new(); + public SortedList Names { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.NameWithType)] [JsonProperty(Constants.PropertyName.NameWithType)] @@ -103,7 +103,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.NameWithType)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList NamesWithType { get; set; } = new(); + public SortedList NamesWithType { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.FullName)] [JsonProperty(Constants.PropertyName.FullName)] @@ -113,7 +113,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.FullName)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList FullNames { get; set; } = new(); + public SortedList FullNames { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.Type)] [JsonProperty(Constants.PropertyName.Type)] @@ -131,7 +131,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Source)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList SourceInDevLangs { get; set; } = new(); + public SortedList SourceInDevLangs { get; set; } = []; /// /// item's documentation's source detail @@ -151,7 +151,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Assemblies)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> AssemblyNameListInDevLangs { get; set; } = new(); + public SortedList> AssemblyNameListInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.Namespace)] [JsonProperty(Constants.PropertyName.Namespace)] @@ -162,7 +162,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Namespace)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList NamespaceNameInDevLangs { get; set; } = new(); + public SortedList NamespaceNameInDevLangs { get; set; } = []; /// /// item's summary @@ -213,7 +213,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Overridden)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList OverriddenInDevLangs { get; set; } = new(); + public SortedList OverriddenInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.Overload)] [JsonProperty(Constants.PropertyName.Overload)] @@ -224,7 +224,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Overload)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList OverloadInDevLangs { get; set; } = new(); + public SortedList OverloadInDevLangs { get; set; } = []; [YamlMember(Alias = "exceptions")] [JsonProperty("exceptions")] @@ -234,7 +234,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Exceptions)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> ExceptionsInDevLangs { get; set; } = new(); + public SortedList> ExceptionsInDevLangs { get; set; } = []; [YamlMember(Alias = "seealso")] [JsonProperty("seealso")] @@ -278,12 +278,12 @@ public class ItemViewModel : IOverwriteDocumentViewModel [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] [UniqueIdentityReference] - public List InheritanceUidReference => GetInheritanceUidReference(Inheritance)?.ToList() ?? new List(); + public List InheritanceUidReference => GetInheritanceUidReference(Inheritance)?.ToList() ?? []; [ExtensibleMember(Constants.ExtensionMemberPrefix.Inheritance)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> InheritanceInDevLangs { get; set; } = new(); + public SortedList> InheritanceInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.DerivedClasses)] [MergeOption(MergeOption.Ignore)] @@ -295,7 +295,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.DerivedClasses)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> DerivedClassesInDevLangs { get; set; } = new(); + public SortedList> DerivedClassesInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.Implements)] [MergeOption(MergeOption.Ignore)] // todo : merge more children @@ -307,7 +307,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Implements)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> ImplementsInDevLangs { get; set; } = new(); + public SortedList> ImplementsInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.InheritedMembers)] [MergeOption(MergeOption.Ignore)] // todo : merge more children @@ -319,7 +319,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.InheritedMembers)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> InheritedMembersInDevLangs { get; set; } = new(); + public SortedList> InheritedMembersInDevLangs { get; set; } = []; [YamlMember(Alias = Constants.PropertyName.ExtensionMethods)] [MergeOption(MergeOption.Ignore)] // todo : merge more children @@ -331,7 +331,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.ExtensionMethods)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> ExtensionMethodsInDevLangs { get; set; } = new(); + public SortedList> ExtensionMethodsInDevLangs { get; set; } = []; /// /// item's conceptual @@ -352,13 +352,13 @@ public class ItemViewModel : IOverwriteDocumentViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Platform)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList> PlatformInDevLangs { get; set; } = new(); + public SortedList> PlatformInDevLangs { get; set; } = []; [ExtensibleMember] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; [EditorBrowsable(EditorBrowsableState.Never)] [YamlIgnore] diff --git a/src/Docfx.DataContracts.UniversalReference/LinkInfo.cs b/src/Docfx.DataContracts.UniversalReference/LinkInfo.cs index 7a18c78acfb..a5ad351e19a 100644 --- a/src/Docfx.DataContracts.UniversalReference/LinkInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/LinkInfo.cs @@ -39,7 +39,7 @@ public class LinkInfo [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } public enum LinkType diff --git a/src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs b/src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs index 112111323d2..ae2f0b8eed2 100644 --- a/src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs @@ -31,5 +31,5 @@ public class NamedArgumentInfo [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/PageViewModel.cs b/src/Docfx.DataContracts.UniversalReference/PageViewModel.cs index dbe7b09c8d1..efb67ce29c6 100644 --- a/src/Docfx.DataContracts.UniversalReference/PageViewModel.cs +++ b/src/Docfx.DataContracts.UniversalReference/PageViewModel.cs @@ -15,14 +15,14 @@ public class PageViewModel [YamlMember(Alias = "items")] [JsonProperty("items")] [JsonPropertyName("items")] - public List Items { get; set; } = new(); + public List Items { get; set; } = []; [YamlMember(Alias = "references")] [JsonProperty("references")] [JsonPropertyName("references")] [UniqueIdentityReferenceIgnore] [MarkdownContentIgnore] - public List References { get; set; } = new(); + public List References { get; set; } = []; [YamlMember(Alias = "shouldSkipMarkup")] [JsonProperty("shouldSkipMarkup")] @@ -32,5 +32,5 @@ public class PageViewModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs b/src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs index 34c11f2770b..6ddde79102f 100644 --- a/src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs +++ b/src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs @@ -47,13 +47,13 @@ public class SyntaxDetailViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Return)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList ReturnInDevLangs { get; set; } = new(); + public SortedList ReturnInDevLangs { get; set; } = []; [ExtensibleMember] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; [EditorBrowsable(EditorBrowsableState.Never)] [YamlIgnore] diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.Compile.cs b/src/Docfx.Dotnet/DotnetApiCatalog.Compile.cs index 480849fcfcb..e94c3a1a01a 100644 --- a/src/Docfx.Dotnet/DotnetApiCatalog.Compile.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.Compile.cs @@ -20,9 +20,9 @@ partial class DotnetApiCatalog { var files = config.Files?.Select(s => new FileInformation(s)) .GroupBy(f => f.Type) - .ToDictionary(s => s.Key, s => s.Distinct().ToList()) ?? new(); + .ToDictionary(s => s.Key, s => s.Distinct().ToList()) ?? []; - var msbuildProperties = config.MSBuildProperties ?? new Dictionary(); + var msbuildProperties = config.MSBuildProperties ?? []; msbuildProperties.TryAdd("Configuration", "Release"); // NOTE: @@ -122,7 +122,7 @@ await LoadCompilationFromProject(project.AbsolutePath) is { } compilation) if (hasCompilationError) { - return new(); + return []; } if (assemblies.Count <= 0) diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.ManagedReference.cs b/src/Docfx.Dotnet/DotnetApiCatalog.ManagedReference.cs index 3612add070e..001182f02b3 100644 --- a/src/Docfx.Dotnet/DotnetApiCatalog.ManagedReference.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.ManagedReference.cs @@ -66,7 +66,7 @@ void ResolveAndExportYamlMetadata( YamlUtility.Serialize(tocFilePath, tocViewModel, YamlMime.TableOfContent); outputFileNames.Add(tocFilePath, 1); - ApiReferenceViewModel indexer = new(); + ApiReferenceViewModel indexer = []; // generate each item's yaml var members = model.Members; @@ -142,7 +142,7 @@ bool MergeNode(MetadataItem node) { if (node.Type is MemberType.Assembly) { - foreach (var item in node.Items ?? new()) + foreach (var item in node.Items ?? []) { MergeNode(item); } @@ -152,7 +152,7 @@ bool MergeNode(MetadataItem node) if (!result.TryGetValue(node.Name, out var existingNode)) { result.Add(node.Name, node); - foreach (var item in node.Items ?? new()) + foreach (var item in node.Items ?? []) { MergeNode(item); } @@ -161,11 +161,11 @@ bool MergeNode(MetadataItem node) if (node.Type is MemberType.Namespace or MemberType.Class) { - foreach (var item in node.Items ?? new()) + foreach (var item in node.Items ?? []) { if (MergeNode(item)) { - existingNode.Items ??= new(); + existingNode.Items ??= []; existingNode.Items.Add(item); } } diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.Toc.cs b/src/Docfx.Dotnet/DotnetApiCatalog.Toc.cs index 9d61e3c50a6..d148421e458 100644 --- a/src/Docfx.Dotnet/DotnetApiCatalog.Toc.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.Toc.cs @@ -37,7 +37,7 @@ class TocNode internal TocNodeType type; internal string? id; internal bool containsLeafNodes; - internal List<(ISymbol symbol, Compilation compilation)> symbols = new(); + internal List<(ISymbol symbol, Compilation compilation)> symbols = []; } private static List CreateToc(List<(IAssemblySymbol symbol, Compilation compilation)> assemblies, ExtractMetadataConfig config, DotnetApiOptions options) @@ -104,7 +104,7 @@ IEnumerable CreateNamespaceToc(INamespaceSymbol ns) var existingNodeHasNoLeafNode = idExists && !node.containsLeafNodes; - node.items ??= new(); + node.items ??= []; node.symbols.Add((symbol, compilation)); foreach (var child in ns.GetNamespaceMembers()) @@ -164,7 +164,7 @@ IEnumerable CreateNamedTypeToc(INamedTypeSymbol type) if (config.MemberLayout is MemberLayout.SeparatePages && type.TypeKind is TypeKind.Class or TypeKind.Interface or TypeKind.Struct) { - node.items ??= new(); + node.items ??= []; foreach (var member in type.GetMembers()) node.items.AddRange(CreateToc(member, compilation)); } diff --git a/src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs b/src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs index 63b3ddb6737..20aef537058 100644 --- a/src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs +++ b/src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs @@ -14,7 +14,7 @@ internal class AttributeFilterInfo public List ConstructorArguments { get; set; } [YamlMember(Alias = "ctorNamedArguments")] - public Dictionary ConstructorNamedArguments { get; set; } = new(); + public Dictionary ConstructorNamedArguments { get; set; } = []; public bool ContainedIn(SymbolFilterData symbol) { diff --git a/src/Docfx.Dotnet/Filters/ConfigFilterRule.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRule.cs index e07f033e7ef..0e12bc07c39 100644 --- a/src/Docfx.Dotnet/Filters/ConfigFilterRule.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRule.cs @@ -10,10 +10,10 @@ namespace Docfx.Dotnet; internal class ConfigFilterRule { [YamlMember(Alias = "apiRules")] - public List ApiRules { get; set; } = new(); + public List ApiRules { get; set; } = []; [YamlMember(Alias = "attributeRules")] - public List AttributeRules { get; set; } = new(); + public List AttributeRules { get; set; } = []; public bool CanVisitApi(SymbolFilterData symbol) { diff --git a/src/Docfx.Dotnet/ManagedReference/Models/ItemViewModel.cs b/src/Docfx.Dotnet/ManagedReference/Models/ItemViewModel.cs index 406d47e1aaa..5ac4b6b9b68 100644 --- a/src/Docfx.Dotnet/ManagedReference/Models/ItemViewModel.cs +++ b/src/Docfx.Dotnet/ManagedReference/Models/ItemViewModel.cs @@ -72,7 +72,7 @@ public class ItemViewModel : IOverwriteDocumentViewModel, IItemWithMetadata [ExtensibleMember(Constants.ExtensionMemberPrefix.Name)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList Names { get; set; } = new(); + public SortedList Names { get; set; } = []; [YamlIgnore] [Newtonsoft.Json.JsonIgnore] @@ -128,7 +128,7 @@ public string NameForVB [ExtensibleMember(Constants.ExtensionMemberPrefix.NameWithType)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList NamesWithType { get; set; } = new(); + public SortedList NamesWithType { get; set; } = []; [YamlIgnore] [Newtonsoft.Json.JsonIgnore] @@ -184,7 +184,7 @@ public string NameWithTypeForVB [ExtensibleMember(Constants.ExtensionMemberPrefix.FullName)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList FullNames { get; set; } = new(); + public SortedList FullNames { get; set; } = []; [YamlIgnore] [Newtonsoft.Json.JsonIgnore] @@ -373,7 +373,7 @@ public string FullNameForVB [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] [System.Text.Json.Serialization.JsonPropertyName("__metadata__")] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; [EditorBrowsable(EditorBrowsableState.Never)] [YamlIgnore] diff --git a/src/Docfx.Dotnet/ManagedReference/Models/PageViewModel.cs b/src/Docfx.Dotnet/ManagedReference/Models/PageViewModel.cs index dfe564a80da..a872eacb0de 100644 --- a/src/Docfx.Dotnet/ManagedReference/Models/PageViewModel.cs +++ b/src/Docfx.Dotnet/ManagedReference/Models/PageViewModel.cs @@ -14,14 +14,14 @@ public class PageViewModel [YamlMember(Alias = "items")] [JsonProperty("items")] [JsonPropertyName("items")] - public List Items { get; set; } = new(); + public List Items { get; set; } = []; [YamlMember(Alias = "references")] [JsonProperty("references")] [JsonPropertyName("references")] [UniqueIdentityReferenceIgnore] [MarkdownContentIgnore] - public List References { get; set; } = new(); + public List References { get; set; } = []; [YamlMember(Alias = "shouldSkipMarkup")] [JsonProperty("shouldSkipMarkup")] @@ -36,5 +36,5 @@ public class PageViewModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Dotnet/ManagedReference/Models/SyntaxDetailViewModel.cs b/src/Docfx.Dotnet/ManagedReference/Models/SyntaxDetailViewModel.cs index 8aa49b39a22..57d78edeb93 100644 --- a/src/Docfx.Dotnet/ManagedReference/Models/SyntaxDetailViewModel.cs +++ b/src/Docfx.Dotnet/ManagedReference/Models/SyntaxDetailViewModel.cs @@ -22,7 +22,7 @@ public class SyntaxDetailViewModel [ExtensibleMember(Constants.ExtensionMemberPrefix.Content)] [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] - public SortedList Contents { get; set; } = new(); + public SortedList Contents { get; set; } = []; [YamlIgnore] [Newtonsoft.Json.JsonIgnore] diff --git a/src/Docfx.Dotnet/ManagedReference/Resolvers/ResolveReference.cs b/src/Docfx.Dotnet/ManagedReference/Resolvers/ResolveReference.cs index 9f3c6eab950..f946b36b8df 100644 --- a/src/Docfx.Dotnet/ManagedReference/Resolvers/ResolveReference.cs +++ b/src/Docfx.Dotnet/ManagedReference/Resolvers/ResolveReference.cs @@ -20,7 +20,7 @@ public void Run(MetadataModel yaml, ResolverContext context) if (current.Type.IsPageLevel()) { page = current; - current.References = new Dictionary(); + current.References = []; } else { diff --git a/src/Docfx.Dotnet/ManagedReference/Resolvers/SetDerivedClass.cs b/src/Docfx.Dotnet/ManagedReference/Resolvers/SetDerivedClass.cs index 3f380805f2a..cb23287b342 100644 --- a/src/Docfx.Dotnet/ManagedReference/Resolvers/SetDerivedClass.cs +++ b/src/Docfx.Dotnet/ManagedReference/Resolvers/SetDerivedClass.cs @@ -7,7 +7,7 @@ namespace Docfx.Dotnet; internal class SetDerivedClass : IResolverPipeline { - private readonly Dictionary> _derivedClassMapping = new(); + private readonly Dictionary> _derivedClassMapping = []; public void Run(MetadataModel yaml, ResolverContext context) { @@ -41,7 +41,7 @@ private void UpdateDerivedClassMapping(List items, Dictionary { item.Name }); + _derivedClassMapping.Add(superClass, [item.Name]); } } } diff --git a/src/Docfx.Dotnet/ManagedReference/Resolvers/YamlMetadataResolver.cs b/src/Docfx.Dotnet/ManagedReference/Resolvers/YamlMetadataResolver.cs index f8001c4132c..57eda24d1df 100644 --- a/src/Docfx.Dotnet/ManagedReference/Resolvers/YamlMetadataResolver.cs +++ b/src/Docfx.Dotnet/ManagedReference/Resolvers/YamlMetadataResolver.cs @@ -8,8 +8,8 @@ namespace Docfx.Dotnet; internal static class YamlMetadataResolver { // Order matters - private static readonly List pipelines = new() - { + private static readonly List pipelines = + [ new LayoutCheckAndCleanup(), new SetParent(), new ResolveReference(), @@ -17,7 +17,7 @@ internal static class YamlMetadataResolver new BuildMembers(), new SetDerivedClass(), new BuildToc() - }; + ]; /// /// TODO: input Namespace list instead; @@ -33,7 +33,7 @@ public static MetadataModel ResolveMetadata( MetadataModel viewModel = new() { TocYamlViewModel = GenerateToc(allMembers, allReferences, namespaceLayout), - Members = new List(), + Members = [], }; ResolverContext context = new() { @@ -74,9 +74,9 @@ private static MetadataItem GenerateNestedTocStructure(IEnumerable namespacedItems = new(); + Dictionary namespacedItems = []; var dotsPerNamespace = namespaces.ToDictionary(x => x.Key, x => x.Value.Name.Where(y => y == '.').Count()); foreach (var member in namespaces @@ -95,10 +95,10 @@ private static MetadataItem GenerateNestedTocStructure(IEnumerable private static readonly IReadOnlyList EmptyListOfString = Array.Empty(); private readonly Compilation _compilation; private readonly YamlModelGenerator _generator; - private readonly Dictionary _references = new(); + private readonly Dictionary _references = []; private readonly IMethodSymbol[] _extensionMethods; private readonly ExtractMetadataConfig _config; private readonly SymbolFilter _filter; @@ -30,7 +30,7 @@ public SymbolVisitorAdapter(Compilation compilation, YamlModelGenerator generato _generator = generator; _filter = filter; _config = config; - _extensionMethods = extensionMethods?.Where(_filter.IncludeApi).ToArray() ?? Array.Empty(); + _extensionMethods = extensionMethods?.Where(_filter.IncludeApi).ToArray() ?? []; } public override MetadataItem DefaultVisit(ISymbol symbol) @@ -44,13 +44,13 @@ public override MetadataItem DefaultVisit(ISymbol symbol) { Name = VisitorHelper.GetId(symbol), CommentId = VisitorHelper.GetCommentId(symbol), - DisplayNames = new SortedList(), - DisplayNamesWithType = new SortedList(), - DisplayQualifiedNames = new SortedList(), + DisplayNames = [], + DisplayNamesWithType = [], + DisplayQualifiedNames = [], Source = _config.DisableGitFeatures ? null : VisitorHelper.GetSourceDetail(symbol, _compilation), }; var assemblyName = symbol.ContainingAssembly?.Name; - item.AssemblyNameList = string.IsNullOrEmpty(assemblyName) || assemblyName is "?" ? null : new List { assemblyName }; + item.AssemblyNameList = string.IsNullOrEmpty(assemblyName) || assemblyName is "?" ? null : [assemblyName]; if (symbol is not INamespaceSymbol) { var namespaceName = VisitorHelper.GetId(symbol.ContainingNamespace); @@ -154,10 +154,10 @@ public override MetadataItem VisitNamedType(INamedTypeSymbol symbol) } item.Type = VisitorHelper.GetMemberTypeFromTypeKind(symbol.TypeKind); - item.Syntax ??= new SyntaxDetail { Content = new SortedList() }; + item.Syntax ??= new SyntaxDetail { Content = [] }; if (item.Syntax.Content == null) { - item.Syntax.Content = new SortedList(); + item.Syntax.Content = []; } _generator.GenerateSyntax(symbol, item.Syntax, _filter); @@ -165,7 +165,7 @@ public override MetadataItem VisitNamedType(INamedTypeSymbol symbol) { if (item.Syntax.TypeParameters == null) { - item.Syntax.TypeParameters = new List(); + item.Syntax.TypeParameters = []; } foreach (var p in symbol.TypeParameters) @@ -181,7 +181,7 @@ public override MetadataItem VisitNamedType(INamedTypeSymbol symbol) AddMethodSyntax(symbol.DelegateInvokeMethod, item, typeGenericParameters, EmptyListOfString); } - item.Items = new List(); + item.Items = []; foreach ( var member in symbol.GetMembers() .Where(static s => @@ -211,13 +211,13 @@ public override MetadataItem VisitMethod(IMethodSymbol symbol) { return null; } - result.Syntax ??= new SyntaxDetail { Content = new SortedList() }; + result.Syntax ??= new SyntaxDetail { Content = [] }; if (symbol.TypeParameters.Length > 0) { if (result.Syntax.TypeParameters == null) { - result.Syntax.TypeParameters = new List(); + result.Syntax.TypeParameters = []; } foreach (var p in symbol.TypeParameters) @@ -235,7 +235,7 @@ public override MetadataItem VisitMethod(IMethodSymbol symbol) if (result.Syntax.Content == null) { - result.Syntax.Content = new SortedList(); + result.Syntax.Content = []; } _generator.GenerateSyntax(symbol, result.Syntax, _filter); @@ -263,10 +263,10 @@ public override MetadataItem VisitField(IFieldSymbol symbol) { return null; } - result.Syntax ??= new SyntaxDetail { Content = new SortedList() }; + result.Syntax ??= new SyntaxDetail { Content = [] }; if (result.Syntax.Content == null) { - result.Syntax.Content = new SortedList(); + result.Syntax.Content = []; } _generator.GenerateSyntax(symbol, result.Syntax, _filter); @@ -288,10 +288,10 @@ public override MetadataItem VisitEvent(IEventSymbol symbol) { return null; } - result.Syntax ??= new SyntaxDetail { Content = new SortedList() }; + result.Syntax ??= new SyntaxDetail { Content = [] }; if (result.Syntax.Content == null) { - result.Syntax.Content = new SortedList(); + result.Syntax.Content = []; } _generator.GenerateSyntax(symbol, result.Syntax, _filter); @@ -322,14 +322,14 @@ public override MetadataItem VisitProperty(IPropertySymbol symbol) { return null; } - result.Syntax ??= new SyntaxDetail { Content = new SortedList() }; + result.Syntax ??= new SyntaxDetail { Content = [] }; if (result.Syntax.Parameters == null) { - result.Syntax.Parameters = new List(); + result.Syntax.Parameters = []; } if (result.Syntax.Content == null) { - result.Syntax.Content = new SortedList(); + result.Syntax.Content = []; } _generator.GenerateSyntax(symbol, result.Syntax, _filter); @@ -386,9 +386,9 @@ public string AddReference(string id, string commentId) var reference = new ReferenceItem { CommentId = commentId }; if (DocumentationCommentId.GetFirstSymbolForDeclarationId(commentId, _compilation) is { } symbol) { - reference.NameParts = new(); - reference.NameWithTypeParts = new(); - reference.QualifiedNameParts = new(); + reference.NameParts = []; + reference.NameWithTypeParts = []; + reference.QualifiedNameParts = []; reference.IsDefinition = symbol.IsDefinition; _generator.GenerateReference(symbol, reference, asOverload: false, _filter); @@ -548,7 +548,7 @@ private void GenerateInheritance(INamedTypeSymbol symbol, MetadataItem item) { var type = symbol; var inheritance = new List(); - dict = new Dictionary(); + dict = []; var typeParameterNames = symbol.IsGenericType ? symbol.Accept(TypeGenericParameterNameVisitor.Instance) : EmptyListOfString; while (type != null) { @@ -586,7 +586,7 @@ where _filter.IncludeApi(t) } else if (symbol.TypeKind == TypeKind.Interface) { - dict = new Dictionary(); + dict = []; var typeParameterNames = symbol.IsGenericType ? symbol.Accept(TypeGenericParameterNameVisitor.Instance) : EmptyListOfString; AddInheritedMembers(symbol, symbol, dict, typeParameterNames); for (int i = 0; i < symbol.AllInterfaces.Length; i++) @@ -691,7 +691,7 @@ private void AddMethodSyntax(IMethodSymbol symbol, MetadataItem result, IReadOnl { if (result.Syntax.Parameters == null) { - result.Syntax.Parameters = new List(); + result.Syntax.Parameters = []; } foreach (var p in symbol.Parameters) @@ -718,7 +718,7 @@ private XmlCommentParserContext GetXmlCommentParserContext(MetadataItem item) void AddReferenceDelegate(string id, string commentId) { var r = AddReference(id, commentId); - item.References ??= new Dictionary(); + item.References ??= []; // only record the id now, the value would be fed at later phase after merge item.References[id] = null; diff --git a/src/Docfx.Dotnet/ManagedReference/Visitors/TypeGenericParameterNameVisitor.cs b/src/Docfx.Dotnet/ManagedReference/Visitors/TypeGenericParameterNameVisitor.cs index fabeabcf217..e3e4f436222 100644 --- a/src/Docfx.Dotnet/ManagedReference/Visitors/TypeGenericParameterNameVisitor.cs +++ b/src/Docfx.Dotnet/ManagedReference/Visitors/TypeGenericParameterNameVisitor.cs @@ -27,7 +27,7 @@ public override List VisitNamedType(INamedTypeSymbol symbol) } if (symbol.TypeParameters.Length > 0) { - result ??= new List(); + result ??= []; for (int i = 0; i < symbol.TypeParameters.Length; i++) { result.Add(symbol.TypeParameters[i].Name); diff --git a/src/Docfx.Dotnet/ManagedReference/Visitors/YamlModelGenerator.cs b/src/Docfx.Dotnet/ManagedReference/Visitors/YamlModelGenerator.cs index 79d205e1f36..889f9a36f96 100644 --- a/src/Docfx.Dotnet/ManagedReference/Visitors/YamlModelGenerator.cs +++ b/src/Docfx.Dotnet/ManagedReference/Visitors/YamlModelGenerator.cs @@ -33,22 +33,22 @@ public void DefaultVisit(ISymbol symbol, MetadataItem item) public void GenerateReference(ISymbol symbol, ReferenceItem reference, bool asOverload, SymbolFilter filter) { if (!reference.NameParts.ContainsKey(SyntaxLanguage.CSharp)) - reference.NameParts.Add(SyntaxLanguage.CSharp, new()); + reference.NameParts.Add(SyntaxLanguage.CSharp, []); if (!reference.NameWithTypeParts.ContainsKey(SyntaxLanguage.CSharp)) - reference.NameWithTypeParts.Add(SyntaxLanguage.CSharp, new()); + reference.NameWithTypeParts.Add(SyntaxLanguage.CSharp, []); if (!reference.QualifiedNameParts.ContainsKey(SyntaxLanguage.CSharp)) - reference.QualifiedNameParts.Add(SyntaxLanguage.CSharp, new()); + reference.QualifiedNameParts.Add(SyntaxLanguage.CSharp, []); reference.NameParts[SyntaxLanguage.CSharp] = SymbolFormatter.GetNameParts(symbol, SyntaxLanguage.CSharp, nullableReferenceType: false, asOverload).ToLinkItems(_compilation, _memberLayout, _allAssemblies, asOverload, filter); reference.NameWithTypeParts[SyntaxLanguage.CSharp] = SymbolFormatter.GetNameWithTypeParts(symbol, SyntaxLanguage.CSharp, nullableReferenceType: false, asOverload).ToLinkItems(_compilation, _memberLayout, _allAssemblies, asOverload, filter); reference.QualifiedNameParts[SyntaxLanguage.CSharp] = SymbolFormatter.GetQualifiedNameParts(symbol, SyntaxLanguage.CSharp, nullableReferenceType: false, asOverload).ToLinkItems(_compilation, _memberLayout, _allAssemblies, asOverload, filter); if (!reference.NameParts.ContainsKey(SyntaxLanguage.VB)) - reference.NameParts.Add(SyntaxLanguage.VB, new()); + reference.NameParts.Add(SyntaxLanguage.VB, []); if (!reference.NameWithTypeParts.ContainsKey(SyntaxLanguage.VB)) - reference.NameWithTypeParts.Add(SyntaxLanguage.VB, new()); + reference.NameWithTypeParts.Add(SyntaxLanguage.VB, []); if (!reference.QualifiedNameParts.ContainsKey(SyntaxLanguage.VB)) - reference.QualifiedNameParts.Add(SyntaxLanguage.VB, new()); + reference.QualifiedNameParts.Add(SyntaxLanguage.VB, []); reference.NameParts[SyntaxLanguage.VB] = SymbolFormatter.GetNameParts(symbol, SyntaxLanguage.VB, nullableReferenceType: false, asOverload).ToLinkItems(_compilation, _memberLayout, _allAssemblies, asOverload, filter); reference.NameWithTypeParts[SyntaxLanguage.VB] = SymbolFormatter.GetNameWithTypeParts(symbol, SyntaxLanguage.VB, nullableReferenceType: false, asOverload).ToLinkItems(_compilation, _memberLayout, _allAssemblies, asOverload, filter); @@ -66,9 +66,9 @@ public string AddReference(ISymbol symbol, Dictionary ref var id = VisitorHelper.GetId(symbol); var reference = new ReferenceItem { - NameParts = new(), - NameWithTypeParts = new(), - QualifiedNameParts = new(), + NameParts = [], + NameWithTypeParts = [], + QualifiedNameParts = [], IsDefinition = symbol.IsDefinition, CommentId = VisitorHelper.GetCommentId(symbol) }; @@ -87,9 +87,9 @@ public string AddOverloadReference(ISymbol symbol, Dictionary { "area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr" }; + _voidElements = ["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]; } public override void WriteEndElement() diff --git a/src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs b/src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs index d7ba0c49a09..ed54a5c4e88 100644 --- a/src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs +++ b/src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs @@ -18,7 +18,7 @@ namespace Docfx.Dotnet; partial class SymbolUrlResolver { - private static readonly ConditionalWeakTable s_sourceLinkProviders = new(); + private static readonly ConditionalWeakTable s_sourceLinkProviders = []; public static string? GetPdbSourceLinkUrl(Compilation compilation, ISymbol symbol) { diff --git a/src/Docfx.Dotnet/YamlViewModelExtensions.cs b/src/Docfx.Dotnet/YamlViewModelExtensions.cs index d0f534122a0..5c910db7eb9 100644 --- a/src/Docfx.Dotnet/YamlViewModelExtensions.cs +++ b/src/Docfx.Dotnet/YamlViewModelExtensions.cs @@ -42,7 +42,7 @@ public static MetadataItem ShrinkToSimpleToc(this MetadataItem item) { foreach (var i in item.Items) { - shrinkedItem.Items ??= new List(); + shrinkedItem.Items ??= []; if (i.IsInvalid) { @@ -77,7 +77,7 @@ public static MetadataItem ShrinkToSimpleTocWithNamespaceNotEmpty(this MetadataI { foreach (var i in item.Items) { - shrinkedItem.Items ??= new List(); + shrinkedItem.Items ??= []; if (i.IsInvalid) { diff --git a/src/Docfx.Glob/FileGlob.cs b/src/Docfx.Glob/FileGlob.cs index 2fd54a43982..3ce3e43cfd1 100644 --- a/src/Docfx.Glob/FileGlob.cs +++ b/src/Docfx.Glob/FileGlob.cs @@ -9,7 +9,7 @@ public static IEnumerable GetFiles(string cwd, IEnumerable patte { if (patterns == null) { - return Enumerable.Empty(); + return []; } if (string.IsNullOrEmpty(cwd)) @@ -18,7 +18,7 @@ public static IEnumerable GetFiles(string cwd, IEnumerable patte } var globArray = patterns.Select(s => new GlobMatcher(s, options)).ToArray(); var excludeGlobArray = excludePatterns == null ? - Array.Empty() : + [] : excludePatterns.Select(s => new GlobMatcher(s, options)).ToArray(); return GetFilesCore(cwd, globArray, excludeGlobArray); } diff --git a/src/Docfx.Glob/GlobMatcher.cs b/src/Docfx.Glob/GlobMatcher.cs index 084e59e4e94..c1dc15a237a 100644 --- a/src/Docfx.Glob/GlobMatcher.cs +++ b/src/Docfx.Glob/GlobMatcher.cs @@ -12,7 +12,7 @@ public partial class GlobMatcher : IEquatable { #region Private fields private static readonly StringComparer Comparer = FilePathComparer.OSPlatformSensitiveStringComparer; - private static readonly string[] EmptyString = Array.Empty(); + private static readonly string[] EmptyString = []; private const char NegateChar = '!'; private const string GlobStar = "**"; private const string ReplacerGroupName = "replacer"; @@ -120,7 +120,7 @@ private IEnumerable Compile(string pattern) if (Options.HasFlag(GlobMatcherOptions.AllowExpand)) { globs = ExpandGroup(pattern, Options); - if (globs.Length == 0) return Enumerable.Empty(); + if (globs.Length == 0) return []; } else { @@ -558,8 +558,7 @@ public override GlobNode FinishLevel() } public override List Flatten() { - List result = new(1); - result.Add(_builder); + List result = [_builder]; return result; } } @@ -569,7 +568,7 @@ public class ChoiceNode : GlobNode public ChoiceNode(GlobNode parentNode) : base(parentNode) { - _nodes = new List(); + _nodes = []; } public override GlobNode AddChar(char c) { @@ -594,7 +593,7 @@ public override GlobNode FinishLevel() } public override List Flatten() { - List result = new(); + List result = []; foreach (GlobNode node in _nodes) { foreach (StringBuilder builder in node.Flatten()) @@ -611,7 +610,7 @@ public class SequenceNode : GlobNode public SequenceNode(GlobNode parentNode) : base(parentNode) { - _nodes = new List(); + _nodes = []; } public override GlobNode AddChar(char c) { @@ -635,11 +634,10 @@ public override GlobNode FinishLevel() } public override List Flatten() { - List result = new(); - result.Add(new StringBuilder()); + List result = [new StringBuilder()]; foreach (GlobNode node in _nodes) { - List tmp = new(); + List tmp = []; foreach (StringBuilder builder in node.Flatten()) { foreach (StringBuilder sb in result) diff --git a/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs index 7cbd512a00d..fa6c849dbf9 100644 --- a/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs @@ -110,17 +110,17 @@ public class HtmlCodeSnippetRenderer : HtmlObjectRenderer { "vb", new string[] {"vbnet", "vbscript", "bas", "vbs", "vba" } } }; - private static readonly Dictionary s_languageByFileExtension = new(); + private static readonly Dictionary s_languageByFileExtension = []; // If we ever come across a language that has not been defined above, we shouldn't break the build. // We can at least try it with a default language, "C#" for now, and try and resolve the code snippet. - private static readonly HashSet s_defaultExtractors = new(); + private static readonly HashSet s_defaultExtractors = []; // Language names and aliases follow http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html#language-names-and-aliases // Language file extensions follow https://github.com/github/linguist/blob/master/lib/linguist/languages.yml // Currently only supports parts of the language names, aliases and extensions // Later we can move the repository's supported/custom language names, aliases, extensions and corresponding comments regexes to docfx build configuration - private static readonly Dictionary> s_languageExtractors = new(); + private static readonly Dictionary> s_languageExtractors = []; private readonly MarkdownContext _context; @@ -198,7 +198,7 @@ static void AddExtractorItem(string language, CodeSnippetExtractor extractor) } else { - s_languageExtractors[language] = new HashSet { extractor }; + s_languageExtractors[language] = [extractor]; } } } @@ -299,22 +299,22 @@ public string GetContent(string content, CodeSnippet obj) var tagWithPrefix = TagPrefix + obj.TagName; foreach (var extractor in extractors) { - HashSet tagLines = new(); + HashSet tagLines = []; var tagToCodeRangeMapping = extractor.GetAllTags(allLines, ref tagLines); if (tagToCodeRangeMapping.TryGetValue(obj.TagName, out var cr) || tagToCodeRangeMapping.TryGetValue(tagWithPrefix, out cr)) { - return GetCodeLines(allLines, obj, new List { cr }, tagLines); + return GetCodeLines(allLines, obj, [cr], tagLines); } } } else if (obj.BookMarkRange != null) { - return GetCodeLines(allLines, obj, new List { obj.BookMarkRange }); + return GetCodeLines(allLines, obj, [obj.BookMarkRange]); } else if (obj.StartEndRange != null) { - return GetCodeLines(allLines, obj, new List { obj.StartEndRange }); + return GetCodeLines(allLines, obj, [obj.StartEndRange]); } else if (obj.CodeRanges != null) { @@ -322,7 +322,7 @@ public string GetContent(string content, CodeSnippet obj) } else { - return GetCodeLines(allLines, obj, new List { new() { Start = 0, End = allLines.Length } }); + return GetCodeLines(allLines, obj, [new() { Start = 0, End = allLines.Length }]); } return string.Empty; @@ -340,7 +340,7 @@ private static IEnumerable ReadAllLines(string content) private static string GetCodeLines(string[] allLines, CodeSnippet obj, List codeRanges, HashSet ignoreLines = null) { - List codeLines = new(); + List codeLines = []; StringBuilder showCode = new(); int commonIndent = int.MaxValue; @@ -458,7 +458,7 @@ public static bool TryGetLineRanges(string query, out List codeRanges return false; } - codeRanges ??= new List(); + codeRanges ??= []; codeRanges.Add(codeRange); } diff --git a/src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs index adce056fc14..04c4d8712f8 100644 --- a/src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs @@ -10,7 +10,7 @@ namespace Docfx.MarkdigEngine.Extensions; public class ActiveAndVisibleRewriter : IMarkdownObjectRewriter { private readonly MarkdownContext _context; - private readonly List tabSelectionInfo = new(); + private readonly List tabSelectionInfo = []; public ActiveAndVisibleRewriter(MarkdownContext context) { diff --git a/src/Docfx.Plugins/FileModel.cs b/src/Docfx.Plugins/FileModel.cs index 6c5b6e7adc6..c49cd10fe16 100644 --- a/src/Docfx.Plugins/FileModel.cs +++ b/src/Docfx.Plugins/FileModel.cs @@ -67,9 +67,9 @@ public string File public string Key { get; } - public ImmutableHashSet LinkToFiles { get; set; } = ImmutableHashSet.Empty; + public ImmutableHashSet LinkToFiles { get; set; } = []; - public ImmutableHashSet LinkToUids { get; set; } = ImmutableHashSet.Empty; + public ImmutableHashSet LinkToUids { get; set; } = []; public ImmutableDictionary> UidLinkSources { get; set; } = ImmutableDictionary>.Empty; diff --git a/src/Docfx.Plugins/GroupInfo.cs b/src/Docfx.Plugins/GroupInfo.cs index f1a2eaea0d5..46de030df40 100644 --- a/src/Docfx.Plugins/GroupInfo.cs +++ b/src/Docfx.Plugins/GroupInfo.cs @@ -9,5 +9,5 @@ public class GroupInfo public string Destination { get; set; } - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Plugins/Manifest.cs b/src/Docfx.Plugins/Manifest.cs index 729c8b853c6..3af14a535d6 100644 --- a/src/Docfx.Plugins/Manifest.cs +++ b/src/Docfx.Plugins/Manifest.cs @@ -27,7 +27,7 @@ public Manifest() { } [JsonProperty("files")] [JsonPropertyName("files")] - public List Files { get; init; } = new(); + public List Files { get; init; } = []; [JsonProperty("groups")] [JsonPropertyName("groups")] diff --git a/src/Docfx.Plugins/ManifestGroupInfo.cs b/src/Docfx.Plugins/ManifestGroupInfo.cs index 0bf3b2b5edf..c123eadf3c2 100644 --- a/src/Docfx.Plugins/ManifestGroupInfo.cs +++ b/src/Docfx.Plugins/ManifestGroupInfo.cs @@ -22,7 +22,7 @@ public class ManifestGroupInfo [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; // Default constructor for System.Text.Json deserialization public ManifestGroupInfo() { } diff --git a/src/Docfx.Plugins/ManifestItem.cs b/src/Docfx.Plugins/ManifestItem.cs index 003278e7a7a..8f684435026 100644 --- a/src/Docfx.Plugins/ManifestItem.cs +++ b/src/Docfx.Plugins/ManifestItem.cs @@ -18,7 +18,7 @@ public class ManifestItem [JsonProperty("output")] [JsonPropertyName("output")] - public Dictionary Output { get; init; } = new(); + public Dictionary Output { get; init; } = []; [JsonProperty("version")] [JsonPropertyName("version")] @@ -30,5 +30,5 @@ public class ManifestItem [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Plugins/OutputFileInfo.cs b/src/Docfx.Plugins/OutputFileInfo.cs index 3779d0357e5..ad4c0e8bbda 100644 --- a/src/Docfx.Plugins/OutputFileInfo.cs +++ b/src/Docfx.Plugins/OutputFileInfo.cs @@ -18,5 +18,5 @@ public class OutputFileInfo [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Plugins/TreeItem.cs b/src/Docfx.Plugins/TreeItem.cs index fa53c634788..302c6c691a2 100644 --- a/src/Docfx.Plugins/TreeItem.cs +++ b/src/Docfx.Plugins/TreeItem.cs @@ -14,5 +14,5 @@ public class TreeItem [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/src/Docfx.Plugins/XRefSpec.cs b/src/Docfx.Plugins/XRefSpec.cs index 7fad3792ed8..7f20872794f 100644 --- a/src/Docfx.Plugins/XRefSpec.cs +++ b/src/Docfx.Plugins/XRefSpec.cs @@ -17,7 +17,7 @@ public sealed class XRefSpec : IDictionary public XRefSpec() { - _dict = new Dictionary(); + _dict = []; } public XRefSpec(IDictionary dictionary) diff --git a/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs index 791becbd3c7..58f5dd74ff2 100644 --- a/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs +++ b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs @@ -19,10 +19,8 @@ public class EmitGenericCollectionNodeDeserializer : INodeDeserializer private static readonly MethodInfo DeserializeHelperMethod = typeof(EmitGenericCollectionNodeDeserializer).GetMethod(nameof(DeserializeHelper))!; private readonly IObjectFactory _objectFactory; - private readonly Dictionary _gpCache = - new(); - private readonly Dictionary, object?>> _actionCache = - new(); + private readonly Dictionary _gpCache = []; + private readonly Dictionary, object?>> _actionCache = []; public EmitGenericCollectionNodeDeserializer(IObjectFactory objectFactory) { diff --git a/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs index 6d0fbc26658..8294a3dd44d 100644 --- a/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs +++ b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs @@ -16,10 +16,8 @@ public class EmitGenericDictionaryNodeDeserializer : INodeDeserializer private static readonly MethodInfo DeserializeHelperMethod = typeof(EmitGenericDictionaryNodeDeserializer).GetMethod(nameof(DeserializeHelper))!; private readonly IObjectFactory _objectFactory; - private readonly Dictionary _gpCache = - new(); - private readonly Dictionary, Action, object?>> _actionCache = - new(); + private readonly Dictionary _gpCache = []; + private readonly Dictionary, Action, object?>> _actionCache = []; public EmitGenericDictionaryNodeDeserializer(IObjectFactory objectFactory) { diff --git a/src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs b/src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs index f5466f1d099..5cef58e0f1e 100644 --- a/src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs +++ b/src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs @@ -10,7 +10,7 @@ namespace Docfx.YamlSerialization.ObjectFactories; public class DefaultEmitObjectFactory : ObjectFactoryBase { - private readonly Dictionary> _cache = new(); + private readonly Dictionary> _cache = []; private static Type[] EmptyTypes => Type.EmptyTypes; public override object Create(Type type) diff --git a/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs b/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs index 3b391c61600..29dfdfab69a 100644 --- a/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs +++ b/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs @@ -28,10 +28,8 @@ public class FullObjectGraphTraversalStrategy : IObjectGraphTraversalStrategy private readonly ITypeInspector _typeDescriptor; private readonly ITypeResolver _typeResolver; private readonly INamingConvention _namingConvention; - private readonly Dictionary, Action> _behaviorCache = - new(); - private readonly Dictionary, Action> _traverseGenericDictionaryCache = - new(); + private readonly Dictionary, Action> _behaviorCache = []; + private readonly Dictionary, Action> _traverseGenericDictionaryCache = []; public FullObjectGraphTraversalStrategy(YamlSerializer serializer, ITypeInspector typeDescriptor, ITypeResolver typeResolver, int maxRecursion, INamingConvention? namingConvention) { diff --git a/src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs b/src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs index f557111176c..bd893e48aed 100644 --- a/src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs @@ -68,9 +68,9 @@ private CachingItem() { } public Exception? Error { get; private set; } - public List Properties { get; } = new(); + public List Properties { get; } = []; - public List ExtensibleProperties { get; } = new(); + public List ExtensibleProperties { get; } = []; public static CachingItem Create(Type type) { diff --git a/src/Docfx.YamlSerialization/YamlDeserializer.cs b/src/Docfx.YamlSerialization/YamlDeserializer.cs index 94b61385596..221e8b70d56 100644 --- a/src/Docfx.YamlSerialization/YamlDeserializer.cs +++ b/src/Docfx.YamlSerialization/YamlDeserializer.cs @@ -85,8 +85,8 @@ public YamlDeserializer( _converters.Add(yamlTypeConverter); } - NodeDeserializers = new List - { + NodeDeserializers = + [ new TypeConverterNodeDeserializer(_converters), new NullNodeDeserializer(), new ScalarNodeDeserializer(attemptUnknownTypeDeserialization: false, _reflectionTypeConverter, YamlFormatter.Default, NullNamingConvention.Instance), @@ -97,14 +97,14 @@ public YamlDeserializer( new CollectionNodeDeserializer(objectFactory, NullNamingConvention.Instance), new EnumerableNodeDeserializer(), new ExtensibleObjectNodeDeserializer(objectFactory, _typeDescriptor, ignoreUnmatched) - }; + ]; _tagMappings = new Dictionary(PredefinedTagMappings); - TypeResolvers = new List - { + TypeResolvers = + [ new TagNodeTypeResolver(_tagMappings), new DefaultContainersNodeTypeResolver(), new ScalarYamlNodeTypeResolver() - }; + ]; NodeValueDeserializer nodeValueDeserializer = new(NodeDeserializers, TypeResolvers, _reflectionTypeConverter, NullNamingConvention.Instance); if (ignoreNotFoundAnchor) diff --git a/src/docfx/Models/BuildCommand.cs b/src/docfx/Models/BuildCommand.cs index 4dcc87189a3..4ac804afbc7 100644 --- a/src/docfx/Models/BuildCommand.cs +++ b/src/docfx/Models/BuildCommand.cs @@ -56,7 +56,7 @@ internal static void MergeOptionsToConfig(BuildCommandOptions options, BuildJson { config.Xref = new ListWithStringFallback( - (config.Xref ?? new ListWithStringFallback()) + (config.Xref ?? []) .Concat(options.XRefMaps) .Where(x => !string.IsNullOrWhiteSpace(x)) .Distinct()); @@ -100,7 +100,7 @@ void SetGlobalMetadataFromCommandLineArgs() { if (options.Metadata != null) { - config.GlobalMetadata ??= new(); + config.GlobalMetadata ??= []; foreach (var metadata in options.Metadata) { var (key, value) = ParseMetadata(metadata); diff --git a/src/docfx/Models/TemplateCommand.cs b/src/docfx/Models/TemplateCommand.cs index 2961c3d8857..b30ce1d4566 100644 --- a/src/docfx/Models/TemplateCommand.cs +++ b/src/docfx/Models/TemplateCommand.cs @@ -53,7 +53,7 @@ public override int Execute(CommandContext context, Options options) foreach (var template in templates) { - var manager = new TemplateManager(new List { template }, null, null); + var manager = new TemplateManager([template], null, null); if (manager.TryExportTemplateFiles(Path.Combine(outputFolder, template))) { Logger.LogInfo($"{template} is exported to {outputFolder}"); diff --git a/test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs b/test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs index a8c47d11e89..5e5da0a699e 100644 --- a/test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs +++ b/test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs @@ -26,7 +26,7 @@ public void TestReadMarkdownAsOverwrite() var fileName = "ut_ReadMarkdownAsOverwrite.md"; var fullPath = Path.Combine(baseDir, fileName); File.WriteAllText(fullPath, content); - var host = new HostService(Enumerable.Empty()) + var host = new HostService([]) { MarkdownService = new MarkdigMarkdownService(new MarkdownServiceParameters { BasePath = string.Empty }), SourceFiles = ImmutableDictionary.Create() diff --git a/test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs b/test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs index 4db7ad6775f..79047dc6bb0 100644 --- a/test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs +++ b/test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs @@ -20,7 +20,7 @@ public void TestSimpleModelWithUniqueIdentityReferenceAttributeShouldSucceed() var model = new SimpleModel { Identity = "Identity1", - Identities = new List { "Identity2" } + Identities = ["Identity2"] }; var context = Handle(model); @@ -61,7 +61,7 @@ public void TestModelWithInvalidItemTypeShouldThrow() { var model = new InvalidModel2 { - Identities = new List { 0 } + Identities = [0] }; Assert.Throws( () => Handle(model) @@ -73,23 +73,23 @@ public void TestComplexModelWithUniqueIdentityReferenceAttributeShouldSucceed() { var model = new ComplexModel { - Identities = new List { "1", "2", "3" }, + Identities = ["1", "2", "3"], Identity = "0", Inner = new ComplexModel { - Identities = new List { "1.1", "1.2", "1.3" }, + Identities = ["1.1", "1.2", "1.3"], Identity = "0.0", OtherProperty = "innerothers", Inner = new ComplexModel { - Identities = new List { "1.1.1", "1.1.2" }, + Identities = ["1.1.1", "1.1.2"], Identity = "0.0.0", OtherProperty = "innersinner" } }, OtherProperty = "others", - InnerModels = new List - { + InnerModels = + [ new() { Identity = "2.1", @@ -100,7 +100,7 @@ public void TestComplexModelWithUniqueIdentityReferenceAttributeShouldSucceed() Identity = "2.2", CrefType = TestCrefType.Href } - } + ] }; var context = Handle(model); @@ -238,7 +238,7 @@ public void TesteModelWithIListMarkdownContentAttributeShouldSucceed() { var model = new MarkdownModelWithIList { - ListContent = new List { "*list*" }, + ListContent = ["*list*"], ArrayContent = ["@xref", "*content"] }; @@ -295,7 +295,7 @@ private static HandleModelAttributesContext GetDefaultContext() { return new HandleModelAttributesContext { - Host = new HostService(Enumerable.Empty()) + Host = new HostService([]) { MarkdownService = new MarkdigMarkdownService(new MarkdownServiceParameters { BasePath = string.Empty }), SourceFiles = new Dictionary diff --git a/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs b/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs index b4f82ef9148..01dbcbe25ee 100644 --- a/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs +++ b/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs @@ -58,7 +58,7 @@ public void ContentConvertTest() }); } - var contentsMetadata = new OverwriteDocumentModelCreator("test.yml.md").ConvertContents(new Dictionary(), contents); + var contentsMetadata = new OverwriteDocumentModelCreator("test.yml.md").ConvertContents([], contents); Assert.Equal(3, contentsMetadata.Count); Assert.Equal("summary,return,function", ExtractDictionaryKeys(contentsMetadata)); Assert.Equal(2, ((Dictionary)contentsMetadata["return"]).Count); @@ -79,26 +79,27 @@ public void ContentConvertTest() public void DuplicateOPathInMarkdownSectionTest() { var testOPath = "function/parameters"; - var contents = new List(); - - contents.Add(new MarkdownPropertyModel - { - PropertyName = testOPath, - PropertyNameSource = Markdown.Parse($"## `{testOPath}`")[0], - PropertyValue = Markdown.Parse("test1").ToList() - }); - contents.Add(new MarkdownPropertyModel + var contents = new List { - PropertyName = testOPath, - PropertyNameSource = Markdown.Parse($"## `{testOPath}`")[0], - PropertyValue = Markdown.Parse("test2").ToList() - }); + new MarkdownPropertyModel + { + PropertyName = testOPath, + PropertyNameSource = Markdown.Parse($"## `{testOPath}`")[0], + PropertyValue = Markdown.Parse("test1").ToList() + }, + new MarkdownPropertyModel + { + PropertyName = testOPath, + PropertyNameSource = Markdown.Parse($"## `{testOPath}`")[0], + PropertyValue = Markdown.Parse("test2").ToList() + } + }; Dictionary contentsMetadata; Logger.RegisterListener(_listener); try { - contentsMetadata = new OverwriteDocumentModelCreator("test.yml.md").ConvertContents(new Dictionary(), contents); + contentsMetadata = new OverwriteDocumentModelCreator("test.yml.md").ConvertContents([], contents); } finally { @@ -188,7 +189,7 @@ public void InvalidOPathsTest1() }); } - var ex = Assert.Throws(() => new OverwriteDocumentModelCreator("test.yml.md").ConvertContents(new Dictionary(), contents)); + var ex = Assert.Throws(() => new OverwriteDocumentModelCreator("test.yml.md").ConvertContents([], contents)); Assert.Equal( "A(parameters) is not expected to be an array like \"A[c=d]/B\", however it is used as an array in line 0 with `parameters[id=\"para1\"]/...`", ex.Message); @@ -215,7 +216,7 @@ public void InvalidOPathsTest2() }); } - var ex = Assert.Throws(() => new OverwriteDocumentModelCreator("test.yml.md").ConvertContents(new Dictionary(), contents)); + var ex = Assert.Throws(() => new OverwriteDocumentModelCreator("test.yml.md").ConvertContents([], contents)); Assert.Equal( "A(parameters) is not expected to be an object like \"A/B\", however it is used as an object in line 0 with `parameters/...`", ex.Message); diff --git a/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs b/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs index 4f9f8656300..db65cfef4c8 100644 --- a/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs +++ b/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs @@ -36,7 +36,7 @@ public SplitRestApiToOperationLevelTest() RawModelExportSettings = { Export = true }, TransformDocument = true, }; - _templateManager = new TemplateManager(new List { "template" }, null, "TestData/"); + _templateManager = new TemplateManager(["template"], null, "TestData/"); } [Fact] diff --git a/test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs b/test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs index 35f256a0879..a0d6cbcb63b 100644 --- a/test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs @@ -24,7 +24,7 @@ public void TestSchemaFragmentsIterator() } // act - iterator.Traverse(yamlStream.Documents[0].RootNode, new Dictionary(), schema); + iterator.Traverse(yamlStream.Documents[0].RootNode, [], schema); // assert Assert.Single(counter.ExistingUids); diff --git a/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs b/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs index 4bcb39a5f4e..630ff1c7c5e 100644 --- a/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs +++ b/test/Docfx.Build.Tests/ConceptualDocumentProcessorTest.cs @@ -43,7 +43,7 @@ public ConceptualDocumentProcessorTest() // Prepare conceptual template var templateCreator = new FileCreator(_templateFolder); var file = templateCreator.CreateFile("{{{conceptual}}}", "conceptual.html.tmpl", "default"); - _templateManager = new TemplateManager(new List { "default" }, null, _templateFolder); + _templateManager = new TemplateManager(["default"], null, _templateFolder); } public override void Dispose() diff --git a/test/Docfx.Build.Tests/DocumentBuilderTest.cs b/test/Docfx.Build.Tests/DocumentBuilderTest.cs index 67b4ae138f4..69ec1562538 100644 --- a/test/Docfx.Build.Tests/DocumentBuilderTest.cs +++ b/test/Docfx.Build.Tests/DocumentBuilderTest.cs @@ -48,19 +48,17 @@ public void TestBuild() CreateFile("conceptual.html.primary.tmpl", "{{{conceptual}}}", _templateFolder); var tocFile = CreateFile("toc.md", - new[] - { + [ "# [test1](test.md#bookmark)", "## [test2](test/test.md)", "## [GitHub](GitHub.md?shouldBeAbbreviated=true#test)", "# Api", "## [Console](@System.Console)", "## [ConsoleColor](xref:System.ConsoleColor)", - }, + ], _inputFolder); var conceptualFile = CreateFile("test.md", - new[] - { + [ "---", "uid: XRef1", "a: b", @@ -96,11 +94,10 @@ public void TestBuild() "Test href generator: [Git](Git.md?shouldBeAbbreviated=true#test)", "

    ", "test", - }, + ], _inputFolder); var conceptualFile2 = CreateFile("test/test.md", - new[] - { + [ "---", "uid: XRef2", "a: b", @@ -112,11 +109,10 @@ public void TestBuild() "Test link: [link text](../test.md)", "

    ", "test", - }, + ], _inputFolder); var conceptualFile3 = CreateFile("check-xrefmap.md", - new[] - { + [ "---", "uid: XRef1", "a: b", @@ -125,11 +121,10 @@ public void TestBuild() "---", "# Hello World", "Test xrefmap with duplicate uid in different files: XRef1 should be recorded with file check-xrefmap.md" - }, + ], _inputFolder); var conceptualFile4 = CreateFile("test/verify-xrefmap.md", - new[] - { + [ "---", "uid: XRef2", "a: b", @@ -138,7 +133,7 @@ public void TestBuild() "---", "# Hello World", "Test xrefmap with duplicate uid in different files: XRef2 should be recorded with file test/test.md" - }, + ], _inputFolder); FileCollection files = new(Directory.GetCurrentDirectory()); @@ -320,34 +315,32 @@ public void TestBuildConceptualWithTemplateShouldSucceed() ", _templateFolder); CreateFile("conceptual.html.tmpl", "{{.}}", _templateFolder); var conceptualFile = CreateFile("test.md", - new[] - { + [ "---", "uid: XRef1", "---", "# Hello World", "Test link: [link text](test/test.md)", "test", - }, + ], _inputFolder); var conceptualFile2 = CreateFile("test/test.md", - new[] - { + [ "---", "uid: XRef2", "---", "test", - }, + ], _inputFolder); - var tocFile = CreateFile("toc.md", new[] - { + var tocFile = CreateFile("toc.md", + [ "#[Test](test.md)" - }, + ], _inputFolder); - var tocFile2 = CreateFile("test/toc.md", new[] - { + var tocFile2 = CreateFile("test/toc.md", + [ "#[Test](test.md)" - }, + ], _inputFolder); FileCollection files = new(Directory.GetCurrentDirectory()); files.Add(DocumentType.Article, new[] { conceptualFile, conceptualFile2, tocFile, tocFile2 }); @@ -517,15 +510,13 @@ public void TestBuildWithInvalidPath() CreateFile("conceptual.html.primary.tmpl", "{{{conceptual}}}", _templateFolder); var tocFile = CreateFile("toc.md", - new[] - { + [ "# [test1](test.md)", "## [test2](test/test.md)", - }, + ], _inputFolder); var conceptualFile = CreateFile("test.md", - new[] - { + [ "# Hello World", "Test link: [link 1](test/test.md)", "Test link: [link 2](http://www.microsoft.com)", @@ -537,14 +528,13 @@ public void TestBuildWithInvalidPath() "Test link: [link 8](test/test.md#top)", "Test link: [link 9](a.md#top)", "Test link: [link 10](#top)", - }, + ], _inputFolder); var conceptualFile2 = CreateFile("test/test.md", - new[] - { + [ "# Hello World", "Test link: [link 1](../test.md)", - }, + ], _inputFolder); FileCollection files = new(Directory.GetCurrentDirectory()); @@ -630,19 +620,17 @@ public void TestBuildWithInvalidPathWithTokenAndMapping() CreateFile("conceptual.html.primary.tmpl", "{{{conceptual}}}", _templateFolder); var conceptualFile = CreateFile("a/a.md", - new[] - { + [ "[link a](invalid-a.md)", "[link b](../b/invalid-b.md)", "[!include[](../b/token.md)]", - }, + ], _inputFolder); var tokenFile = CreateFile("b/token.md", - new[] - { + [ "[link a](../a/invalid-a.md)", "[link b](invalid-b.md)", - }, + ], _inputFolder); FileCollection files = new(Directory.GetCurrentDirectory()); @@ -651,7 +639,7 @@ public void TestBuildWithInvalidPathWithTokenAndMapping() BuildDocument( files, - new Dictionary(), + [], templateFolder: _templateFolder); { @@ -672,7 +660,7 @@ public void TestBuildWithInvalidPathWithTokenAndMapping() private class FakeResponseHandler : DelegatingHandler { - private readonly Dictionary _fakeResponses = new(); + private readonly Dictionary _fakeResponses = []; protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { @@ -703,7 +691,7 @@ public void TestBuildWithMultipleVersion() BuildDocument( files, - new Dictionary(), + [], templateFolder: _templateFolder, versionDir: versionDir); @@ -740,10 +728,10 @@ private void BuildDocument( OutputBaseDir = Path.Combine(Directory.GetCurrentDirectory(), _outputFolder), ApplyTemplateSettings = applyTemplateSettings, Metadata = metadata?.ToImmutableDictionary(), - TemplateManager = new TemplateManager(new List { _templateFolder }, null, null), + TemplateManager = new TemplateManager([_templateFolder], null, null), TemplateDir = templateFolder, VersionDir = versionDir, - XRefMaps = ImmutableArray.Create("TestData/xrefmap.yml"), + XRefMaps = ["TestData/xrefmap.yml"], }; builder.Build(parameters); } diff --git a/test/Docfx.Build.Tests/DocumentProcessors/YamlDocumentModel.cs b/test/Docfx.Build.Tests/DocumentProcessors/YamlDocumentModel.cs index d05c828c08e..8623653babe 100644 --- a/test/Docfx.Build.Tests/DocumentProcessors/YamlDocumentModel.cs +++ b/test/Docfx.Build.Tests/DocumentProcessors/YamlDocumentModel.cs @@ -20,10 +20,10 @@ public class YamlDocumentModel [ExtensibleMember] [Newtonsoft.Json.JsonExtensionData] [System.Text.Json.Serialization.JsonExtensionData] - public Dictionary Data { get; set; } = new(); + public Dictionary Data { get; set; } = []; [YamlMember(Alias = "metadata")] [JsonProperty("metadata")] [JsonPropertyName("metadata")] - public Dictionary Metadata { get; set; } = new(); + public Dictionary Metadata { get; set; } = []; } diff --git a/test/Docfx.Build.Tests/FileMetadataHelperTest.cs b/test/Docfx.Build.Tests/FileMetadataHelperTest.cs index 0c3fd561d31..2768b57ea0a 100644 --- a/test/Docfx.Build.Tests/FileMetadataHelperTest.cs +++ b/test/Docfx.Build.Tests/FileMetadataHelperTest.cs @@ -122,18 +122,24 @@ public void TestGetChangedGlobs_CrossGlobsChanged() var patterns = new string[] { "*md", "*.m", "abc", "/[]\\*.cs", "*/*.cs", "**" }; var left = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + + [ new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true) - ) +, + ] }); var right = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + + [ new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true), new FileMetadataItem(new GlobMatcher(patterns[2]), "meta", "string") - ) +, + ] }); var actualResults = FileMetadataHelper.GetChangedGlobs(left, right).ToList(); @@ -150,17 +156,18 @@ public void TestGetChangedGlobs_ReduceGlobsChanged() var patterns = new string[] { "*md", "*.m", "abc", "/[]\\*.cs", "*/*.cs", "**" }; var left = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + + [ new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true) - ) +, + ] }); var right = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( - new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L) - ) + ["meta"] = [new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L)] }); var actualResults = FileMetadataHelper.GetChangedGlobs(left, right).ToList(); @@ -176,19 +183,25 @@ public void TestGetChangedGlobs_IncreaseGlobsChanged() var patterns = new string[] { "*md", "*.m", "abc" }; var left = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + + [ new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true) - ) +, + ] }); var right = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + + [ new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true), new FileMetadataItem(new GlobMatcher(patterns[2]), "meta", "string") - ) +, + ] }); var actualResults = FileMetadataHelper.GetChangedGlobs(left, right).ToList(); @@ -204,12 +217,15 @@ public void TestGetChangedGlobs_Changed() var patterns = new string[] { "*md", "*.m", "abc", "/[]\\*.cs", "*/*.cs", "**" }; var left = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + + [ new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true), new FileMetadataItem(new GlobMatcher(patterns[3]), "meta", new Dictionary { ["key"] = "2" }), new FileMetadataItem(new GlobMatcher(patterns[5]), "meta", new Dictionary { ["key"] = new object[] { "1", "2" } }) - ) +, + ] }); var right = new FileMetadata(baseDir, new Dictionary> @@ -238,18 +254,20 @@ public void TestGetChangedGlobs_Changed_Reverse() var patterns = new string[] { "*md", "*.m" }; var left = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + [ new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true) - ) + ] }); var right = new FileMetadata(baseDir, new Dictionary> { - ["meta"] = ImmutableArray.Create( + ["meta"] = + [ new FileMetadataItem(new GlobMatcher(patterns[1]), "meta", true), - new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L) - ) + new FileMetadataItem(new GlobMatcher(patterns[0]), "meta", 1L), + ] }); var actualResults = FileMetadataHelper.GetChangedGlobs(left, right).ToList(); diff --git a/test/Docfx.Build.Tests/JintProcessorHelperTest.cs b/test/Docfx.Build.Tests/JintProcessorHelperTest.cs index e520143599f..ff772e00a34 100644 --- a/test/Docfx.Build.Tests/JintProcessorHelperTest.cs +++ b/test/Docfx.Build.Tests/JintProcessorHelperTest.cs @@ -52,6 +52,6 @@ private sealed class TestData public Dictionary ValueDict { get; set; } = new() { [1] = "Value1", ["key"] = 2 }; - public List ValueList { get; set; } = new() { "ValueA", "ValueB" }; + public List ValueList { get; set; } = ["ValueA", "ValueB"]; } } diff --git a/test/Docfx.Build.Tests/TemplateProcessorUnitTest.cs b/test/Docfx.Build.Tests/TemplateProcessorUnitTest.cs index afa8b8cfbc1..097a821e3e6 100644 --- a/test/Docfx.Build.Tests/TemplateProcessorUnitTest.cs +++ b/test/Docfx.Build.Tests/TemplateProcessorUnitTest.cs @@ -61,6 +61,6 @@ private ManifestItem Process(string documentType, string fileName, object conten LocalPathFromRoot = fileName, Content = content, }; - return processor.Process(new List { inputItem }, new ApplyTemplateSettings(_inputFolder, _outputFolder))[0]; + return processor.Process([inputItem], new ApplyTemplateSettings(_inputFolder, _outputFolder))[0]; } } diff --git a/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs b/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs index 6b00e80586c..11d201e646f 100644 --- a/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs +++ b/test/Docfx.Build.Tests/TocDocumentProcessorTest.cs @@ -59,15 +59,15 @@ public void ProcessMarkdownTocWithComplexHrefShouldSucceed() var model = JsonUtility.Deserialize(outputRawModelPath); var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Constructor", Href = $"{href}.md", TopicHref = $"{href}.md", } - } + ] }; AssertTocEqual(expectedModel, model); @@ -93,27 +93,27 @@ public void ProcessMarkdownTocWithAbsoluteHrefShouldSucceed() var model = JsonUtility.Deserialize(outputRawModelPath); var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Topic1 Language", Href = "/href1", TopicHref = "/href1", - Items = new List - { + Items = + [ new() { Name = "Topic1.1 Language C#", - Items = new List - { + Items = + [ new() { Name = "Topic1.1.1", Href = "/href1.1.1", TopicHref = "/href1.1.1" } - } + ] }, new() { @@ -121,7 +121,7 @@ public void ProcessMarkdownTocWithAbsoluteHrefShouldSucceed() Href = string.Empty, TopicHref = string.Empty } - } + ] }, new() { @@ -129,7 +129,7 @@ public void ProcessMarkdownTocWithAbsoluteHrefShouldSucceed() Href = "http://href.com", TopicHref = "http://href.com" } - } + ] }; AssertTocEqual(expectedModel, model); @@ -157,29 +157,29 @@ public void ProcessMarkdownTocWithRelativeHrefShouldSucceed() var model = JsonUtility.Deserialize(outputRawModelPath); var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Topic1", Href = "/href1", TopicHref = "/href1", - Items = new List - { + Items = + [ new() { Name = "Topic1.1", Href = file1, TopicHref = file1, - Items = new List - { + Items = + [ new() { Name = "Topic1.1.1", Href = file2, TopicHref = file2 } - } + ] }, new() { @@ -187,7 +187,7 @@ public void ProcessMarkdownTocWithRelativeHrefShouldSucceed() Href = string.Empty, TopicHref = string.Empty } - } + ] }, new() { @@ -201,7 +201,7 @@ public void ProcessMarkdownTocWithRelativeHrefShouldSucceed() Href = "invalid.md", TopicHref = "invalid.md" } - } + ] }; AssertTocEqual(expectedModel, model); @@ -237,15 +237,15 @@ public void ProcessYamlTocWithFolderShouldSucceed() var model = JsonUtility.Deserialize(outputRawModelPath); var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Topic1", Href = file1, TopicHref = file1, - Items = new List - { + Items = + [ new() { Name = "Topic1.1", @@ -261,7 +261,7 @@ public void ProcessYamlTocWithFolderShouldSucceed() TopicHref = file1, TocHref = "sub/toc.md", } - } + ] }, new() { @@ -270,7 +270,7 @@ public void ProcessYamlTocWithFolderShouldSucceed() TopicHref = file2, TocHref = "sub/toc.md", } - } + ] }; AssertTocEqual(expectedModel, model); @@ -316,24 +316,24 @@ public void ProcessYamlTocWithMetadataShouldSucceed() var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Topic1", Href = file1, TopicHref = file1, - Items = new List - { + Items = + [ new() { Name = "Topic1.1", Href = file1, // For relative file, href keeps unchanged TopicHref = file1, } - } + ] } - } + ] }; AssertTocEqual(expectedModel, model); } @@ -385,23 +385,23 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() var model = JsonUtility.Deserialize(outputRawModelPath); var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Topic1", Href = file1, TopicHref = file1, - Items = new List - { + Items = + [ new() { Name = "Topic1.1", IncludedFrom = "~/sub1/toc.md", Href = null, // For referenced toc, the content from the referenced toc is expanded as the items of current toc, and href is cleared TopicHref = null, - Items = new List - { + Items = + [ new() { Name = "Topic", @@ -412,8 +412,8 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() { Name = "ReferencedToc", IncludedFrom = "~/sub1/sub2/toc.yml", - Items = new List - { + Items = + [ new() { Name = "Topic", @@ -426,22 +426,22 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() Href = "sub1/sub2/a/b/c.md", TopicHref = "sub1/sub2/a/b/c.md", } - } + ] }, new() { Name = "ReferencedToc2", IncludedFrom = "~/sub1/sub3/toc.md", - Items = new List - { + Items = + [ new() { Name = "Not-existed-md", Href = "sub1/sub3/sub2/notexist.md", TopicHref = "sub1/sub3/sub2/notexist.md", }, - } + ] }, new() { @@ -449,7 +449,7 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() Href = "sub1/sub2/notexist.md", TopicHref = "sub1/sub2/notexist.md", } - } + ] }, new() { @@ -458,8 +458,8 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() TopicHref = file1, IncludedFrom = "~/sub1/toc.md", Homepage = file1, - Items = new List - { + Items = + [ new() { Name = "Topic", @@ -470,8 +470,8 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() { Name = "ReferencedToc", IncludedFrom = "~/sub1/sub2/toc.yml", - Items = new List - { + Items = + [ new() { Name = "Topic", @@ -484,21 +484,21 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() Href = "sub1/sub2/a/b/c.md", TopicHref = "sub1/sub2/a/b/c.md", } - } + ] }, new() { Name = "ReferencedToc2", IncludedFrom = "~/sub1/sub3/toc.md", - Items = new List - { + Items = + [ new() { Name = "Not-existed-md", Href = "sub1/sub3/sub2/notexist.md", TopicHref = "sub1/sub3/sub2/notexist.md", } - } + ] }, new() { @@ -506,17 +506,17 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() Href = "sub1/sub2/notexist.md", TopicHref = "sub1/sub2/notexist.md", } - } + ] } - } + ] }, new() { Name = "Topic2", IncludedFrom = "~/sub1/sub2/toc.yml", Href = null, - Items = new List - { + Items = + [ new() { Name = "Topic", @@ -529,9 +529,9 @@ public void ProcessYamlTocWithReferencedTocShouldSucceed() Href = "sub1/sub2/a/b/c.md", TopicHref = "sub1/sub2/a/b/c.md", } - } + ] } - } + ] }; AssertTocEqual(expectedModel, model); @@ -574,7 +574,7 @@ public void ProcessMarkdownTocWithNonExistentReferencedTocShouldLogError() var files = new FileCollection(_inputFolder); files.Add(DocumentType.Article, new[] { toc }); - var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter(new List { WarningCodes.Build.InvalidTocInclude }); + var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter([WarningCodes.Build.InvalidTocInclude]); Logger.RegisterListener(listener); BuildDocument(files); @@ -598,7 +598,7 @@ public void ProcessYamlTocWithNonExistentReferencedTocShouldLogError() var files = new FileCollection(_inputFolder); files.Add(DocumentType.Article, new[] { toc }); - var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter(new List { WarningCodes.Build.InvalidTocInclude }); + var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter([WarningCodes.Build.InvalidTocInclude]); Logger.RegisterListener(listener); BuildDocument(files); Logger.UnregisterListener(listener); @@ -644,8 +644,8 @@ public void ProcessYamlTocWithTocHrefShouldSucceed() var model = JsonUtility.Deserialize(outputRawModelPath); var expectedModel = new TocItemViewModel { - Items = new List - { + Items = + [ new() { Name = "Topic1", @@ -653,8 +653,8 @@ public void ProcessYamlTocWithTocHrefShouldSucceed() TocHref = "/Topic1/", Homepage = "/Topic1/index.html", TopicHref = "/Topic1/index.html", - Items = new List - { + Items = + [ new() { Name = "Topic1.1", @@ -671,7 +671,7 @@ public void ProcessYamlTocWithTocHrefShouldSucceed() Homepage = "/Topic1.2/index.html", TopicHref = "/Topic1.2/index.html", } - } + ] }, new() { @@ -681,7 +681,7 @@ public void ProcessYamlTocWithTocHrefShouldSucceed() TopicHref = file2, Homepage = file2, } - } + ] }; AssertTocEqual(expectedModel, model); @@ -812,7 +812,7 @@ public void WarningShouldBeFromIncludedToc() // Act var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter( - new List { WarningCodes.Build.InvalidFileLink, WarningCodes.Build.UidNotFound }); + [WarningCodes.Build.InvalidFileLink, WarningCodes.Build.UidNotFound]); Logger.RegisterListener(listener); BuildDocument(files); Logger.UnregisterListener(listener); @@ -840,7 +840,7 @@ public void UrlDecodeHrefInYamlToc() // Act var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter( - new List { WarningCodes.Build.InvalidFileLink }); + [WarningCodes.Build.InvalidFileLink]); Logger.RegisterListener(listener); BuildDocument(files); Logger.UnregisterListener(listener); @@ -862,7 +862,7 @@ public void UrlDecodeHrefInMarkdownToc() // Act var listener = TestLoggerListener.CreateLoggerListenerWithCodesFilter( - new List { WarningCodes.Build.InvalidFileLink }); + [WarningCodes.Build.InvalidFileLink]); Logger.RegisterListener(listener); BuildDocument(files); Logger.UnregisterListener(listener); diff --git a/test/Docfx.Build.Tests/TocRestructureTest.cs b/test/Docfx.Build.Tests/TocRestructureTest.cs index b25c761b68f..f1308faf7c9 100644 --- a/test/Docfx.Build.Tests/TocRestructureTest.cs +++ b/test/Docfx.Build.Tests/TocRestructureTest.cs @@ -259,7 +259,7 @@ private TocItemViewModel GetTocItem(string layout) } var root = new TocItemViewModel { - Items = new() + Items = [] }; var stack = new Stack>(); stack.Push(Tuple.Create(new LineInfo @@ -280,7 +280,7 @@ private TocItemViewModel GetTocItem(string layout) var parent = stack.Peek(); if (parent.Item2.Items == null) { - parent.Item2.Items = new(); + parent.Item2.Items = []; } parent.Item2.Items.Add(item); @@ -291,8 +291,8 @@ private TocItemViewModel GetTocItem(string layout) private IEnumerable GetLines(string layout) { - return layout.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries) - .SelectMany(s => s.Split(new string[] { "\n" }, StringSplitOptions.RemoveEmptyEntries)) + return layout.Split(["\r\n"], StringSplitOptions.RemoveEmptyEntries) + .SelectMany(s => s.Split(["\n"], StringSplitOptions.RemoveEmptyEntries)) .Where(s => !string.IsNullOrWhiteSpace(s)).Select(GetLineInfo); } diff --git a/test/Docfx.Build.Tests/XRefMapSerializationTest.cs b/test/Docfx.Build.Tests/XRefMapSerializationTest.cs index 6925b4234f0..8ab4489200b 100644 --- a/test/Docfx.Build.Tests/XRefMapSerializationTest.cs +++ b/test/Docfx.Build.Tests/XRefMapSerializationTest.cs @@ -19,16 +19,16 @@ public void XRefMapSerializationRoundTripTest() BaseUrl = "http://localhost", Sorted = true, HrefUpdated = null, - Redirections = new List - { + Redirections = + [ new() { Href = "Dummy", UidPrefix = "Dummy" }, - }, - References = new List - { + ], + References = + [ new(new Dictionary { ["Additional1"] = "Dummy", @@ -40,7 +40,7 @@ public void XRefMapSerializationRoundTripTest() CommentId ="Dummy", IsSpec = true, }, - }, + ], Others = new Dictionary { ["StringValue"] = "Dummy", diff --git a/test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs b/test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs index 04240ae3d34..acad455356f 100644 --- a/test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs +++ b/test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs @@ -34,7 +34,7 @@ public UniversalReferenceDocumentProcessorTest() RawModelExportSettings = { Export = true }, TransformDocument = true, }; - _templateManager = new TemplateManager(new List { "template" }, null, "TestData/"); + _templateManager = new TemplateManager(["template"], null, "TestData/"); } #region Python diff --git a/test/Docfx.Common.Tests/CompositeDictionaryTest.cs b/test/Docfx.Common.Tests/CompositeDictionaryTest.cs index 2bbe7ee86b0..ff8f6e735bf 100644 --- a/test/Docfx.Common.Tests/CompositeDictionaryTest.cs +++ b/test/Docfx.Common.Tests/CompositeDictionaryTest.cs @@ -105,9 +105,9 @@ public void TestThrowCaseForCompositeDictionary() private sealed class C { - public Dictionary D1 { get; } = new(); - public SortedDictionary D2 { get; } = new(); - public SortedList D3 { get; } = new(); + public Dictionary D1 { get; } = []; + public SortedDictionary D2 { get; } = []; + public SortedList D3 { get; } = []; private CompositeDictionary _cd; public CompositeDictionary CD { diff --git a/test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs b/test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs index 138b4c9795f..bb39a7e9f56 100644 --- a/test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs +++ b/test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs @@ -30,8 +30,8 @@ public void ConvertComplexTypeToObjectShouldWork() var complexType = new ComplexType { String = "String", - List = new List(), - IntDictionary = new Dictionary() + List = [], + IntDictionary = [] }; var result = ConvertToObjectHelper.ConvertStrongTypeToObject(complexType); Assert.Equal(typeof(Dictionary), result.GetType()); @@ -45,8 +45,8 @@ public void ConvertComplexTypeWithJsonAttributeToObjectShouldUseAttributeAsPrope var complexType = new ComplexTypeWithJson { String = "String", - List = new List(), - IntDictionary = new Dictionary() + List = [], + IntDictionary = [] }; var result = ConvertToObjectHelper.ConvertStrongTypeToObject(complexType); Assert.Equal(typeof(Dictionary), result.GetType()); diff --git a/test/Docfx.Common.Tests/PathUtilityTest.cs b/test/Docfx.Common.Tests/PathUtilityTest.cs index aaceedef989..5dba7472edd 100644 --- a/test/Docfx.Common.Tests/PathUtilityTest.cs +++ b/test/Docfx.Common.Tests/PathUtilityTest.cs @@ -46,10 +46,10 @@ private static class TestData { "/temp/dir", "/temp/dir/subdir/", "subdir/"}, // If target path endsWith directory separator char. resolved path should contain directory separator. }; - public static TheoryData EscapedPaths = new() - { + public static TheoryData EscapedPaths = + [ "EscapedHypen(%2D).md", // Contains escaped hypen char "EscapedSpace(%20)_with_NonAsciiChar(α).md", // Contains escaped space char and non-unicode char - }; + ]; } } diff --git a/test/Docfx.Common.Tests/YamlSerializationTest.cs b/test/Docfx.Common.Tests/YamlSerializationTest.cs index a2b1315ffce..74fb179a5c3 100644 --- a/test/Docfx.Common.Tests/YamlSerializationTest.cs +++ b/test/Docfx.Common.Tests/YamlSerializationTest.cs @@ -325,11 +325,11 @@ public void TestListOfClassWithExtensibleMembers() public class ClassWithExtensibleMembers : BasicClass { [ExtensibleMember("s.")] - public SortedDictionary StringExtensions { get; } = new(); + public SortedDictionary StringExtensions { get; } = []; [ExtensibleMember("i.")] - public SortedList IntegerExtensions { get; } = new(); + public SortedList IntegerExtensions { get; } = []; [ExtensibleMember()] - public Dictionary ObjectExtensions { get; } = new(); + public Dictionary ObjectExtensions { get; } = []; } [Fact] @@ -364,7 +364,7 @@ public void TestClassWithInterfaceMember() var sw = new StringWriter(); YamlUtility.Serialize(sw, new ClassWithInterfaceMember { - List = new List { "a" }, + List = ["a"], ReadOnlyList = new[] { "b" }, Collection = new Collection { "c" }, ReadOnlyCollection = ImmutableList.Create("d"), diff --git a/test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs b/test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs index 7f7babdf6d3..0a1f3a32b08 100644 --- a/test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs @@ -10,7 +10,7 @@ namespace Docfx.Dotnet.Tests; [Collection("docfx STA")] public class ApiFilterUnitTest { - private static readonly Dictionary EmptyMSBuildProperties = new(); + private static readonly Dictionary EmptyMSBuildProperties = []; [Fact] public void TestApiFilter() diff --git a/test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs b/test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs index 862bdf0d125..fbad40a99f4 100644 --- a/test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs @@ -12,7 +12,7 @@ namespace Docfx.Dotnet.Tests; [Collection("docfx STA")] public class GenerateMetadataFromCSUnitTest { - private static readonly Dictionary EmptyMSBuildProperties = new(); + private static readonly Dictionary EmptyMSBuildProperties = []; private static MetadataItem Verify(string code, ExtractMetadataConfig config = null, IDictionary msbuildProperties = null, MetadataReference[] references = null) { diff --git a/test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs b/test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs index 502a6144ca7..41c5d2d378d 100644 --- a/test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs @@ -11,7 +11,7 @@ namespace Docfx.Dotnet.Tests; [Collection("docfx STA")] public class GenerateMetadataFromVBUnitTest { - private static readonly Dictionary EmptyMSBuildProperties = new(); + private static readonly Dictionary EmptyMSBuildProperties = []; private static MetadataItem Verify(string code, ExtractMetadataConfig config = null, IDictionary msbuildProperties = null, MetadataReference[] references = null) { diff --git a/test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs index 32d6ac85ba1..96c98606e4b 100644 --- a/test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs +++ b/test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs @@ -23,9 +23,9 @@ public static string VerifyMarkup( Dictionary notes = null, PlantUmlOptions plantUml = null) { - errors ??= Array.Empty(); - tokens ??= new Dictionary(); - files ??= new Dictionary(); + errors ??= []; + tokens ??= []; + files ??= []; optionalExtensions ??= []; var actualErrors = new List(); diff --git a/test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs b/test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs index f1f562fdcbb..5b3c1e0354f 100644 --- a/test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs +++ b/test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs @@ -7,7 +7,7 @@ namespace Docfx.MarkdigEngine.Tests; internal class TestLoggerListener : ILoggerListener { - public List Items { get; } = new(); + public List Items { get; } = []; public void Dispose() { diff --git a/test/Docfx.Tests.Common/TestBase.cs b/test/Docfx.Tests.Common/TestBase.cs index 77abe916218..b778e191d4f 100644 --- a/test/Docfx.Tests.Common/TestBase.cs +++ b/test/Docfx.Tests.Common/TestBase.cs @@ -8,7 +8,7 @@ namespace Docfx.Tests.Common; public class TestBase : IClassFixture, IDisposable { - private readonly List _folderCollection = new(); + private readonly List _folderCollection = []; private readonly object _locker = new(); protected string GetRandomFolder() diff --git a/test/Docfx.Tests.Common/TestListenerScope.cs b/test/Docfx.Tests.Common/TestListenerScope.cs index 9607a8c084c..13c43b8bc32 100644 --- a/test/Docfx.Tests.Common/TestListenerScope.cs +++ b/test/Docfx.Tests.Common/TestListenerScope.cs @@ -15,7 +15,7 @@ public class TestListenerScope : ILoggerListener, IDisposable public TestListenerScope(LogLevel logLevel = LogLevel.Warning) { _logLevel = logLevel; - s_items.Value = new(); + s_items.Value = []; Logger.RegisterListener(this); } diff --git a/test/Docfx.Tests.Common/TestLoggerListener.cs b/test/Docfx.Tests.Common/TestLoggerListener.cs index f284e2d53ca..c2cd6beaa8b 100644 --- a/test/Docfx.Tests.Common/TestLoggerListener.cs +++ b/test/Docfx.Tests.Common/TestLoggerListener.cs @@ -7,7 +7,7 @@ namespace Docfx.Tests.Common; public class TestLoggerListener : ILoggerListener { - public List Items { get; } = new(); + public List Items { get; } = []; private readonly Func _filter;