file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
tools/publish-CodeCov.ps1
PowerShell
<# .SYNOPSIS Uploads code coverage to codecov.io .PARAMETER CodeCovToken Code coverage token to use .PARAMETER PathToCodeCoverage Path to root of code coverage files .PARAMETER Name Name to upload with codecoverge .PARAMETER Flags Flags to upload with codecoverge #> [CmdletBinding()] Param ( [Pa...
AArnott/Nerdbank.MessagePack
144
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#]
C#
AArnott
Andrew Arnott
Microsoft
tools/variables/DotNetSdkVersion.ps1
PowerShell
$globalJson = Get-Content -LiteralPath "$PSScriptRoot\..\..\global.json" | ConvertFrom-Json $globalJson.sdk.version
AArnott/Nerdbank.MessagePack
144
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#]
C#
AArnott
Andrew Arnott
Microsoft
tools/variables/_all.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS This script returns a hashtable of build variables that should be set at the start of a build or release definition's execution. #> [CmdletBinding(SupportsShouldProcess = $true)] param ( ) $vars = @{} Get-ChildItem "$PSScriptRoot\*.ps1" -Exclude "_*" |% { Write-Host "Com...
AArnott/Nerdbank.MessagePack
144
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#]
C#
AArnott
Andrew Arnott
Microsoft
tools/variables/_define.ps1
PowerShell
<# .SYNOPSIS This script translates the variables returned by the _all.ps1 script into commands that instruct Azure Pipelines to actually set those variables for other pipeline tasks to consume. The build or release definition may have set these variables to override what the build would do. So only se...
AArnott/Nerdbank.MessagePack
144
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#]
C#
AArnott
Andrew Arnott
Microsoft
init.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS Installs dependencies required to build and test the projects in this repository. .DESCRIPTION This MAY not require elevation, as the SDK and runtimes are installed to a per-user location, unless the `-InstallLocality` switch is specified directing to a per-repo or per-mach...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
src/AssemblyInfo.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; [assembly: DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)]
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
src/Nerdbank.Sdk/FirstTask.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Build.Utilities; using Task = Microsoft.Build.Utilities.Task; namespace Nerdbank.Sdk; public class FirstTask : Task { public override bool Execut...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
src/Nerdbank.Sdk/Sdk/src/AssemblyInfo.cs
C#
// Copyright (c) COMPANY-PLACEHOLDER. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; [assembly: DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)]
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
test/Nerdbank.Sdk.Tests/FirstTaskTests.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Nerdbank.Sdk; using Xunit; public class FirstTaskTests { [Fact] public void Execute() { FirstTask task = new(); } }
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
test/SdkConsumer/Run-Tests.ps1
PowerShell
Push-Location $PSScriptRoot $oldBuildConfiguration = $env:BUILDCONFIGURATION $oldNugetPackages = $env:NUGET_PACKAGES .\Set-SdkVersion.ps1 if ($LASTEXITCODE -eq 0) { # Set env var so that nuget.config in this directory can resolve the SDK we built locally. if (!$env:BUILDCONFIGURATION) { $env:BUILDCONFIGURATION = 'D...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
test/SdkConsumer/Set-SdkVersion.ps1
PowerShell
Push-Location $PSScriptRoot $pkgversion = dotnet nbgv get-version -v nugetpackageversion if ($LASTEXITCODE -eq 0) { $globalJson = Get-Content global.json | ConvertFrom-Json $globalJson.'msbuild-sdks'.'Nerdbank.Sdk' = $pkgversion $globalJson | ConvertTo-Json -Depth 10 | Set-Content global.json } Pop-Location
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Check-DotNetRuntime.ps1
PowerShell
<# .SYNOPSIS Checks whether a given .NET Core runtime is installed. #> [CmdletBinding()] Param ( [Parameter()] [ValidateSet('Microsoft.AspNetCore.App','Microsoft.NETCore.App')] [string]$Runtime='Microsoft.NETCore.App', [Parameter(Mandatory=$true)] [Version]$Version ) $dotnet = Get-Command dotne...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Check-DotNetSdk.ps1
PowerShell
<# .SYNOPSIS Checks whether the .NET Core SDK required by this repo is installed. #> [CmdletBinding()] Param ( ) $dotnet = Get-Command dotnet -ErrorAction SilentlyContinue if (!$dotnet) { # Nothing is installed. Write-Output $false exit 1 } # We need to set the current directory so dotnet considers th...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-3rdPartySymbolFiles.ps1
PowerShell
Function Get-FileFromWeb([Uri]$Uri, $OutFile) { $OutDir = Split-Path $OutFile if (!(Test-Path $OutFile)) { Write-Verbose "Downloading $Uri..." if (!(Test-Path $OutDir)) { New-Item -ItemType Directory -Path $OutDir | Out-Null } try { (New-Object System.Net.WebClient).DownloadF...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-ArtifactsStagingDirectory.ps1
PowerShell
Param( [switch]$CleanIfLocal ) if ($env:BUILD_ARTIFACTSTAGINGDIRECTORY) { $ArtifactStagingFolder = $env:BUILD_ARTIFACTSTAGINGDIRECTORY } elseif ($env:RUNNER_TEMP) { $ArtifactStagingFolder = Join-Path $env:RUNNER_TEMP _artifacts } else { $ArtifactStagingFolder = [System.IO.Path]::GetFullPath("$PSScriptRo...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-CodeCovTool.ps1
PowerShell
<# .SYNOPSIS Downloads the CodeCov.io uploader tool and returns the path to it. .PARAMETER AllowSkipVerify Allows skipping signature verification of the downloaded tool if gpg is not installed. #> [CmdletBinding()] Param( [switch]$AllowSkipVerify ) if ($IsMacOS) { $codeCovUrl = "https://uploader.codeco...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-LibTemplateBasis.ps1
PowerShell
<# .SYNOPSIS Returns the name of the well-known branch in the Library.Template repository upon which HEAD is based. #> [CmdletBinding(SupportsShouldProcess = $true)] Param( [switch]$ErrorIfNotRelated ) # This list should be sorted in order of decreasing specificity. $branchMarkers = @( @{ commit = 'fd0a7b2...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-NuGetTool.ps1
PowerShell
<# .SYNOPSIS Downloads the NuGet.exe tool and returns the path to it. .PARAMETER NuGetVersion The version of the NuGet tool to acquire. #> Param( [Parameter()] [string]$NuGetVersion='6.12.2' ) $toolsPath = & "$PSScriptRoot\Get-TempToolsPath.ps1" $binaryToolsPath = Join-Path $toolsPath $NuGetVersion if ...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-ProcDump.ps1
PowerShell
<# .SYNOPSIS Downloads 32-bit and 64-bit procdump executables and returns the path to where they were installed. #> $version = '0.0.1' $baseDir = "$PSScriptRoot\..\obj\tools" $procDumpToolPath = "$baseDir\procdump.$version\bin" if (-not (Test-Path $procDumpToolPath)) { if (-not (Test-Path $baseDir)) { New-Item -Typ...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-SymbolFiles.ps1
PowerShell
<# .SYNOPSIS Collect the list of PDBs built in this repo. .PARAMETER Path The directory to recursively search for PDBs. .PARAMETER Tests A switch indicating to find PDBs only for test binaries instead of only for shipping shipping binaries. #> [CmdletBinding()] param ( [parameter(Mandatory=$true)] [...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Get-TempToolsPath.ps1
PowerShell
if ($env:AGENT_TEMPDIRECTORY) { $path = "$env:AGENT_TEMPDIRECTORY\$env:BUILD_BUILDID" } elseif ($env:localappdata) { $path = "$env:localappdata\gitrepos\tools" } else { $path = "$PSScriptRoot\..\obj\tools" } if (!(Test-Path $path)) { New-Item -ItemType Directory -Path $Path | Out-Null } (Resolve-Path ...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Install-DotNetSdk.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS Installs the .NET SDK specified in the global.json file at the root of this repository, along with supporting .NET runtimes used for testing. .DESCRIPTION This MAY not require elevation, as the SDK and runtimes are installed locally to this repo location, unless `-Insta...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Install-NuGetCredProvider.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS Downloads and installs the Microsoft Artifacts Credential Provider from https://github.com/microsoft/artifacts-credprovider to assist in authenticating to Azure Artifact feeds in interactive development or unattended build agents. .PARAMETER Force Forces install of ...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/MergeFrom-Template.ps1
PowerShell
<# .SYNOPSIS Merges the latest changes from Library.Template into HEAD of this repo. .PARAMETER LocalBranch The name of the local branch to create at HEAD and use to merge into from Library.Template. #> [CmdletBinding(SupportsShouldProcess = $true)] Param( [string]$LocalBranch = "dev/$($env:USERNAME)/libte...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/Set-EnvVars.ps1
PowerShell
<# .SYNOPSIS Set environment variables in the environment. Azure Pipeline and CMD environments are considered. .PARAMETER Variables A hashtable of variables to be set. .PARAMETER PrependPath A set of paths to prepend to the PATH environment variable. .OUTPUTS A boolean indicating whether the environ...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/Variables.ps1
PowerShell
# This artifact captures all variables defined in the ..\variables folder. # It "snaps" the values of these variables where we can compute them during the build, # and otherwise captures the scripts to run later during an Azure Pipelines environment release. $RepoRoot = [System.IO.Path]::GetFullPath("$PSScriptRoot/../...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/_all.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS This script returns all the artifacts that should be collected after a build. Each powershell artifact is expressed as an object with these properties: Source - the full path to the source file ArtifactName - the name of the artifact to upload to C...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/_stage_all.ps1
PowerShell
<# .SYNOPSIS This script links all the artifacts described by _all.ps1 into a staging directory, reading for uploading to a cloud build artifact store. It returns a sequence of objects with Name and Path properties. #> [CmdletBinding()] param ( [string]$ArtifactNameSuffix, [switch]$AvoidSymbolicLin...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/build_logs.ps1
PowerShell
$ArtifactStagingFolder = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1" $SdkTestBinLogPath = "$PSScriptRoot\..\..\test\SdkConsumer\sdkintegrationtest.binlog" if (Test-Path $SdkTestBinLogPath) { if (!(Test-Path $ArtifactStagingFolder/build_logs)) { New-Item -ItemType Directory -Path $ArtifactStagingFolder/buil...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/coverageResults.ps1
PowerShell
$RepoRoot = [System.IO.Path]::GetFullPath("$PSScriptRoot\..\..") $coverageFiles = @(Get-ChildItem "$RepoRoot/test/*.cobertura.xml" -Recurse | Where {$_.FullName -notlike "*/In/*" -and $_.FullName -notlike "*\In\*" }) # Prepare code coverage reports for merging on another machine $repoRoot = $env:SYSTEM_DEFAULTWORKIN...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/deployables.ps1
PowerShell
$RepoRoot = [System.IO.Path]::GetFullPath("$PSScriptRoot\..\..") $BuildConfiguration = $env:BUILDCONFIGURATION if (!$BuildConfiguration) { $BuildConfiguration = 'Debug' } $PackagesRoot = "$RepoRoot/bin/Packages/$BuildConfiguration" if (!(Test-Path $PackagesRoot)) { return } @{ "$PackagesRoot" = (Get-ChildIt...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/projectAssetsJson.ps1
PowerShell
$ObjRoot = [System.IO.Path]::GetFullPath("$PSScriptRoot\..\..\obj") if (!(Test-Path $ObjRoot)) { return } @{ "$ObjRoot" = ( (Get-ChildItem "$ObjRoot\project.assets.json" -Recurse) ); }
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/symbols.ps1
PowerShell
$BinPath = [System.IO.Path]::GetFullPath("$PSScriptRoot/../../bin") $3rdPartyPath = [System.IO.Path]::GetFullPath("$PSScriptRoot/../../obj/SymbolsPackages") if (!(Test-Path $BinPath)) { return } $symbolfiles = & "$PSScriptRoot/../Get-SymbolFiles.ps1" -Path $BinPath | Get-Unique $3rdPartyFiles = & "$PSScriptRoot/../Get-...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/testResults.ps1
PowerShell
[CmdletBinding()] Param( ) $result = @{} $testRoot = Resolve-Path "$PSScriptRoot\..\..\test" $result[$testRoot] = (Get-ChildItem "$testRoot\TestResults" -Recurse -Directory | Get-ChildItem -Recurse -File) $artifactStaging = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1" $testlogsPath = Join-Path $artifactSta...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/artifacts/test_symbols.ps1
PowerShell
$BinPath = [System.IO.Path]::GetFullPath("$PSScriptRoot/../../bin") if (!(Test-Path $BinPath)) { return } $symbolfiles = & "$PSScriptRoot/../Get-SymbolFiles.ps1" -Path $BinPath -Tests | Get-Unique @{ "$BinPath" = $SymbolFiles; }
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/dotnet-test-cloud.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS Runs tests as they are run in cloud test runs. .PARAMETER Configuration The configuration within which to run tests .PARAMETER Agent The name of the agent. This is used in preparing test run titles. .PARAMETER PublishResults A switch to publish results to Azure Pipeline...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/publish-CodeCov.ps1
PowerShell
<# .SYNOPSIS Uploads code coverage to codecov.io .PARAMETER CodeCovToken Code coverage token to use .PARAMETER PathToCodeCoverage Path to root of code coverage files .PARAMETER Name Name to upload with codecoverge .PARAMETER Flags Flags to upload with codecoverge #> [CmdletBinding()] Param ( [Pa...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/variables/DotNetSdkVersion.ps1
PowerShell
$globalJson = Get-Content -LiteralPath "$PSScriptRoot\..\..\global.json" | ConvertFrom-Json $globalJson.sdk.version
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/variables/_all.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS This script returns a hashtable of build variables that should be set at the start of a build or release definition's execution. #> [CmdletBinding(SupportsShouldProcess = $true)] param ( ) $vars = @{} Get-ChildItem "$PSScriptRoot\*.ps1" -Exclude "_*" |% { Write-Host "Com...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
tools/variables/_define.ps1
PowerShell
<# .SYNOPSIS This script translates the variables returned by the _all.ps1 script into commands that instruct Azure Pipelines to actually set those variables for other pipeline tasks to consume. The build or release definition may have set these variables to override what the build would do. So only se...
AArnott/Nerdbank.Sdk
0
An msbuild SDK for your .NET projects with opinionated defaults.
PowerShell
AArnott
Andrew Arnott
Microsoft
init.ps1
PowerShell
#!/usr/bin/env pwsh <# .SYNOPSIS Installs dependencies required to build and test the projects in this repository. .DESCRIPTION This MAY not require elevation, as the SDK and runtimes are installed to a per-user location, unless the `-InstallLocality` switch is specified directing to a per-repo or per-mach...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
samples/cs/ApplyingSerializationContext.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using ShapeShift.Yaml; partial class ApplyingSerializationContext { void ApplyingContext() { #region ApplyingStartingContext YamlSerialize...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
samples/cs/CustomConverterFactory.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace CustomConverterFactory { #region NonGeneric internal class NonGenericCustomConverterFactory<TEncoder, TDecoder> : IShapeShiftConverterFactory<TEn...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
samples/cs/CustomizingSerialization.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using ShapeShift.Yaml; partial class IncludingExcludingMembers { #region IncludingExcludingMembers class MyType { [PropertyShape(Ignore = true)...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
samples/cs/Usings.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. global using PolyType; global using PolyType.Abstractions; global using ShapeShift;
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/AssemblyInfo.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; [assembly: DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)]
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Taml/TamlDecoder.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using System.Numerics; using System.Text; namespace ShapeShift.Taml; /// <summary> /// A ShapeShift-compatible TAML decoder. /// </sum...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Taml/TamlEncoder.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using System.Numerics; namespace ShapeShift.Taml; /// <summary> /// A ShapeShift-compatible TAML encoder. /// </summary> /// <param n...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Taml/TamlSerializer.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift.Taml; public record TamlSerializer : ShapeShiftSerializer<TamlEncoder, TamlDecoder> { public string Serialize<T>(in T? value) where T : ISh...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Taml/Usings.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. global using PolyType;
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Yaml/Usings.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. global using PolyType;
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Yaml/YamlDecoder.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using System.Numerics; using System.Text; namespace ShapeShift.Yaml; /// <summary> /// A ShapeShift-compatible YAML decoder. /// </sum...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Yaml/YamlEncoder.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using System.Numerics; namespace ShapeShift.Yaml; /// <summary> /// A ShapeShift-compatible YAML encoder. /// </summary> /// <param na...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift.Yaml/YamlSerializer.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift.Yaml; public record YamlSerializer : ShapeShiftSerializer<YamlEncoder, YamlDecoder> { public string Serialize<T>(in T? value) where T : ISh...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterCache`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; using System.Reflection; using ShapeShift.Converters; namespace ShapeShift; /// <summary> /// Tracks all inputs to converte...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterCollection.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Frozen; namespace ShapeShift; public static class ConverterCollection { /// <summary> /// Creates a new instance of <see cref="Convert...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterCollection`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections; using System.Collections.Frozen; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Runtime.Compiler...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterContext`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Runtime.CompilerServices; namespace ShapeShift; /// <summary> /// Context in which a <see cref="IShapeShiftConverterFactor...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterResult.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using static ShapeShift.ConverterResult; namespace ShapeShift; internal static class ConverterRe...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterResult`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using static ShapeShift.ConverterResult; namespace ShapeShift; /// <summary> /// The result of a...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ConverterTypeCollection.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections; using System.Collections.Frozen; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Runtime.Compiler...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/DelayedConverterFactory`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift.Converters; /// <summary> /// A factory for delayed converters (those that support recursive types). /// </summary> /// <typeparam name="TEnc...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/EnumerableConverter`4.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift.Converters; internal class EnumerableConverter<TEnumerable, TElement, TEncoder, TDecoder> : ShapeShiftConverter<TEnumerable, TEncoder, TDecod...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/IntConverters.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /* THIS (.cs) FILE IS GENERATED. DO NOT CHANGE IT. * CHANGE THE .tt FILE INSTEAD. */ #pragma warning disable SA1121 // Simplify type syntax #pragma warning disabl...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/ObjectConverterWithDefaultCtor`3.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; internal class ObjectConverterWithDefaultCtor<T, TEncoder, TDecoder>(Func<T> ctor) : ObjectConverter<T, TEncoder, TDecoder> where TEncoder :...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/ObjectConverterWithNonDefaultCtor`4.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; internal class ObjectConverterWithNonDefaultCtor<T, TArgumentState, TEncoder, TDecoder>(Func<TArgumentState> argStateCtor, Constructor<TArgum...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/ObjectConverter`3.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; internal abstract class ObjectConverter<T, TEncoder, TDecoder> : ShapeShiftConverter<T, TEncoder, TDecoder> where TEncoder : IEncoder, allow...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/PrimitiveConverterLookup`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /* THIS (.cs) FILE IS GENERATED. DO NOT CHANGE IT. * CHANGE THE .tt FILE INSTEAD. */ #pragma warning disable SA1306 // Field names should begin with lower-case le...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Converters/PrimitiveConverters.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma warning disable SA1402 // File may only contain a single type #pragma warning disable SA1649 // File name should match first type name using System.Numeric...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/DecoderException.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; public class DecoderException : Exception { public DecoderException(string message) : base(message) { } }
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/DecoderExtensions.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma warning disable SA1101 // Prefix local calls with this namespace ShapeShift; /// <summary> /// Extension methods for <see cref="IDecoder"/>. /// </summar...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IDecoder.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Numerics; namespace ShapeShift; public interface IDecoder { public TokenType NextTokenType { get; } public bool TryReadNull(); public int? ReadS...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IEncoder.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Numerics; namespace ShapeShift; public interface IEncoder { void WriteStartMap(int? propertyCount); void WriteEndMap(); void WriteStartVector(in...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IPoolableObject.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// Represents an object that can be recycled for reuse. /// </summary> internal interface IPoolableObject { /// <summary> /...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IReferencePreservingSerializer`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; public interface IReferencePreservingSerializer<TEncoder, TDecoder> where TEncoder : IEncoder, allows ref struct where TDecoder : IDecoder,...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IShapeShiftConverterFactory`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// A factory for <see cref="ShapeShiftConverter{TEncoder, TDecoder}"/> objects of arbitrary types. /// </summary> /// <typepar...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IShapeShiftConverterInternal`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// Non-generic access to internal methods of <see cref="ShapeShiftConverter{T, TEncoder, TDecoder}"/>. /// </summary> /// <typ...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IShapeShiftSerializationCallbacks.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// An interface that may be implemented to receive callbacks before serialization and after deserialization. /// </summary> p...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/IShapeShiftSerializer.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; internal interface IShapeShiftSerializer { /// <inheritdoc cref="SerializerConfiguration{TEncoder, TDecoder}.InternStrings"/> bool InternSt...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/PolyTypeExtensions.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; internal static class PolyTypeExtensions { internal static object GetOrAddOrThrow(this MultiProviderTypeCache cache, Type type, ITypeShapePr...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/PropertyConverter`3.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; internal delegate void WriteProperty<TDeclaringType, TEncoder, TDecoder>(ref TEncoder encoder, in TDeclaringType value, SerializationContext<...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ReferenceEqualityTracker`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using Microsoft.NET.StringTools; namespace ShapeShift; /// <summary> /// Tracks the...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ReferencePreservationMode.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// An enumeration of the modes supported for preserving references in serialized object graphs. /// </summary> /// <remarks> ...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ReferencePreservingConverter`3.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma warning disable NBMsgPack031 // NotExactlyOneStructure -- we're doing advanced stuff. #pragma warning disable NBMsgPack032 // Reference preservation isn't ...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ReferencePreservingVisitor`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// A visitor that wraps the result of another visitor with a reference-preserving converter. /// </summary> /// <typeparam na...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ReusableObjectPool`1.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// A means to pool objects for reuse. /// </summary> /// <typeparam name="T">The type of object to pool.</typeparam> internal...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/SerializationContext`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Immutable; using System.Diagnostics; using System.Runtime.CompilerServices; namespace ShapeShift; public struct SerializationContext<TEnc...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/SerializerConfiguration`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Immutable; namespace ShapeShift; internal record SerializerConfiguration<TEncoder, TDecoder> where TEncoder : IEncoder, allows ref struc...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeShiftConverterAttribute.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; namespace ShapeShift; /// <summary> /// A class applied to a custom data type to prescribe a custom <see cref="ShapeShiftC...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeShiftConverter`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; public abstract class ShapeShiftConverter<TEncoder, TDecoder> where TEncoder : IEncoder, allows ref struct where TDecoder : IDecoder, allow...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeShiftConverter`3.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; public abstract class ShapeShiftConverter<T, TEncoder, TDecoder> : ShapeShiftConverter<TEncoder, TDecoder>, IShapeShiftConverterInternal<TEnc...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeShiftNamingPolicy.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Globalization; using System.Runtime.CompilerServices; using Microsoft; namespace ShapeShift; /// <summary> /// Defines a t...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeShiftSerializationException.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. public class ShapeShiftSerializationException : Exception { public ShapeShiftSerializationException(string message) : base(message) { } public ShapeShiftSeri...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeShiftSerializer`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; /// <summary> /// A format-agnostic base class for serializers that use specific encoders and decoders. /// </summary> /// <typeparam name="T...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/ShapeVisitor`2.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.CompilerServices; using ShapeShift.Converters; names...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/TokenType.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ShapeShift; public enum TokenType { StartMap, EndMap, StartVector, EndVector, PropertyName, Null, String, Number, }
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/UseComparerAttribute.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; namespace ShapeShift; /// <summary> /// Specifies a comparer to be used for the keyed collections on the decorated member....
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/Usings.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. global using System.Buffers; global using Microsoft; global using PolyType; global using PolyType.Abstractions; global using PolyType.Utilities;
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
src/ShapeShift/VisitorError.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; using System.Text; namespace ShapeShift; /// <summary> /// Represents an error encountered while constructing or traversin...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft
test/ShapeShift.Taml.Tests/TamlSerializerTests.cs
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using ShapeShift.Tests; namespace ShapeShift.Taml.Tests; public partial class TamlSerializerTests : TestBase { private string? lastSe...
AArnott/ShapeShift
2
One serializer for all formats
C#
AArnott
Andrew Arnott
Microsoft