From ad4d1f7b54f50f92aea8a1d91ad884c53a7a6570 Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Sun, 17 Sep 2023 22:18:27 +0800 Subject: [PATCH 1/2] feat: support csharp 12 --- .github/workflows/ci.yml | 10 ++-- .github/workflows/release.yml | 6 +-- Directory.Packages.props | 3 +- NuGet.config | 5 -- samples/csharp/src/CSharp.csproj | 4 +- samples/csharp/src/CSharp12.cs | 78 ++++++++++++++++++++++++++++++++ 6 files changed, 90 insertions(+), 16 deletions(-) create mode 100644 samples/csharp/src/CSharp12.cs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 847d8f5fbfa..18fe14053ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,9 +31,9 @@ jobs: if: matrix.os == 'windows-latest' - run: dotnet test -c Release -f net8.0 --no-build --collect:"XPlat Code Coverage" - if: matrix.os == 'ubuntu-latest' - run: dotnet test -c Release -f net7.0 --no-build --collect:"XPlat Code Coverage" + if: matrix.os == 'ubuntu-latest' - run: dotnet test -c Release -f net6.0 --no-build --collect:"XPlat Code Coverage" if: matrix.os == 'ubuntu-latest' @@ -41,10 +41,10 @@ jobs: - uses: codecov/codecov-action@v3 if: matrix.os == 'ubuntu-latest' - - run: dotnet run -c Release --no-build -f net7.0 --project src/docfx -- docs/docfx.json + - run: dotnet run -c Release --no-build -f net8.0 --project src/docfx -- docs/docfx.json - - run: dotnet run -c Release --no-build -f net7.0 --project src/docfx -- metadata samples/seed/docfx.json - - run: dotnet run -c Release --no-build -f net7.0 --project src/docfx -- build samples/seed/docfx.json --output docs/_site/seed + - run: dotnet run -c Release --no-build -f net8.0 --project src/docfx -- metadata samples/seed/docfx.json + - run: dotnet run -c Release --no-build -f net8.0 --project src/docfx -- build samples/seed/docfx.json --output docs/_site/seed - uses: actions/upload-artifact@v3 if: matrix.os == 'ubuntu-latest' @@ -64,7 +64,7 @@ jobs: - uses: ./.github/actions/build - run: dotnet build -c Release samples/extensions/build - - run: dotnet test -c Release -f net7.0 --no-build --filter Stage=Snapshot + - run: dotnet test -c Release -f net8.0 --no-build --filter Stage=Snapshot working-directory: test/docfx.Snapshot.Tests env: SNAPSHOT_TEST: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b01dd5673b3..0cb3c8eceba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,9 +32,9 @@ jobs: - name: dotnet publish run: | - dotnet publish src/docfx -f net7.0 -c Release /p:Version=${GITHUB_REF_NAME#v} --self-contained -r win-x64 -o drop/publish/win-x64 - dotnet publish src/docfx -f net7.0 -c Release /p:Version=${GITHUB_REF_NAME#v} --self-contained -r linux-x64 -o drop/publish/linux-x64 - dotnet publish src/docfx -f net7.0 -c Release /p:Version=${GITHUB_REF_NAME#v} --self-contained -r osx-x64 -o drop/publish/osx-x64 + dotnet publish src/docfx -f net8.0 -c Release /p:Version=${GITHUB_REF_NAME#v} --self-contained -r win-x64 -o drop/publish/win-x64 + dotnet publish src/docfx -f net8.0 -c Release /p:Version=${GITHUB_REF_NAME#v} --self-contained -r linux-x64 -o drop/publish/linux-x64 + dotnet publish src/docfx -f net8.0 -c Release /p:Version=${GITHUB_REF_NAME#v} --self-contained -r osx-x64 -o drop/publish/osx-x64 mkdir -p drop/bin - run: zip -r ../../bin/docfx-win-x64-${GITHUB_REF_NAME}.zip . diff --git a/Directory.Packages.props b/Directory.Packages.props index da9df9ba66f..5ffd4b54d7c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -41,7 +41,8 @@ - + + diff --git a/NuGet.config b/NuGet.config index 1f3f6656670..a7cb980c956 100644 --- a/NuGet.config +++ b/NuGet.config @@ -5,9 +5,4 @@ - - - - - diff --git a/samples/csharp/src/CSharp.csproj b/samples/csharp/src/CSharp.csproj index 6cd3eb3da1c..d7878789ae8 100644 --- a/samples/csharp/src/CSharp.csproj +++ b/samples/csharp/src/CSharp.csproj @@ -1,8 +1,8 @@ - net7.0 - latest + net8.0 + preview enable enable true diff --git a/samples/csharp/src/CSharp12.cs b/samples/csharp/src/CSharp12.cs new file mode 100644 index 00000000000..717847227e6 --- /dev/null +++ b/samples/csharp/src/CSharp12.cs @@ -0,0 +1,78 @@ +namespace CSharp12; + +using Markdown = string; + +public class PrimaryConstructors +{ + public readonly struct Distance(double dx, double dy) + { + public readonly double Magnitude = Math.Sqrt(dx * dx + dy * dy); + public readonly double Direction = Math.Atan2(dy, dx); + } + + public class BankAccount(string accountID, string owner) + { + public string AccountID { get; } = accountID; + public string Owner { get; } = owner; + + public override string ToString() => $"Account ID: {AccountID}, Owner: {Owner}"; + } + + public class CheckAccount(string accountID, string owner, decimal overdraftLimit = 0) : BankAccount(accountID, owner) + { + public decimal CurrentBalance { get; private set; } = 0; + + public void Deposit(decimal amount) + { + if (amount < 0) + { + throw new ArgumentOutOfRangeException(nameof(amount), "Deposit amount must be positive"); + } + CurrentBalance += amount; + } + + public void Withdrawal(decimal amount) + { + if (amount < 0) + { + throw new ArgumentOutOfRangeException(nameof(amount), "Withdrawal amount must be positive"); + } + if (CurrentBalance - amount < -overdraftLimit) + { + throw new InvalidOperationException("Insufficient funds for withdrawal"); + } + CurrentBalance -= amount; + } + + public override string ToString() => $"Account ID: {AccountID}, Owner: {Owner}, Balance: {CurrentBalance}"; + } +} + +public class CollectionExpressions +{ + public static int[] a = [1, 2, 3, 4, 5, 6, 7, 8]; + + public static Span b => ['a', 'b', 'c', 'd', 'e', 'f', 'h', 'i']; + + public static int[][] twoD = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]; +} + +public class DefaultLambdaParameters +{ + public void Foo() + { + var addWithDefault = (int addTo = 2) => addTo + 1; + addWithDefault(); // 3 + addWithDefault(5); // 6 + + var counter = (params int[] xs) => xs.Length; + counter(); // 0 + counter(1, 2, 3); // 3 + } +} + +[System.Runtime.CompilerServices.InlineArray(10)] +public struct InlineArrays +{ + private int _element0; +} From 1bd9f349f3db62b08643c64fa12f268e62f12d4b Mon Sep 17 00:00:00 2001 From: yufeih Date: Mon, 18 Sep 2023 09:36:50 +0000 Subject: [PATCH 2/2] test(snapshot): update snapshots for f60502e29bdcbd66b04053082f0179297ad6e7e6 --- ...lectionExpressions.html.view.verified.json | 1157 ++++++++++ ...ltLambdaParameters.html.view.verified.json | 832 ++++++++ ...arp12.InlineArrays.html.view.verified.json | 590 ++++++ ...uctors.BankAccount.html.view.verified.json | 1491 +++++++++++++ ...ctors.CheckAccount.html.view.verified.json | 1852 +++++++++++++++++ ...structors.Distance.html.view.verified.json | 1102 ++++++++++ ...rimaryConstructors.html.view.verified.json | 691 ++++++ .../api/CSharp12.html.view.verified.json | 619 ++++++ .../api/toc.html.view.verified.json | 80 + .../SamplesTest.CSharp/xrefmap.verified.yml | 252 +++ 10 files changed, 8666 insertions(+) create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json create mode 100644 test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json 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 new file mode 100644 index 00000000000..638aa21bfc7 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json @@ -0,0 +1,1157 @@ +{ + "uid": "CSharp12.CollectionExpressions", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [ + { + "inField": true, + "typePropertyName": "inField", + "id": "fields", + "children": [ + { + "uid": "CSharp12.CollectionExpressions.a", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.CollectionExpressions", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "a" + }, + { + "lang": "vb", + "value": "a" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CollectionExpressions.a" + }, + { + "lang": "vb", + "value": "CollectionExpressions.a" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.CollectionExpressions.a" + }, + { + "lang": "vb", + "value": "CSharp12.CollectionExpressions.a" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public static int[] a" + }, + { + "lang": "vb", + "value": "Public Shared a As Integer()" + } + ], + "return": null, + "fieldValue": { + "type": { + "uid": "System.Int32[]", + "name": [ + { + "lang": "csharp", + "value": "int[]" + }, + { + "lang": "vb", + "value": "Integer()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "int[]" + }, + { + "lang": "vb", + "value": "Integer()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "int[]" + }, + { + "lang": "vb", + "value": "Integer()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "int[]" + }, + { + "lang": "vb", + "value": "Integer()" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "a", + "path": "src/CSharp12.cs", + "startLine": 52.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "level": 0.0, + "type": "field", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_CollectionExpressions_a.md&value=---%0Auid%3A%20CSharp12.CollectionExpressions.a%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/csharp/src/CSharp12.cs/#L53", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_CollectionExpressions_a", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.CollectionExpressions.twoD", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.CollectionExpressions", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "twoD" + }, + { + "lang": "vb", + "value": "twoD" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CollectionExpressions.twoD" + }, + { + "lang": "vb", + "value": "CollectionExpressions.twoD" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.CollectionExpressions.twoD" + }, + { + "lang": "vb", + "value": "CSharp12.CollectionExpressions.twoD" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public static int[][] twoD" + }, + { + "lang": "vb", + "value": "Public Shared twoD As Integer()()" + } + ], + "return": null, + "fieldValue": { + "type": { + "uid": "System.Int32[][]", + "name": [ + { + "lang": "csharp", + "value": "int[][]" + }, + { + "lang": "vb", + "value": "Integer()()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "int[][]" + }, + { + "lang": "vb", + "value": "Integer()()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "int[][]" + }, + { + "lang": "vb", + "value": "Integer()()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "int[][]" + }, + { + "lang": "vb", + "value": "Integer()()" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "twoD", + "path": "src/CSharp12.cs", + "startLine": 56.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "level": 0.0, + "type": "field", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_CollectionExpressions_twoD.md&value=---%0Auid%3A%20CSharp12.CollectionExpressions.twoD%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/csharp/src/CSharp12.cs/#L57", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_CollectionExpressions_twoD", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inProperty": true, + "typePropertyName": "inProperty", + "id": "properties", + "children": [ + { + "uid": "CSharp12.CollectionExpressions.b", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.CollectionExpressions", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "b" + }, + { + "lang": "vb", + "value": "b" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CollectionExpressions.b" + }, + { + "lang": "vb", + "value": "CollectionExpressions.b" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.CollectionExpressions.b" + }, + { + "lang": "vb", + "value": "CSharp12.CollectionExpressions.b" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public static Span b { get; }" + }, + { + "lang": "vb", + "value": "Public Shared ReadOnly Property b As Span(Of Integer)" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.Span{System.Int32}", + "definition": "System.Span`1", + "name": [ + { + "lang": "csharp", + "value": "Span" + }, + { + "lang": "vb", + "value": "Span(Of Integer)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "Span" + }, + { + "lang": "vb", + "value": "Span(Of Integer)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.Span" + }, + { + "lang": "vb", + "value": "System.Span(Of Integer)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Span<int>" + }, + { + "lang": "vb", + "value": "Span(Of Integer)" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "b", + "path": "src/CSharp12.cs", + "startLine": 54.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.CollectionExpressions.b*", + "name": [ + { + "lang": "csharp", + "value": "b" + }, + { + "lang": "vb", + "value": "b" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CollectionExpressions.b" + }, + { + "lang": "vb", + "value": "CollectionExpressions.b" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.CollectionExpressions.b" + }, + { + "lang": "vb", + "value": "CSharp12.CollectionExpressions.b" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_CollectionExpressions_b_" + }, + "level": 0.0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_CollectionExpressions_b.md&value=---%0Auid%3A%20CSharp12.CollectionExpressions.b%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/csharp/src/CSharp12.cs/#L55", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_CollectionExpressions_b", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "CollectionExpressions" + }, + { + "lang": "vb", + "value": "CollectionExpressions" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CollectionExpressions" + }, + { + "lang": "vb", + "value": "CollectionExpressions" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.CollectionExpressions" + }, + { + "lang": "vb", + "value": "CSharp12.CollectionExpressions" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "CollectionExpressions", + "path": "src/CSharp12.cs", + "startLine": 50.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class CollectionExpressions" + }, + { + "lang": "vb", + "value": "Public Class CollectionExpressions" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "index": 0.0 + } + ], + "level": 1.0, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.CollectionExpressions.yml", + "_path": "api/CSharp12.CollectionExpressions.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_CollectionExpressions.md&value=---%0Auid%3A%20CSharp12.CollectionExpressions%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/csharp/src/CSharp12.cs/#L51", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_CollectionExpressions", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..25bb756c9de --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json @@ -0,0 +1,832 @@ +{ + "uid": "CSharp12.DefaultLambdaParameters", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [ + { + "inMethod": true, + "typePropertyName": "inMethod", + "id": "methods", + "children": [ + { + "uid": "CSharp12.DefaultLambdaParameters.Foo", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.DefaultLambdaParameters", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Foo()" + }, + { + "lang": "vb", + "value": "Foo()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "DefaultLambdaParameters.Foo()" + }, + { + "lang": "vb", + "value": "DefaultLambdaParameters.Foo()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.DefaultLambdaParameters.Foo()" + }, + { + "lang": "vb", + "value": "CSharp12.DefaultLambdaParameters.Foo()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void Foo()" + }, + { + "lang": "vb", + "value": "Public Sub Foo()" + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Foo", + "path": "src/CSharp12.cs", + "startLine": 61.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.DefaultLambdaParameters.Foo*", + "name": [ + { + "lang": "csharp", + "value": "Foo" + }, + { + "lang": "vb", + "value": "Foo" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "DefaultLambdaParameters.Foo" + }, + { + "lang": "vb", + "value": "DefaultLambdaParameters.Foo" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.DefaultLambdaParameters.Foo" + }, + { + "lang": "vb", + "value": "CSharp12.DefaultLambdaParameters.Foo" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_DefaultLambdaParameters_Foo_" + }, + "level": 0.0, + "type": "method", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_DefaultLambdaParameters_Foo.md&value=---%0Auid%3A%20CSharp12.DefaultLambdaParameters.Foo%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/csharp/src/CSharp12.cs/#L62", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_DefaultLambdaParameters_Foo", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "DefaultLambdaParameters" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "DefaultLambdaParameters" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "CSharp12.DefaultLambdaParameters" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "DefaultLambdaParameters", + "path": "src/CSharp12.cs", + "startLine": 59.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "Public Class DefaultLambdaParameters" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "index": 0.0 + } + ], + "level": 1.0, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.DefaultLambdaParameters.yml", + "_path": "api/CSharp12.DefaultLambdaParameters.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_DefaultLambdaParameters.md&value=---%0Auid%3A%20CSharp12.DefaultLambdaParameters%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/csharp/src/CSharp12.cs/#L60", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_DefaultLambdaParameters", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..d1487b63360 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json @@ -0,0 +1,590 @@ +{ + "uid": "CSharp12.InlineArrays", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "InlineArrays" + }, + { + "lang": "vb", + "value": "InlineArrays" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "InlineArrays" + }, + { + "lang": "vb", + "value": "InlineArrays" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.InlineArrays" + }, + { + "lang": "vb", + "value": "CSharp12.InlineArrays" + } + ], + "type": "struct", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "InlineArrays", + "path": "src/CSharp12.cs", + "startLine": 73.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public struct InlineArrays" + }, + { + "lang": "vb", + "value": "Public Structure InlineArrays" + } + ] + }, + "level": 0.0, + "inheritedMembers": [ + { + "uid": "System.ValueType.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.ValueType", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "ValueType.Equals(object)" + }, + { + "lang": "vb", + "value": "ValueType.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.ValueType.Equals(object)" + }, + { + "lang": "vb", + "value": "System.ValueType.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.ValueType.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.ValueType", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "ValueType.GetHashCode()" + }, + { + "lang": "vb", + "value": "ValueType.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.ValueType.GetHashCode()" + }, + { + "lang": "vb", + "value": "System.ValueType.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.ValueType.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.ValueType", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.valuetype.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "ValueType.ToString()" + }, + { + "lang": "vb", + "value": "ValueType.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.ValueType.ToString()" + }, + { + "lang": "vb", + "value": "System.ValueType.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.InlineArrays.yml", + "_path": "api/CSharp12.InlineArrays.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_InlineArrays.md&value=---%0Auid%3A%20CSharp12.InlineArrays%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/csharp/src/CSharp12.cs/#L74", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_InlineArrays", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inStruct": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..6207056c885 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json @@ -0,0 +1,1491 @@ +{ + "uid": "CSharp12.PrimaryConstructors.BankAccount", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [ + { + "inConstructor": true, + "typePropertyName": "inConstructor", + "id": "constructors", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.BankAccount.#ctor(System.String,System.String)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.BankAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "BankAccount(string, string)" + }, + { + "lang": "vb", + "value": "New(String, String)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.BankAccount(string, string)" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.New(String, String)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.BankAccount(string, string)" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.New(String, String)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public BankAccount(string accountID, string owner)" + }, + { + "lang": "vb", + "value": "Public Sub New(accountID As String, owner As String)" + } + ], + "parameters": [ + { + "id": "accountID", + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + }, + { + "id": "owner", + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": ".ctor", + "path": "src/CSharp12.cs", + "startLine": 12.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.BankAccount.#ctor*", + "name": [ + { + "lang": "csharp", + "value": "BankAccount" + }, + { + "lang": "vb", + "value": "New" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.New" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.BankAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.New" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_BankAccount__ctor_" + }, + "level": 0.0, + "type": "constructor", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_BankAccount__ctor_System_String_System_String_.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.BankAccount.%23ctor(System.String%2CSystem.String)%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/csharp/src/CSharp12.cs/#L13", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_BankAccount__ctor_System_String_System_String_", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inProperty": true, + "typePropertyName": "inProperty", + "id": "properties", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.BankAccount.AccountID", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.BankAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "AccountID" + }, + { + "lang": "vb", + "value": "AccountID" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.AccountID" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.AccountID" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.AccountID" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.AccountID" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public string AccountID { get; }" + }, + { + "lang": "vb", + "value": "Public ReadOnly Property AccountID As String" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "AccountID", + "path": "src/CSharp12.cs", + "startLine": 14.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.BankAccount.AccountID*", + "name": [ + { + "lang": "csharp", + "value": "AccountID" + }, + { + "lang": "vb", + "value": "AccountID" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.AccountID" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.AccountID" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.AccountID" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.AccountID" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_BankAccount_AccountID_" + }, + "level": 0.0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_BankAccount_AccountID.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.BankAccount.AccountID%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/csharp/src/CSharp12.cs/#L15", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_BankAccount_AccountID", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.BankAccount.Owner", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.BankAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Owner" + }, + { + "lang": "vb", + "value": "Owner" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.Owner" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.Owner" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.Owner" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.Owner" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public string Owner { get; }" + }, + { + "lang": "vb", + "value": "Public ReadOnly Property Owner As String" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Owner", + "path": "src/CSharp12.cs", + "startLine": 15.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.BankAccount.Owner*", + "name": [ + { + "lang": "csharp", + "value": "Owner" + }, + { + "lang": "vb", + "value": "Owner" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.Owner" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.Owner" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.Owner" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.Owner" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_BankAccount_Owner_" + }, + "level": 0.0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_BankAccount_Owner.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.BankAccount.Owner%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/csharp/src/CSharp12.cs/#L16", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_BankAccount_Owner", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inMethod": true, + "typePropertyName": "inMethod", + "id": "methods", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.BankAccount.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.BankAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.ToString()" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.ToString()" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public override string ToString()" + }, + { + "lang": "vb", + "value": "Public Overrides Function ToString() As String" + } + ], + "return": { + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + }, + "description": "

A string that represents the current object.

\n" + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "ToString", + "path": "src/CSharp12.cs", + "startLine": 17.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "example": [], + "overridden": { + "uid": "System.Object.ToString", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ] + }, + "overload": { + "uid": "CSharp12.PrimaryConstructors.BankAccount.ToString*", + "name": [ + { + "lang": "csharp", + "value": "ToString" + }, + { + "lang": "vb", + "value": "ToString" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.ToString" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.ToString" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.ToString" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.ToString" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_BankAccount_ToString_" + }, + "level": 0.0, + "type": "method", + "summary": "

Returns a string that represents the current object.

\n", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_BankAccount_ToString.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.BankAccount.ToString%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/csharp/src/CSharp12.cs/#L18", + "remarks": "", + "conceptual": "", + "implements": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_BankAccount_ToString", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "BankAccount", + "path": "src/CSharp12.cs", + "startLine": 12.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "Public Class PrimaryConstructors.BankAccount" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "index": 0.0 + } + ], + "derivedClasses": [ + { + "isEii": false, + "isExtensionMethod": false, + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "index": 2.0 + } + ], + "level": 1.0, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.PrimaryConstructors.BankAccount.yml", + "_path": "api/CSharp12.PrimaryConstructors.BankAccount.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_BankAccount.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.BankAccount%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/csharp/src/CSharp12.cs/#L13", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_BankAccount", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..b6ff497b3d7 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json @@ -0,0 +1,1852 @@ +{ + "uid": "CSharp12.PrimaryConstructors.CheckAccount", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [ + { + "inConstructor": true, + "typePropertyName": "inConstructor", + "id": "constructors", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.#ctor(System.String,System.String,System.Decimal)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.CheckAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "CheckAccount(string, string, decimal)" + }, + { + "lang": "vb", + "value": "New(String, String, Decimal)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.CheckAccount(string, string, decimal)" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.New(String, String, Decimal)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.CheckAccount(string, string, decimal)" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.New(String, String, Decimal)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public CheckAccount(string accountID, string owner, decimal overdraftLimit = 0)" + }, + { + "lang": "vb", + "value": "Public Sub New(accountID As String, owner As String, overdraftLimit As Decimal = 0)" + } + ], + "parameters": [ + { + "id": "accountID", + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + }, + { + "id": "owner", + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + }, + { + "id": "overdraftLimit", + "type": { + "uid": "System.Decimal", + "name": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": ".ctor", + "path": "src/CSharp12.cs", + "startLine": 20.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.#ctor*", + "name": [ + { + "lang": "csharp", + "value": "CheckAccount" + }, + { + "lang": "vb", + "value": "New" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.CheckAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.New" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.CheckAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.New" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_CheckAccount__ctor_" + }, + "level": 0.0, + "type": "constructor", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_CheckAccount__ctor_System_String_System_String_System_Decimal_.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.CheckAccount.%23ctor(System.String%2CSystem.String%2CSystem.Decimal)%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/csharp/src/CSharp12.cs/#L21", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount__ctor_System_String_System_String_System_Decimal_", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inProperty": true, + "typePropertyName": "inProperty", + "id": "properties", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.CheckAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "CurrentBalance" + }, + { + "lang": "vb", + "value": "CurrentBalance" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.CurrentBalance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.CurrentBalance" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public decimal CurrentBalance { get; }" + }, + { + "lang": "vb", + "value": "Public Property CurrentBalance As Decimal" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.Decimal", + "name": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "CurrentBalance", + "path": "src/CSharp12.cs", + "startLine": 22.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance*", + "name": [ + { + "lang": "csharp", + "value": "CurrentBalance" + }, + { + "lang": "vb", + "value": "CurrentBalance" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.CurrentBalance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.CurrentBalance" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance_" + }, + "level": 0.0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance%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/csharp/src/CSharp12.cs/#L23", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inMethod": true, + "typePropertyName": "inMethod", + "id": "methods", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.Deposit(System.Decimal)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.CheckAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Deposit(decimal)" + }, + { + "lang": "vb", + "value": "Deposit(Decimal)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.Deposit(decimal)" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.Deposit(Decimal)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Deposit(decimal)" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Deposit(Decimal)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void Deposit(decimal amount)" + }, + { + "lang": "vb", + "value": "Public Sub Deposit(amount As Decimal)" + } + ], + "parameters": [ + { + "id": "amount", + "type": { + "uid": "System.Decimal", + "name": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Deposit", + "path": "src/CSharp12.cs", + "startLine": 24.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.Deposit*", + "name": [ + { + "lang": "csharp", + "value": "Deposit" + }, + { + "lang": "vb", + "value": "Deposit" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.Deposit" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.Deposit" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Deposit" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Deposit" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_CheckAccount_Deposit_" + }, + "level": 0.0, + "type": "method", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_CheckAccount_Deposit_System_Decimal_.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.CheckAccount.Deposit(System.Decimal)%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/csharp/src/CSharp12.cs/#L25", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount_Deposit_System_Decimal_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.CheckAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.ToString()" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.ToString()" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public override string ToString()" + }, + { + "lang": "vb", + "value": "Public Overrides Function ToString() As String" + } + ], + "return": { + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + }, + "description": "

A string that represents the current object.

\n" + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "ToString", + "path": "src/CSharp12.cs", + "startLine": 46.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "example": [], + "overridden": { + "uid": "CSharp12.PrimaryConstructors.BankAccount.ToString", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.ToString()" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.ToString()" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ] + }, + "overload": { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.ToString*", + "name": [ + { + "lang": "csharp", + "value": "ToString" + }, + { + "lang": "vb", + "value": "ToString" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.ToString" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.ToString" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.ToString" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.ToString" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_CheckAccount_ToString_" + }, + "level": 0.0, + "type": "method", + "summary": "

Returns a string that represents the current object.

\n", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_CheckAccount_ToString.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.CheckAccount.ToString%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/csharp/src/CSharp12.cs/#L47", + "remarks": "", + "conceptual": "", + "implements": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount_ToString", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(System.Decimal)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.CheckAccount", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Withdrawal(decimal)" + }, + { + "lang": "vb", + "value": "Withdrawal(Decimal)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.Withdrawal(decimal)" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.Withdrawal(Decimal)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(decimal)" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(Decimal)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void Withdrawal(decimal amount)" + }, + { + "lang": "vb", + "value": "Public Sub Withdrawal(amount As Decimal)" + } + ], + "parameters": [ + { + "id": "amount", + "type": { + "uid": "System.Decimal", + "name": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "decimal" + }, + { + "lang": "vb", + "value": "Decimal" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Withdrawal", + "path": "src/CSharp12.cs", + "startLine": 33.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.CheckAccount.Withdrawal*", + "name": [ + { + "lang": "csharp", + "value": "Withdrawal" + }, + { + "lang": "vb", + "value": "Withdrawal" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount.Withdrawal" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount.Withdrawal" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Withdrawal" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount.Withdrawal" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_" + }, + "level": 0.0, + "type": "method", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_System_Decimal_.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(System.Decimal)%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/csharp/src/CSharp12.cs/#L34", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_System_Decimal_", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "CheckAccount", + "path": "src/CSharp12.cs", + "startLine": 20.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class PrimaryConstructors.CheckAccount : PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "Public Class PrimaryConstructors.CheckAccount Inherits PrimaryConstructors.BankAccount" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "index": 0.0 + }, + { + "uid": "CSharp12.PrimaryConstructors.BankAccount", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12", + "href": "CSharp12.PrimaryConstructors.html", + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "level": 0.0, + "index": 1.0 + } + ], + "level": 2.0, + "inheritedMembers": [ + { + "uid": "CSharp12.PrimaryConstructors.BankAccount.AccountID", + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.BankAccount", + "href": "CSharp12.PrimaryConstructors.BankAccount.html#CSharp12.PrimaryConstructors.BankAccount.AccountID", + "name": [ + { + "lang": "csharp", + "value": "AccountID" + }, + { + "lang": "vb", + "value": "AccountID" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.AccountID" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.AccountID" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.AccountID" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.AccountID" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "summary": null, + "type": "property", + "platform": null, + "isEii": false + }, + { + "uid": "CSharp12.PrimaryConstructors.BankAccount.Owner", + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.BankAccount", + "href": "CSharp12.PrimaryConstructors.BankAccount.html#CSharp12.PrimaryConstructors.BankAccount.Owner", + "name": [ + { + "lang": "csharp", + "value": "Owner" + }, + { + "lang": "vb", + "value": "Owner" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount.Owner" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount.Owner" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount.Owner" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount.Owner" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "summary": null, + "type": "property", + "platform": null, + "isEii": false + }, + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.PrimaryConstructors.CheckAccount.yml", + "_path": "api/CSharp12.PrimaryConstructors.CheckAccount.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_CheckAccount.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.CheckAccount%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/csharp/src/CSharp12.cs/#L21", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..eaa5ead44e7 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json @@ -0,0 +1,1102 @@ +{ + "uid": "CSharp12.PrimaryConstructors.Distance", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [ + { + "inConstructor": true, + "typePropertyName": "inConstructor", + "id": "constructors", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.Distance.#ctor(System.Double,System.Double)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.Distance", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Distance(double, double)" + }, + { + "lang": "vb", + "value": "New(Double, Double)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance.Distance(double, double)" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance.New(Double, Double)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.Distance.Distance(double, double)" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.Distance.New(Double, Double)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public Distance(double dx, double dy)" + }, + { + "lang": "vb", + "value": "Public Sub New(dx As Double, dy As Double)" + } + ], + "parameters": [ + { + "id": "dx", + "type": { + "uid": "System.Double", + "name": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + }, + { + "id": "dy", + "type": { + "uid": "System.Double", + "name": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": ".ctor", + "path": "src/CSharp12.cs", + "startLine": 6.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "overload": { + "uid": "CSharp12.PrimaryConstructors.Distance.#ctor*", + "name": [ + { + "lang": "csharp", + "value": "Distance" + }, + { + "lang": "vb", + "value": "New" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance.Distance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance.New" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.Distance.Distance" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.Distance.New" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp12_PrimaryConstructors_Distance__ctor_" + }, + "level": 0.0, + "type": "constructor", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_Distance__ctor_System_Double_System_Double_.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.Distance.%23ctor(System.Double%2CSystem.Double)%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/csharp/src/CSharp12.cs/#L7", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_Distance__ctor_System_Double_System_Double_", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inField": true, + "typePropertyName": "inField", + "id": "fields", + "children": [ + { + "uid": "CSharp12.PrimaryConstructors.Distance.Direction", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.Distance", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Direction" + }, + { + "lang": "vb", + "value": "Direction" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance.Direction" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance.Direction" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.Distance.Direction" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.Distance.Direction" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public readonly double Direction" + }, + { + "lang": "vb", + "value": "Public ReadOnly Direction As Double" + } + ], + "return": null, + "fieldValue": { + "type": { + "uid": "System.Double", + "name": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Direction", + "path": "src/CSharp12.cs", + "startLine": 9.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "level": 0.0, + "type": "field", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_Distance_Direction.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.Distance.Direction%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/csharp/src/CSharp12.cs/#L10", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_Distance_Direction", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.Distance.Magnitude", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp12.PrimaryConstructors.Distance", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Magnitude" + }, + { + "lang": "vb", + "value": "Magnitude" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance.Magnitude" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance.Magnitude" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.Distance.Magnitude" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.Distance.Magnitude" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public readonly double Magnitude" + }, + { + "lang": "vb", + "value": "Public ReadOnly Magnitude As Double" + } + ], + "return": null, + "fieldValue": { + "type": { + "uid": "System.Double", + "name": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "double" + }, + { + "lang": "vb", + "value": "Double" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Magnitude", + "path": "src/CSharp12.cs", + "startLine": 8.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp12", + "level": 0.0, + "type": "field", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_Distance_Magnitude.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.Distance.Magnitude%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/csharp/src/CSharp12.cs/#L9", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_Distance_Magnitude", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.Distance" + } + ], + "type": "struct", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Distance", + "path": "src/CSharp12.cs", + "startLine": 6.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public readonly struct PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "Public Structure PrimaryConstructors.Distance" + } + ] + }, + "level": 0.0, + "inheritedMembers": [ + { + "uid": "System.ValueType.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.ValueType", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.valuetype.equals", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "ValueType.Equals(object)" + }, + { + "lang": "vb", + "value": "ValueType.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.ValueType.Equals(object)" + }, + { + "lang": "vb", + "value": "System.ValueType.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.ValueType.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.ValueType", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "ValueType.GetHashCode()" + }, + { + "lang": "vb", + "value": "ValueType.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.ValueType.GetHashCode()" + }, + { + "lang": "vb", + "value": "System.ValueType.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.ValueType.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.ValueType", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.valuetype.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "ValueType.ToString()" + }, + { + "lang": "vb", + "value": "ValueType.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "System.ValueType.ToString()" + }, + { + "lang": "vb", + "value": "System.ValueType.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.PrimaryConstructors.Distance.yml", + "_path": "api/CSharp12.PrimaryConstructors.Distance.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors_Distance.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors.Distance%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/csharp/src/CSharp12.cs/#L7", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_Distance", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inStruct": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..54d0ee8653a --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json @@ -0,0 +1,691 @@ +{ + "uid": "CSharp12.PrimaryConstructors", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "children": [], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors" + }, + { + "lang": "vb", + "value": "PrimaryConstructors" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors" + }, + { + "lang": "vb", + "value": "PrimaryConstructors" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp12.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "PrimaryConstructors", + "path": "src/CSharp12.cs", + "startLine": 4.0, + "endLine": 0.0, + "isExternal": false + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp12.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class PrimaryConstructors" + }, + { + "lang": "vb", + "value": "Public Class PrimaryConstructors" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "index": 0.0 + } + ], + "level": 1.0, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0.0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0.0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.PrimaryConstructors.yml", + "_path": "api/CSharp12.PrimaryConstructors.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp12_PrimaryConstructors.md&value=---%0Auid%3A%20CSharp12.PrimaryConstructors%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/csharp/src/CSharp12.cs/#L5", + "summary": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 new file mode 100644 index 00000000000..ce832e0b21b --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json @@ -0,0 +1,619 @@ +{ + "uid": "CSharp12", + "isEii": false, + "isExtensionMethod": false, + "children": [ + { + "inClass": true, + "typePropertyName": "inClass", + "id": "classes", + "children": [ + { + "uid": "CSharp12.CollectionExpressions", + "isExtensionMethod": false, + "href": "CSharp12.CollectionExpressions.html", + "name": [ + { + "lang": "csharp", + "value": "CollectionExpressions" + }, + { + "lang": "vb", + "value": "CollectionExpressions" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CollectionExpressions" + }, + { + "lang": "vb", + "value": "CollectionExpressions" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.CollectionExpressions" + }, + { + "lang": "vb", + "value": "CSharp12.CollectionExpressions" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_CollectionExpressions", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.DefaultLambdaParameters", + "isExtensionMethod": false, + "href": "CSharp12.DefaultLambdaParameters.html", + "name": [ + { + "lang": "csharp", + "value": "DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "DefaultLambdaParameters" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "DefaultLambdaParameters" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.DefaultLambdaParameters" + }, + { + "lang": "vb", + "value": "CSharp12.DefaultLambdaParameters" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_DefaultLambdaParameters", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors", + "isExtensionMethod": false, + "href": "CSharp12.PrimaryConstructors.html", + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors" + }, + { + "lang": "vb", + "value": "PrimaryConstructors" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors" + }, + { + "lang": "vb", + "value": "PrimaryConstructors" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.BankAccount", + "isExtensionMethod": false, + "parent": "CSharp12", + "href": "CSharp12.PrimaryConstructors.html", + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.BankAccount" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.BankAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.BankAccount" + } + ], + "level": 0.0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_BankAccount", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.CheckAccount", + "isExtensionMethod": false, + "href": "CSharp12.PrimaryConstructors.html", + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.CheckAccount" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.CheckAccount" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.CheckAccount" + } + ], + "level": 0.0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_CheckAccount", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inStruct": true, + "typePropertyName": "inStruct", + "id": "structs", + "children": [ + { + "uid": "CSharp12.InlineArrays", + "isExtensionMethod": false, + "href": "CSharp12.InlineArrays.html", + "name": [ + { + "lang": "csharp", + "value": "InlineArrays" + }, + { + "lang": "vb", + "value": "InlineArrays" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "InlineArrays" + }, + { + "lang": "vb", + "value": "InlineArrays" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.InlineArrays" + }, + { + "lang": "vb", + "value": "CSharp12.InlineArrays" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0.0, + "summary": "", + "type": "struct", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_InlineArrays", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp12.PrimaryConstructors.Distance", + "isExtensionMethod": false, + "href": "CSharp12.PrimaryConstructors.html", + "name": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12.PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "CSharp12.PrimaryConstructors.Distance" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "PrimaryConstructors.Distance" + }, + { + "lang": "vb", + "value": "PrimaryConstructors.Distance" + } + ], + "level": 0.0, + "summary": "", + "type": "struct", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12_PrimaryConstructors_Distance", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp12" + }, + { + "lang": "vb", + "value": "CSharp12" + } + ], + "type": "namespace", + "assemblies": [ + "CSharp" + ], + "level": 0.0, + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp12.yml", + "_path": "api/CSharp12.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "", + "sourceurl": "", + "summary": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": null, + "id": "CSharp12", + "hideTitleType": false, + "hideSubtitle": false, + "isNamespace": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file 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 9c64d609de7..0c6b347ff34 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 @@ -142,6 +142,86 @@ "tocHref": null, "level": 2.0 }, + { + "name": "CSharp12", + "href": "CSharp12.html", + "topicHref": "CSharp12.html", + "topicUid": "CSharp12", + "items": [ + { + "name": "CollectionExpressions", + "href": "CSharp12.CollectionExpressions.html", + "topicHref": "CSharp12.CollectionExpressions.html", + "topicUid": "CSharp12.CollectionExpressions", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "DefaultLambdaParameters", + "href": "CSharp12.DefaultLambdaParameters.html", + "topicHref": "CSharp12.DefaultLambdaParameters.html", + "topicUid": "CSharp12.DefaultLambdaParameters", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "InlineArrays", + "href": "CSharp12.InlineArrays.html", + "topicHref": "CSharp12.InlineArrays.html", + "topicUid": "CSharp12.InlineArrays", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "PrimaryConstructors", + "href": "CSharp12.PrimaryConstructors.html", + "topicHref": "CSharp12.PrimaryConstructors.html", + "topicUid": "CSharp12.PrimaryConstructors", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "PrimaryConstructors.BankAccount", + "href": "CSharp12.PrimaryConstructors.BankAccount.html", + "topicHref": "CSharp12.PrimaryConstructors.BankAccount.html", + "topicUid": "CSharp12.PrimaryConstructors.BankAccount", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "PrimaryConstructors.CheckAccount", + "href": "CSharp12.PrimaryConstructors.CheckAccount.html", + "topicHref": "CSharp12.PrimaryConstructors.CheckAccount.html", + "topicUid": "CSharp12.PrimaryConstructors.CheckAccount", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "PrimaryConstructors.Distance", + "href": "CSharp12.PrimaryConstructors.Distance.html", + "topicHref": "CSharp12.PrimaryConstructors.Distance.html", + "topicUid": "CSharp12.PrimaryConstructors.Distance", + "tocHref": null, + "level": 3.0, + "items": [], + "leaf": true + } + ], + "tocHref": null, + "level": 2.0 + }, { "name": "CSharp8", "href": "CSharp8.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml index 315523793ca..848a772498f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml @@ -756,6 +756,258 @@ references: fullName.vb: CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.op_Increment nameWithType: StaticAbstractMembersInInterfaces.RepeatSequence.operator ++ nameWithType.vb: StaticAbstractMembersInInterfaces.RepeatSequence.op_Increment +- uid: CSharp12 + name: CSharp12 + href: api/CSharp12.html + commentId: N:CSharp12 + fullName: CSharp12 + nameWithType: CSharp12 +- uid: CSharp12.CollectionExpressions + name: CollectionExpressions + href: api/CSharp12.CollectionExpressions.html + commentId: T:CSharp12.CollectionExpressions + fullName: CSharp12.CollectionExpressions + nameWithType: CollectionExpressions +- uid: CSharp12.CollectionExpressions.a + name: a + href: api/CSharp12.CollectionExpressions.html#CSharp12_CollectionExpressions_a + commentId: F:CSharp12.CollectionExpressions.a + fullName: CSharp12.CollectionExpressions.a + nameWithType: CollectionExpressions.a +- uid: CSharp12.CollectionExpressions.b + name: b + href: api/CSharp12.CollectionExpressions.html#CSharp12_CollectionExpressions_b + commentId: P:CSharp12.CollectionExpressions.b + fullName: CSharp12.CollectionExpressions.b + nameWithType: CollectionExpressions.b +- uid: CSharp12.CollectionExpressions.b* + name: b + href: api/CSharp12.CollectionExpressions.html#CSharp12_CollectionExpressions_b_ + commentId: Overload:CSharp12.CollectionExpressions.b + isSpec: "True" + fullName: CSharp12.CollectionExpressions.b + nameWithType: CollectionExpressions.b +- uid: CSharp12.CollectionExpressions.twoD + name: twoD + href: api/CSharp12.CollectionExpressions.html#CSharp12_CollectionExpressions_twoD + commentId: F:CSharp12.CollectionExpressions.twoD + fullName: CSharp12.CollectionExpressions.twoD + nameWithType: CollectionExpressions.twoD +- uid: CSharp12.DefaultLambdaParameters + name: DefaultLambdaParameters + href: api/CSharp12.DefaultLambdaParameters.html + commentId: T:CSharp12.DefaultLambdaParameters + fullName: CSharp12.DefaultLambdaParameters + nameWithType: DefaultLambdaParameters +- uid: CSharp12.DefaultLambdaParameters.Foo + name: Foo() + href: api/CSharp12.DefaultLambdaParameters.html#CSharp12_DefaultLambdaParameters_Foo + commentId: M:CSharp12.DefaultLambdaParameters.Foo + fullName: CSharp12.DefaultLambdaParameters.Foo() + nameWithType: DefaultLambdaParameters.Foo() +- uid: CSharp12.DefaultLambdaParameters.Foo* + name: Foo + href: api/CSharp12.DefaultLambdaParameters.html#CSharp12_DefaultLambdaParameters_Foo_ + commentId: Overload:CSharp12.DefaultLambdaParameters.Foo + isSpec: "True" + fullName: CSharp12.DefaultLambdaParameters.Foo + nameWithType: DefaultLambdaParameters.Foo +- uid: CSharp12.InlineArrays + name: InlineArrays + href: api/CSharp12.InlineArrays.html + commentId: T:CSharp12.InlineArrays + fullName: CSharp12.InlineArrays + nameWithType: InlineArrays +- uid: CSharp12.PrimaryConstructors + name: PrimaryConstructors + href: api/CSharp12.PrimaryConstructors.html + commentId: T:CSharp12.PrimaryConstructors + fullName: CSharp12.PrimaryConstructors + nameWithType: PrimaryConstructors +- uid: CSharp12.PrimaryConstructors.BankAccount + name: PrimaryConstructors.BankAccount + href: api/CSharp12.PrimaryConstructors.BankAccount.html + commentId: T:CSharp12.PrimaryConstructors.BankAccount + fullName: CSharp12.PrimaryConstructors.BankAccount + nameWithType: PrimaryConstructors.BankAccount +- uid: CSharp12.PrimaryConstructors.BankAccount.#ctor(System.String,System.String) + name: BankAccount(string, string) + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount__ctor_System_String_System_String_ + commentId: M:CSharp12.PrimaryConstructors.BankAccount.#ctor(System.String,System.String) + name.vb: New(String, String) + fullName: CSharp12.PrimaryConstructors.BankAccount.BankAccount(string, string) + fullName.vb: CSharp12.PrimaryConstructors.BankAccount.New(String, String) + nameWithType: PrimaryConstructors.BankAccount.BankAccount(string, string) + nameWithType.vb: PrimaryConstructors.BankAccount.New(String, String) +- uid: CSharp12.PrimaryConstructors.BankAccount.#ctor* + name: BankAccount + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount__ctor_ + commentId: Overload:CSharp12.PrimaryConstructors.BankAccount.#ctor + isSpec: "True" + name.vb: New + fullName: CSharp12.PrimaryConstructors.BankAccount.BankAccount + fullName.vb: CSharp12.PrimaryConstructors.BankAccount.New + nameWithType: PrimaryConstructors.BankAccount.BankAccount + nameWithType.vb: PrimaryConstructors.BankAccount.New +- uid: CSharp12.PrimaryConstructors.BankAccount.AccountID + name: AccountID + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount_AccountID + commentId: P:CSharp12.PrimaryConstructors.BankAccount.AccountID + fullName: CSharp12.PrimaryConstructors.BankAccount.AccountID + nameWithType: PrimaryConstructors.BankAccount.AccountID +- uid: CSharp12.PrimaryConstructors.BankAccount.AccountID* + name: AccountID + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount_AccountID_ + commentId: Overload:CSharp12.PrimaryConstructors.BankAccount.AccountID + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.BankAccount.AccountID + nameWithType: PrimaryConstructors.BankAccount.AccountID +- uid: CSharp12.PrimaryConstructors.BankAccount.Owner + name: Owner + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount_Owner + commentId: P:CSharp12.PrimaryConstructors.BankAccount.Owner + fullName: CSharp12.PrimaryConstructors.BankAccount.Owner + nameWithType: PrimaryConstructors.BankAccount.Owner +- uid: CSharp12.PrimaryConstructors.BankAccount.Owner* + name: Owner + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount_Owner_ + commentId: Overload:CSharp12.PrimaryConstructors.BankAccount.Owner + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.BankAccount.Owner + nameWithType: PrimaryConstructors.BankAccount.Owner +- uid: CSharp12.PrimaryConstructors.BankAccount.ToString + name: ToString() + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount_ToString + commentId: M:CSharp12.PrimaryConstructors.BankAccount.ToString + fullName: CSharp12.PrimaryConstructors.BankAccount.ToString() + nameWithType: PrimaryConstructors.BankAccount.ToString() +- uid: CSharp12.PrimaryConstructors.BankAccount.ToString* + name: ToString + href: api/CSharp12.PrimaryConstructors.BankAccount.html#CSharp12_PrimaryConstructors_BankAccount_ToString_ + commentId: Overload:CSharp12.PrimaryConstructors.BankAccount.ToString + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.BankAccount.ToString + nameWithType: PrimaryConstructors.BankAccount.ToString +- uid: CSharp12.PrimaryConstructors.CheckAccount + name: PrimaryConstructors.CheckAccount + href: api/CSharp12.PrimaryConstructors.CheckAccount.html + commentId: T:CSharp12.PrimaryConstructors.CheckAccount + fullName: CSharp12.PrimaryConstructors.CheckAccount + nameWithType: PrimaryConstructors.CheckAccount +- uid: CSharp12.PrimaryConstructors.CheckAccount.#ctor(System.String,System.String,System.Decimal) + name: CheckAccount(string, string, decimal) + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount__ctor_System_String_System_String_System_Decimal_ + commentId: M:CSharp12.PrimaryConstructors.CheckAccount.#ctor(System.String,System.String,System.Decimal) + name.vb: New(String, String, Decimal) + fullName: CSharp12.PrimaryConstructors.CheckAccount.CheckAccount(string, string, decimal) + fullName.vb: CSharp12.PrimaryConstructors.CheckAccount.New(String, String, Decimal) + nameWithType: PrimaryConstructors.CheckAccount.CheckAccount(string, string, decimal) + nameWithType.vb: PrimaryConstructors.CheckAccount.New(String, String, Decimal) +- uid: CSharp12.PrimaryConstructors.CheckAccount.#ctor* + name: CheckAccount + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount__ctor_ + commentId: Overload:CSharp12.PrimaryConstructors.CheckAccount.#ctor + isSpec: "True" + name.vb: New + fullName: CSharp12.PrimaryConstructors.CheckAccount.CheckAccount + fullName.vb: CSharp12.PrimaryConstructors.CheckAccount.New + nameWithType: PrimaryConstructors.CheckAccount.CheckAccount + nameWithType.vb: PrimaryConstructors.CheckAccount.New +- uid: CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance + name: CurrentBalance + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance + commentId: P:CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance + fullName: CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance + nameWithType: PrimaryConstructors.CheckAccount.CurrentBalance +- uid: CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance* + name: CurrentBalance + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance_ + commentId: Overload:CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.CheckAccount.CurrentBalance + nameWithType: PrimaryConstructors.CheckAccount.CurrentBalance +- uid: CSharp12.PrimaryConstructors.CheckAccount.Deposit(System.Decimal) + name: Deposit(decimal) + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_Deposit_System_Decimal_ + commentId: M:CSharp12.PrimaryConstructors.CheckAccount.Deposit(System.Decimal) + name.vb: Deposit(Decimal) + fullName: CSharp12.PrimaryConstructors.CheckAccount.Deposit(decimal) + fullName.vb: CSharp12.PrimaryConstructors.CheckAccount.Deposit(Decimal) + nameWithType: PrimaryConstructors.CheckAccount.Deposit(decimal) + nameWithType.vb: PrimaryConstructors.CheckAccount.Deposit(Decimal) +- uid: CSharp12.PrimaryConstructors.CheckAccount.Deposit* + name: Deposit + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_Deposit_ + commentId: Overload:CSharp12.PrimaryConstructors.CheckAccount.Deposit + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.CheckAccount.Deposit + nameWithType: PrimaryConstructors.CheckAccount.Deposit +- uid: CSharp12.PrimaryConstructors.CheckAccount.ToString + name: ToString() + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_ToString + commentId: M:CSharp12.PrimaryConstructors.CheckAccount.ToString + fullName: CSharp12.PrimaryConstructors.CheckAccount.ToString() + nameWithType: PrimaryConstructors.CheckAccount.ToString() +- uid: CSharp12.PrimaryConstructors.CheckAccount.ToString* + name: ToString + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_ToString_ + commentId: Overload:CSharp12.PrimaryConstructors.CheckAccount.ToString + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.CheckAccount.ToString + nameWithType: PrimaryConstructors.CheckAccount.ToString +- uid: CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(System.Decimal) + name: Withdrawal(decimal) + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_System_Decimal_ + commentId: M:CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(System.Decimal) + name.vb: Withdrawal(Decimal) + fullName: CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(decimal) + fullName.vb: CSharp12.PrimaryConstructors.CheckAccount.Withdrawal(Decimal) + nameWithType: PrimaryConstructors.CheckAccount.Withdrawal(decimal) + nameWithType.vb: PrimaryConstructors.CheckAccount.Withdrawal(Decimal) +- uid: CSharp12.PrimaryConstructors.CheckAccount.Withdrawal* + name: Withdrawal + href: api/CSharp12.PrimaryConstructors.CheckAccount.html#CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_ + commentId: Overload:CSharp12.PrimaryConstructors.CheckAccount.Withdrawal + isSpec: "True" + fullName: CSharp12.PrimaryConstructors.CheckAccount.Withdrawal + nameWithType: PrimaryConstructors.CheckAccount.Withdrawal +- uid: CSharp12.PrimaryConstructors.Distance + name: PrimaryConstructors.Distance + href: api/CSharp12.PrimaryConstructors.Distance.html + commentId: T:CSharp12.PrimaryConstructors.Distance + fullName: CSharp12.PrimaryConstructors.Distance + nameWithType: PrimaryConstructors.Distance +- uid: CSharp12.PrimaryConstructors.Distance.#ctor(System.Double,System.Double) + name: Distance(double, double) + href: api/CSharp12.PrimaryConstructors.Distance.html#CSharp12_PrimaryConstructors_Distance__ctor_System_Double_System_Double_ + commentId: M:CSharp12.PrimaryConstructors.Distance.#ctor(System.Double,System.Double) + name.vb: New(Double, Double) + fullName: CSharp12.PrimaryConstructors.Distance.Distance(double, double) + fullName.vb: CSharp12.PrimaryConstructors.Distance.New(Double, Double) + nameWithType: PrimaryConstructors.Distance.Distance(double, double) + nameWithType.vb: PrimaryConstructors.Distance.New(Double, Double) +- uid: CSharp12.PrimaryConstructors.Distance.#ctor* + name: Distance + href: api/CSharp12.PrimaryConstructors.Distance.html#CSharp12_PrimaryConstructors_Distance__ctor_ + commentId: Overload:CSharp12.PrimaryConstructors.Distance.#ctor + isSpec: "True" + name.vb: New + fullName: CSharp12.PrimaryConstructors.Distance.Distance + fullName.vb: CSharp12.PrimaryConstructors.Distance.New + nameWithType: PrimaryConstructors.Distance.Distance + nameWithType.vb: PrimaryConstructors.Distance.New +- uid: CSharp12.PrimaryConstructors.Distance.Direction + name: Direction + href: api/CSharp12.PrimaryConstructors.Distance.html#CSharp12_PrimaryConstructors_Distance_Direction + commentId: F:CSharp12.PrimaryConstructors.Distance.Direction + fullName: CSharp12.PrimaryConstructors.Distance.Direction + nameWithType: PrimaryConstructors.Distance.Direction +- uid: CSharp12.PrimaryConstructors.Distance.Magnitude + name: Magnitude + href: api/CSharp12.PrimaryConstructors.Distance.html#CSharp12_PrimaryConstructors_Distance_Magnitude + commentId: F:CSharp12.PrimaryConstructors.Distance.Magnitude + fullName: CSharp12.PrimaryConstructors.Distance.Magnitude + nameWithType: PrimaryConstructors.Distance.Magnitude - uid: CSharp8 name: CSharp8 href: api/CSharp8.html