1
0

Updated dependencies, removed .NETStandard2.0
All checks were successful
Branch Build / build-test-deploy (push) Successful in 2m2s
Documentation Build / build-test-deploy (push) Successful in 2m25s

This commit is contained in:
2026-02-17 17:57:51 +01:00
parent 5631303cc6
commit 25b58f0bb6
14 changed files with 25 additions and 33 deletions

View File

@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>amwd-common-test</AssemblyName>
<RootNamespace>AMWD.Common.Test</RootNamespace>
@@ -18,7 +16,7 @@
<ItemGroup>
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.11.1" />
</ItemGroup>
</Project>

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
@@ -32,7 +33,7 @@ namespace AMWD.Common.Test
{
Headers = req.Headers,
Method = req.Method,
Properties = req.Properties,
Options = req.Options.ToDictionary(),
RequestUri = req.RequestUri,
Version = req.Version
};
@@ -107,9 +108,9 @@ namespace AMWD.Common.Test
public HttpMethod Method { get; internal set; }
/// <summary>
/// Gets of properties for the HTTP request.
/// Gets of properties/options for the HTTP request.
/// </summary>
public IDictionary<string, object> Properties { get; internal set; }
public Dictionary<string, object> Options { get; internal set; }
/// <summary>
/// Gets the <see cref="Uri"/> used for the HTTP request.