diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index c6698efce..e29eda1f0 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -1,6 +1,6 @@ -ARG NGINX_VERSION=1.31-alpine +ARG NGINX_VERSION=1.31-alpine -FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base +FROM --platform=$BUILDPLATFORM dhi.io/nginx:${NGINX_VERSION} AS base RUN rm -rf /usr/share/nginx/html/* FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2 AS build diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Configuration.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Configuration.md index bbd83a174..ecc01fb43 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Configuration.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Configuration.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Configuration summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Diagnostics.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Diagnostics.md index fc77ef61d..9cb973f1b 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Diagnostics.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Diagnostics.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Mvc.Filters.Diagnostics summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Headers.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Headers.md index 080be5d52..62e1d8324 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Headers.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Headers.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Mvc.Filters.Headers summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.ModelBinding.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.ModelBinding.md index e42302af5..130c2634d 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.ModelBinding.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.ModelBinding.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Mvc.Filters.ModelBinding summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Throttling.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Throttling.md index 9cdffb14b..f30be5831 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Throttling.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Filters.Throttling.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Mvc.Filters.Throttling summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.md index 11192695b..c567961c0 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Mvc summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Razor.TagHelpers.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Razor.TagHelpers.md index 5d2f45e42..affc225aa 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Razor.TagHelpers.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Razor.TagHelpers.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.AspNetCore.Razor.TagHelpers summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Collections.Generic.md b/.docfx/api/namespaces/Cuemon.Collections.Generic.md index beab88508..a6df39529 100644 --- a/.docfx/api/namespaces/Cuemon.Collections.Generic.md +++ b/.docfx/api/namespaces/Cuemon.Collections.Generic.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Collections.Generic summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Collections.md b/.docfx/api/namespaces/Cuemon.Collections.md index 361f515e5..a7dc520b9 100644 --- a/.docfx/api/namespaces/Cuemon.Collections.md +++ b/.docfx/api/namespaces/Cuemon.Collections.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Collections summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Configuration.md b/.docfx/api/namespaces/Cuemon.Configuration.md index 56046d3c3..0c28ad2b7 100644 --- a/.docfx/api/namespaces/Cuemon.Configuration.md +++ b/.docfx/api/namespaces/Cuemon.Configuration.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Configuration summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Data.Integrity.md b/.docfx/api/namespaces/Cuemon.Data.Integrity.md index 179d8b984..2c33fdbd0 100644 --- a/.docfx/api/namespaces/Cuemon.Data.Integrity.md +++ b/.docfx/api/namespaces/Cuemon.Data.Integrity.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Data.Integrity summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Data.SqlClient.md b/.docfx/api/namespaces/Cuemon.Data.SqlClient.md index e8922d09d..d471a5ab6 100644 --- a/.docfx/api/namespaces/Cuemon.Data.SqlClient.md +++ b/.docfx/api/namespaces/Cuemon.Data.SqlClient.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Data.SqlClient summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Data.Xml.md b/.docfx/api/namespaces/Cuemon.Data.Xml.md index f11537e2a..9dc513455 100644 --- a/.docfx/api/namespaces/Cuemon.Data.Xml.md +++ b/.docfx/api/namespaces/Cuemon.Data.Xml.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Data.Xml summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Data.md b/.docfx/api/namespaces/Cuemon.Data.md index 53852d4fd..25d36e874 100644 --- a/.docfx/api/namespaces/Cuemon.Data.md +++ b/.docfx/api/namespaces/Cuemon.Data.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Data summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Diagnostics.md b/.docfx/api/namespaces/Cuemon.Diagnostics.md index 1f2c87ffc..367716aa5 100644 --- a/.docfx/api/namespaces/Cuemon.Diagnostics.md +++ b/.docfx/api/namespaces/Cuemon.Diagnostics.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Diagnostics summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Authentication.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Authentication.md index 3ba3865d4..4b400bb83 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Authentication.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Authentication.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Authentication summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Configuration.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Configuration.md index 95161189f..e8bb1086a 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Configuration.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Configuration.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Configuration summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Diagnostics.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Diagnostics.md index 0f55ed3eb..b4492d0e1 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Diagnostics.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Diagnostics.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Diagnostics summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Hosting.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Hosting.md index 10dd9ec2e..3aed717c1 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Hosting.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Hosting.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Hosting summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Headers.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Headers.md index cf2eb5230..68aed2349 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Headers.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Headers.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Http.Headers summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Throttling.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Throttling.md index aae000951..fcc4b39ae 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Throttling.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.Throttling.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Http.Throttling summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.md index 2e6024fe1..b3a17dfd0 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Http.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Http summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Filters.Diagnostics.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Filters.Diagnostics.md index 5eedc0037..f69b3bf6c 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Filters.Diagnostics.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Filters.Diagnostics.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Mvc.Filters.Diagnostics summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.md index f18673522..78bfa27d6 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.md index 1c85edd31..99c748f66 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Mvc.RazorPages summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Rendering.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Rendering.md index e6af8a763..2f453fca0 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Rendering.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Rendering.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Mvc.Rendering summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.md index e33e4d846..5d2d7d3a8 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Mvc summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Converters.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Converters.md index 5917356e6..93e5dfa14 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Converters.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Converters.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Xml.Converters summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Formatters.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Formatters.md index 69fd5fa4a..44f435bfe 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Formatters.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Xml.Formatters.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.AspNetCore.Xml.Formatters summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Collections.Generic.md b/.docfx/api/namespaces/Cuemon.Extensions.Collections.Generic.md index 577305bc7..817a21892 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Collections.Generic.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Collections.Generic.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Collections.Generic summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Collections.Specialized.md b/.docfx/api/namespaces/Cuemon.Extensions.Collections.Specialized.md index aaac78e69..4394e06a4 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Collections.Specialized.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Collections.Specialized.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Collections.Specialized summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Data.Integrity.md b/.docfx/api/namespaces/Cuemon.Extensions.Data.Integrity.md index 8da0d3b75..c15ba8f21 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Data.Integrity.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Data.Integrity.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Data.Integrity summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Data.md b/.docfx/api/namespaces/Cuemon.Extensions.Data.md index 9b4472881..48e441539 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Data.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Data.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Data summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.DependencyInjection.md b/.docfx/api/namespaces/Cuemon.Extensions.DependencyInjection.md index a09f3f7df..8fe2b57bd 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.DependencyInjection.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.DependencyInjection.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.DependencyInjection summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Diagnostics.md b/.docfx/api/namespaces/Cuemon.Extensions.Diagnostics.md index 6482f92b2..0ab05a641 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Diagnostics.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Diagnostics.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Diagnostics summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Hosting.md b/.docfx/api/namespaces/Cuemon.Extensions.Hosting.md index f3f203b0c..e4e10d912 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Hosting.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Hosting.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Hosting summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.IO.md b/.docfx/api/namespaces/Cuemon.Extensions.IO.md index 5f70f6abc..39903950e 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.IO.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.IO.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.IO summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Net.Http.md b/.docfx/api/namespaces/Cuemon.Extensions.Net.Http.md index ad9fcc5f5..7007c1c2f 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Net.Http.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Net.Http.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Net.Http summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Net.Security.md b/.docfx/api/namespaces/Cuemon.Extensions.Net.Security.md index eb05d1e6c..c9f51b41d 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Net.Security.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Net.Security.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Net.Security summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Net.md b/.docfx/api/namespaces/Cuemon.Extensions.Net.md index fa94b038c..a60790454 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Net.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Net.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Net summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Reflection.md b/.docfx/api/namespaces/Cuemon.Extensions.Reflection.md index ebe9af8b9..a0a17c811 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Reflection.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Reflection.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Reflection summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Runtime.Caching.md b/.docfx/api/namespaces/Cuemon.Extensions.Runtime.Caching.md index bf799e2cf..baa43b6be 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Runtime.Caching.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Runtime.Caching.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Runtime.Caching summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Text.md b/.docfx/api/namespaces/Cuemon.Extensions.Text.md index 32fcd9c06..fbdc16c8e 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Text.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Text.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Text summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Threading.Tasks.md b/.docfx/api/namespaces/Cuemon.Extensions.Threading.Tasks.md index bfe0e6eab..dcd63db54 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Threading.Tasks.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Threading.Tasks.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Threading.Tasks summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Xml.Linq.md b/.docfx/api/namespaces/Cuemon.Extensions.Xml.Linq.md index 89644155b..e77d86d94 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Xml.Linq.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Xml.Linq.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Xml.Linq summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.Converters.md b/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.Converters.md index 01b5b2698..f5377a42c 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.Converters.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.Converters.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Xml.Serialization.Converters summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.md b/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.md index 6628da805..49570034a 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Xml.Serialization.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Xml.Serialization summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Xml.md b/.docfx/api/namespaces/Cuemon.Extensions.Xml.md index 253652493..3b9f66354 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.Xml.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.Xml.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions.Xml summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Extensions.md b/.docfx/api/namespaces/Cuemon.Extensions.md index fbef5d442..57805246b 100644 --- a/.docfx/api/namespaces/Cuemon.Extensions.md +++ b/.docfx/api/namespaces/Cuemon.Extensions.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Extensions summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Globalization.md b/.docfx/api/namespaces/Cuemon.Globalization.md index ddb8bdc32..32f69a979 100644 --- a/.docfx/api/namespaces/Cuemon.Globalization.md +++ b/.docfx/api/namespaces/Cuemon.Globalization.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Globalization summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.IO.md b/.docfx/api/namespaces/Cuemon.IO.md index 743603521..3f1ac0934 100644 --- a/.docfx/api/namespaces/Cuemon.IO.md +++ b/.docfx/api/namespaces/Cuemon.IO.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.IO summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Messaging.md b/.docfx/api/namespaces/Cuemon.Messaging.md index fa65da914..d75cf46d3 100644 --- a/.docfx/api/namespaces/Cuemon.Messaging.md +++ b/.docfx/api/namespaces/Cuemon.Messaging.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Messaging summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Net.Http.md b/.docfx/api/namespaces/Cuemon.Net.Http.md index 5f241d3e1..20faf2b0f 100644 --- a/.docfx/api/namespaces/Cuemon.Net.Http.md +++ b/.docfx/api/namespaces/Cuemon.Net.Http.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Net.Http summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Net.Mail.md b/.docfx/api/namespaces/Cuemon.Net.Mail.md index bf7523b7f..2529112d6 100644 --- a/.docfx/api/namespaces/Cuemon.Net.Mail.md +++ b/.docfx/api/namespaces/Cuemon.Net.Mail.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Net.Mail summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Net.md b/.docfx/api/namespaces/Cuemon.Net.md index 9c0b5e605..88b74c4f4 100644 --- a/.docfx/api/namespaces/Cuemon.Net.md +++ b/.docfx/api/namespaces/Cuemon.Net.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Net summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Reflection.md b/.docfx/api/namespaces/Cuemon.Reflection.md index ca0c48984..98f81a7b5 100644 --- a/.docfx/api/namespaces/Cuemon.Reflection.md +++ b/.docfx/api/namespaces/Cuemon.Reflection.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Reflection summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Resilience.md b/.docfx/api/namespaces/Cuemon.Resilience.md index 7a8cd424a..349a620d3 100644 --- a/.docfx/api/namespaces/Cuemon.Resilience.md +++ b/.docfx/api/namespaces/Cuemon.Resilience.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Resilience summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Runtime.Caching.md b/.docfx/api/namespaces/Cuemon.Runtime.Caching.md index 4418ff80e..df2f47ab4 100644 --- a/.docfx/api/namespaces/Cuemon.Runtime.Caching.md +++ b/.docfx/api/namespaces/Cuemon.Runtime.Caching.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Runtime.Caching summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Runtime.Serialization.Formatters.md b/.docfx/api/namespaces/Cuemon.Runtime.Serialization.Formatters.md index 9edaeb42b..82fcaab59 100644 --- a/.docfx/api/namespaces/Cuemon.Runtime.Serialization.Formatters.md +++ b/.docfx/api/namespaces/Cuemon.Runtime.Serialization.Formatters.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Runtime.Serialization.Formatters summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Runtime.Serialization.md b/.docfx/api/namespaces/Cuemon.Runtime.Serialization.md index ab15f79a9..f981bd3b6 100644 --- a/.docfx/api/namespaces/Cuemon.Runtime.Serialization.md +++ b/.docfx/api/namespaces/Cuemon.Runtime.Serialization.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Runtime.Serialization summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Runtime.md b/.docfx/api/namespaces/Cuemon.Runtime.md index 5c3285092..ee9501d1e 100644 --- a/.docfx/api/namespaces/Cuemon.Runtime.md +++ b/.docfx/api/namespaces/Cuemon.Runtime.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Runtime summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Security.Cryptography.md b/.docfx/api/namespaces/Cuemon.Security.Cryptography.md index 2105af04b..a09db48a7 100644 --- a/.docfx/api/namespaces/Cuemon.Security.Cryptography.md +++ b/.docfx/api/namespaces/Cuemon.Security.Cryptography.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Security.Cryptography summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Security.md b/.docfx/api/namespaces/Cuemon.Security.md index 32000235e..75e0e307d 100644 --- a/.docfx/api/namespaces/Cuemon.Security.md +++ b/.docfx/api/namespaces/Cuemon.Security.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Security summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Threading.md b/.docfx/api/namespaces/Cuemon.Threading.md index 8ea6a25ce..2fabb359f 100644 --- a/.docfx/api/namespaces/Cuemon.Threading.md +++ b/.docfx/api/namespaces/Cuemon.Threading.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Threading summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Xml.Linq.md b/.docfx/api/namespaces/Cuemon.Xml.Linq.md index 6633e4597..5ffff5531 100644 --- a/.docfx/api/namespaces/Cuemon.Xml.Linq.md +++ b/.docfx/api/namespaces/Cuemon.Xml.Linq.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Xml.Linq summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Xml.Serialization.Converters.md b/.docfx/api/namespaces/Cuemon.Xml.Serialization.Converters.md index be3e7ae81..3a80c1bf7 100644 --- a/.docfx/api/namespaces/Cuemon.Xml.Serialization.Converters.md +++ b/.docfx/api/namespaces/Cuemon.Xml.Serialization.Converters.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Xml.Serialization.Converters summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Xml.Serialization.Formatters.md b/.docfx/api/namespaces/Cuemon.Xml.Serialization.Formatters.md index 0cd42efdb..ee8d1f086 100644 --- a/.docfx/api/namespaces/Cuemon.Xml.Serialization.Formatters.md +++ b/.docfx/api/namespaces/Cuemon.Xml.Serialization.Formatters.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Xml.Serialization.Formatters summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Xml.Serialization.md b/.docfx/api/namespaces/Cuemon.Xml.Serialization.md index 4b2b4d86d..d851d42e4 100644 --- a/.docfx/api/namespaces/Cuemon.Xml.Serialization.md +++ b/.docfx/api/namespaces/Cuemon.Xml.Serialization.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Xml.Serialization summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Xml.XPath.md b/.docfx/api/namespaces/Cuemon.Xml.XPath.md index 65b53d84f..771401cf5 100644 --- a/.docfx/api/namespaces/Cuemon.Xml.XPath.md +++ b/.docfx/api/namespaces/Cuemon.Xml.XPath.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Xml.XPath summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.Xml.md b/.docfx/api/namespaces/Cuemon.Xml.md index f24b6ec3a..09e46af99 100644 --- a/.docfx/api/namespaces/Cuemon.Xml.md +++ b/.docfx/api/namespaces/Cuemon.Xml.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon.Xml summary: *content --- diff --git a/.docfx/api/namespaces/Cuemon.md b/.docfx/api/namespaces/Cuemon.md index d448a2403..e529410e1 100644 --- a/.docfx/api/namespaces/Cuemon.md +++ b/.docfx/api/namespaces/Cuemon.md @@ -1,4 +1,4 @@ ---- +--- uid: Cuemon summary: *content --- diff --git a/.docfx/includes/availability-all.md b/.docfx/includes/availability-all.md index 1046c70ea..3aa5b59f0 100644 --- a/.docfx/includes/availability-all.md +++ b/.docfx/includes/availability-all.md @@ -1 +1 @@ -Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 \ No newline at end of file +Availability: .NET 11, .NET 10, .NET Standard 2.1 and .NET Standard 2.0 \ No newline at end of file diff --git a/.docfx/includes/availability-default.md b/.docfx/includes/availability-default.md index fa28d0ef3..09123378e 100644 --- a/.docfx/includes/availability-default.md +++ b/.docfx/includes/availability-default.md @@ -1 +1 @@ -Availability: .NET 10, .NET 9 and .NET Standard 2.0 \ No newline at end of file +Availability: .NET 11, .NET 10 and .NET Standard 2.0 \ No newline at end of file diff --git a/.docfx/includes/availability-hybrid.md b/.docfx/includes/availability-hybrid.md index 6884bfe84..eeb0ad21c 100644 --- a/.docfx/includes/availability-hybrid.md +++ b/.docfx/includes/availability-hybrid.md @@ -1 +1 @@ -Availability: .NET 10, .NET 9 and .NET Standard 2.0 (when applicable) or .NET Standard 2.1 (when applicable) \ No newline at end of file +Availability: .NET 11, .NET 10, and .NET Standard 2.0 (when applicable) or .NET Standard 2.1 (when applicable) \ No newline at end of file diff --git a/.docfx/includes/availability-modern.md b/.docfx/includes/availability-modern.md index af5cf4b94..db9549d40 100644 --- a/.docfx/includes/availability-modern.md +++ b/.docfx/includes/availability-modern.md @@ -1 +1 @@ -Availability: .NET 10 and .NET 9 \ No newline at end of file +Availability: .NET 11 and .NET 10 \ No newline at end of file diff --git a/.docfx/index.md b/.docfx/index.md index 13bef3364..ed5117de5 100644 --- a/.docfx/index.md +++ b/.docfx/index.md @@ -1,4 +1,4 @@ ---- +--- uid: concept-md title: Concept Reference --- diff --git a/.docfx/nginx.conf b/.docfx/nginx.conf index c95d1b1b7..975e1077d 100644 --- a/.docfx/nginx.conf +++ b/.docfx/nginx.conf @@ -1,3 +1,10 @@ +# Only successful asset responses and revalidation responses may be cached. +map $status $fingerprinted_asset_cache_control { + default "no-store"; + ~^2 "public, max-age=31536000, immutable"; + 304 "public, max-age=31536000, immutable"; +} + server { listen 8080; server_name _; @@ -11,7 +18,9 @@ server { # cached permanently because changed content is published under a different URL. location ~ "^/public/.+-[A-Z0-9]{8}(?:-[A-Z0-9]{8})?(?:\.min)?\.(?:(?:css|js)(?:\.map)?|woff2?)$" { try_files $uri =404; - add_header Cache-Control "public, max-age=31536000, immutable" always; + # Range errors are generated after headers are set, so serve complete assets. + max_ranges 0; + add_header Cache-Control $fingerprinted_asset_cache_control always; add_header Vary "Accept-Encoding" always; } diff --git a/.docfx/templates/cuemon/partials/namespace.tmpl.partial b/.docfx/templates/cuemon/partials/namespace.tmpl.partial index 173b006cb..53bd779d2 100644 --- a/.docfx/templates/cuemon/partials/namespace.tmpl.partial +++ b/.docfx/templates/cuemon/partials/namespace.tmpl.partial @@ -8,7 +8,9 @@ {{#children}}

{{>partials/namespaceSubtitle}}

{{#children}} -

-
{{{summary}}}
+
+
+
{{{summary}}}
+
{{/children}} -{{/children}} \ No newline at end of file +{{/children}} diff --git a/.editorconfig b/.editorconfig index a083db5c7..886ea1533 100644 --- a/.editorconfig +++ b/.editorconfig @@ -37,7 +37,7 @@ dotnet_diagnostic.IDE0063.severity = none dotnet_diagnostic.IDE0071.severity = none # S3267: Loops should be simplified with "LINQ" expressions -# https://rules.sonarsource.com/csharp/RSPEC-3267 +# https://sonarcloud.io/organizations/sonarcloud/rules?open=csharpsquid:S3267&rule_key=csharpsquid:S3267 dotnet_diagnostic.S3267.severity = none # CA1859: Use concrete types when possible for improved performance @@ -57,9 +57,10 @@ indent_size = 4 # IDE0161: Namespace declaration preferences # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0161 -# Prefer file-scoped namespaces for new files; existing block-scoped files should not be converted unless explicitly asked +# File-scoped namespaces are mandatory for new and existing C# files. [*.cs] -csharp_style_namespace_declarations = file_scoped:suggestion +csharp_style_namespace_declarations = file_scoped:error +dotnet_diagnostic.IDE0161.severity = error # Top-level statements: DO NOT USE # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0210-ide0211 diff --git a/.gitattributes b/.gitattributes index 1ff0c4230..0ea8d1bd8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,7 @@ ############################################################################### # Set default behavior to automatically normalize line endings. ############################################################################### -* text=auto +* text=auto eol=lf ############################################################################### # Set default behavior for command prompt diff. @@ -17,7 +17,7 @@ # # Merging from the command prompt will add diff markers to the files if there # are conflicts (Merging from VS is not affected by the settings below, in VS -# the diff markers are never inserted). Diff markers may cause the following +# the diff markers are never inserted). Diff markers may cause the following # file extensions to fail to load in VS. An alternative would be to treat # these files as binary and thus will always conflict and require user # intervention with every merge. To do so, just uncomment the entries below @@ -46,9 +46,9 @@ ############################################################################### # diff behavior for common document formats -# +# # Convert binary document formats to text before diffing them. This feature -# is only available from the command line. Turn it on by uncommenting the +# is only available from the command line. Turn it on by uncommenting the # entries below. ############################################################################### #*.doc diff=astextplain diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index b776f7b3f..f011fada0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -5,7 +5,7 @@ This repository is part of the Codebelt .NET library estate. The instructions be ## Before you start - Read the repository `README.md` and open an issue before starting a non-trivial feature or behavioral change. -- Use an installed .NET SDK that can build the target frameworks listed below. This repository currently targets: **net10.0, net48, net9.0, netstandard2.0, netstandard2.1**. +- Use an installed .NET SDK that can build the target frameworks listed below. This repository currently targets: **net11.0, net10.0, net48, netstandard2.0, netstandard2.1**. - The solution is `Cuemon.slnx`. Central package versions are maintained in `Directory.Packages.props`. - The shared build behavior is in `Directory.Build.props` and `Directory.Build.targets`; repository-specific TFMs, package references and metadata remain local to this library. @@ -18,7 +18,7 @@ This repository is part of the Codebelt .NET library estate. The instructions be - `.github/workflows/prerelease.yml` publishes tagged NuGet prereleases from long-lived .NET branches through a manual run. - `.github/workflows/release.yml` publishes packages from a version-tagged commit in `main` history; post-release assurance and DocFX production run after NuGet publication. - `.github/workflows/deploy.yml` promotes the published DocFX image without rebuilding it. See [Release and deployment](#release-and-deployment) for the CI/CD handoff. -- `testenvironments.json` declares the supported `WSL-Ubuntu` environment and separate `Docker-Ubuntu (net9.0)`, `Docker-Ubuntu (net10.0)`, and `Docker-Ubuntu (net11.0)` test environments. +- `testenvironments.json` declares the supported `WSL-Ubuntu` environment and separate `Docker-Ubuntu (net10.0)` and `Docker-Ubuntu (net11.0)` test environments. ## Build @@ -48,7 +48,6 @@ The CI test plan currently runs **38** project(s) and excludes **1** project(s). ## Integration and infrastructure - `WSL-Ubuntu` — WSL distribution `Ubuntu-26.04`. -- `Docker-Ubuntu (net9.0)` — Docker image `codebeltnet/ubuntu-testrunner:9`. - `Docker-Ubuntu (net10.0)` — Docker image `codebeltnet/ubuntu-testrunner:10`. - `Docker-Ubuntu (net11.0)` — Docker image `codebeltnet/ubuntu-testrunner:11`. @@ -78,9 +77,9 @@ Package-specific release notes live under `.nuget//PackageReleaseNo ### Prereleases from long-lived .NET branches -Use **.NET Prerelease Flow** (`prerelease.yml`) for Preview and Release Candidate packages developed on long-lived branches, such as `v11.0.0/double-digits` and future .NET 12 branches. Keep this workflow and its shared verification inputs/outputs on `main` and in each development branch. GitHub requires the workflow's manual trigger on the default branch before it appears in the Actions UI. The existing `Production` environment's deployment branch rules must also allow the intended development branches. +Use **.NET Prerelease Flow** (`prerelease.yml`) for Preview and Release Candidate packages developed on long-lived branches for upcoming .NET releases, such as .NET 12. Keep this workflow and its shared verification inputs/outputs on `main` and in each development branch. GitHub requires the workflow's manual trigger on the default branch before it appears in the Actions UI. The existing `Production` environment's deployment branch rules must also allow the intended development branches. -Tag the intended branch tip and push the branch and tag, for example `v11.0.0-rc.2`. In **Actions → .NET Prerelease Flow → Run workflow**, select that development branch. The workflow checks out the triggering commit, requires an existing SemVer prerelease tag at that commit, and requires MinVer's calculated version to match the tag. The same flow accepts future versions such as `v12.0.0-preview.1`; no workflow version changes are required. +Tag the intended branch tip and push the branch and tag, for example `v12.0.0-preview.1` or `v12.0.0-rc.1`. In **Actions → .NET Prerelease Flow → Run workflow**, select that development branch. The workflow checks out the triggering commit, requires an existing SemVer prerelease tag at that commit, and requires MinVer's calculated version to match the tag. No workflow version changes are required for future package versions. SDK installation uses stable releases by default; branches targeting a preview SDK must opt in to preview SDK installation in their workflows. Shared verification builds signed Debug and Release packages, runs the Linux and Windows test matrices and SQL integration tests, and requires SonarCloud and Codecov success. macOS is optional. CodeQL follows the shared workflow's explicit support policy. Analysis retains the selected development branch identity rather than reporting canonical main. After verification, package validation checks the existing `Verification-NuGet-Release` artifact before the protected `Production` job publishes that same artifact to NuGet. No packages are rebuilt for publication. diff --git a/.github/prompts/benchmark.prompt.md b/.github/prompts/benchmark.prompt.md deleted file mode 100644 index 74c99c60f..000000000 --- a/.github/prompts/benchmark.prompt.md +++ /dev/null @@ -1,165 +0,0 @@ ---- -mode: agent -description: 'Writing Performance Benchmarks in Cuemon' ---- - -# Benchmark Fixture Prompt (Cuemon Tuning Benchmarks) - -This prompt defines how to generate performance tests (“benchmarks”) for the Cuemon codebase using BenchmarkDotNet. -Benchmarks in Cuemon are *not* unit tests — they are micro- or component-level performance measurements that belong under the `tuning/` directory and follow strict conventions. - -Copilot must follow these guidelines when generating benchmark fixtures. - ---- - -## 1. Naming and Placement - -- All benchmark projects live under the `tuning/` folder. - Examples: - - `tuning/Cuemon.Core.Benchmarks/` - - `tuning/Cuemon.Security.Benchmarks/` - -- **Namespaces must NOT end with `.Benchmarks`.** - They must mirror the production assembly’s namespace. - - Example: - If benchmarking a type inside `Cuemon.Security.Cryptography`, then: - - ```csharp - namespace Cuemon.Security.Cryptography - { - public class Sha512256Benchmark { … } - } - ``` - -* **Benchmark class names must end with `Benchmark`.** - Example: `DateSpanBenchmark`, `FowlerNollVoBenchmark`. - -* Benchmark files should be located in the matching benchmark project - (e.g., benchmarks for `Cuemon.Security.Cryptography` go in `Cuemon.Security.Cryptography.Benchmarks.csproj`). - -* In the `.csproj` for each benchmark project, set the root namespace to the production namespace: - - ```xml - Cuemon.Security.Cryptography - ``` - ---- - -## 2. Attributes and Configuration - -Each benchmark class should use: - -```csharp -[MemoryDiagnoser] -[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)] -``` - -Optional but strongly recommended where meaningful: - -* `[Params(...)]` — define small, medium, large input sizes. -* `[GlobalSetup]` — deterministic initialization of benchmark data. -* `[Benchmark(Description = "...")]` — always add descriptions. -* `[Benchmark(Baseline = true)]` — when comparing two implementations. - -Avoid complex global configs; prefer explicit attributes inside the class. - ---- - -## 3. Structure and Best Practices - -A benchmark fixture must: - -* Measure a **single logical operation** per benchmark method. -* Avoid I/O, networking, disk access, logging, or side effects. -* Avoid expensive setup inside `[Benchmark]` methods. -* Use deterministic data (e.g., seeded RNG or predefined constants). -* Use `[GlobalSetup]` to allocate buffers, random payloads, or reusable test data only once. -* Avoid shared mutable state unless reset per iteration. - -Use representative input sizes such as: - -```csharp -[Params(8, 256, 4096)] -public int Count { get; set; } -``` - -BenchmarkDotNet will run each benchmark for each parameter value. - ---- - -## 4. Method Naming Conventions - -Use descriptive names that communicate intent: - -* `Parse_Short` -* `Parse_Long` -* `ComputeHash_Small` -* `ComputeHash_Large` -* `Serialize_Optimized` -* `Serialize_Baseline` - -When comparing approaches, always list them clearly and tag one as the baseline. - ---- - -## 5. Example Benchmark Fixture - -```csharp -using BenchmarkDotNet.Attributes; -using BenchmarkDotNet.Configs; - -namespace Cuemon -{ - [MemoryDiagnoser] - [GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)] - public class SampleOperationBenchmark - { - [Params(8, 256, 4096)] - public int Count { get; set; } - - private byte[] _payload; - - [GlobalSetup] - public void Setup() - { - _payload = new byte[Count]; - // deterministic initialization - } - - [Benchmark(Baseline = true, Description = "Operation - baseline")] - public int Operation_Baseline() => SampleOperation.Process(_payload); - - [Benchmark(Description = "Operation - optimized")] - public int Operation_Optimized() => SampleOperation.ProcessOptimized(_payload); - } -} -``` - ---- - -## 6. Reporting and CI - -* Benchmark projects live exclusively under `tuning/`. They must not affect production builds. -* Heavy BenchmarkDotNet runs should *not* run in CI unless explicitly configured. -* Reports are produced by the Cuemon benchmark runner and stored under its configured artifacts directory. - ---- - -## 7. Additional Guidelines - -* Keep benchmark fixtures focused and readable. -* Document non-obvious reasoning in short comments. -* Prefer realistic but deterministic data sets. -* When benchmarks reveal regressions or improvements, reference the associated PR or issue in a comment. -* Shared benchmark helpers belong in `tuning/` projects, not in production code. - ---- - -## Final Notes - -* Benchmarks are performance tests, not unit tests. -* Use `[Benchmark]` only for pure performance measurement. -* Avoid `MethodImplOptions.NoInlining` unless absolutely necessary. -* Use small sets of meaningful benchmark scenarios — avoid combinatorial explosion. - diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 3a47dc26f..e2c8c0ce4 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -46,7 +46,7 @@ jobs: exit 1 fi if ! tag="$(git describe --tags --exact-match --match 'v*-*' HEAD)"; then - echo '::error::Tag and push the selected branch tip first, for example v11.0.0-rc.2 or v12.0.0-preview.1.' + echo '::error::Tag and push the selected branch tip first, for example v12.0.0-preview.1 or v12.0.0-rc.1.' exit 1 fi version="${tag#v}" @@ -87,10 +87,8 @@ jobs: runs-on: ubuntu-26.04 timeout-minutes: 15 steps: - - name: Install .NET including prerelease SDKs + - name: Install .NET uses: codebeltnet/install-dotnet@v3 - with: - includePreview: true - name: Download verified Release packages uses: actions/download-artifact@v8 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 7ef98cad9..c00ab6146 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -27,7 +27,7 @@ jobs: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4 + uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0 with: results_file: results.sarif results_format: sarif @@ -42,7 +42,7 @@ jobs: # uploads of run results in SARIF format to the repository Actions tab. # https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts - name: "Upload artifact" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: SARIF file path: results.sarif @@ -51,6 +51,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 + uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3 with: sarif_file: results.sarif diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index b79fb2a5f..7ad160db4 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -533,7 +533,6 @@ jobs: exit 1 fi require_success "test_qualitygate" "$TEST_RESULT" - if [[ "$RUN_PRIVILEGED_JOBS" == "true" ]]; then require_success "sonarcloud" "$SONAR_RESULT" require_success "codecov" "$CODECOV_RESULT" @@ -557,7 +556,6 @@ jobs: for attempt in {1..20}; do sonar_ok=false codecov_ok=false - codeql_ok=false # Newer main analyses must not hide the released revision, including on later pages. sonar_page=1 while sonar="$(curl --fail --silent --show-error --connect-timeout 10 --max-time 30 "https://sonarcloud.io/api/project_analyses/search?project=Cuemon&branch=main&ps=100&p=$sonar_page")"; do @@ -576,24 +574,19 @@ jobs: '.branch == "main" and .commitid == $sha and .state == "complete"' <<< "$codecov" >/dev/null; then codecov_ok=true fi - if codeql="$(gh api --paginate --slurp "repos/$GITHUB_REPOSITORY/code-scanning/analyses?tool_name=CodeQL&ref=refs%2Fheads%2Fmain&per_page=100")" && - jq -e --arg sha "$RELEASE_SHA" \ - 'any(.[][]; .tool.name == "CodeQL" and .ref == "refs/heads/main" and .commit_sha == $sha and .error == "")' <<< "$codeql" >/dev/null; then - codeql_ok=true - fi - echo "Service identity check $attempt/20 for $RELEASE_SHA: SonarCloud=$sonar_ok; Codecov=$codecov_ok; CodeQL=$codeql_ok" - if [[ "$sonar_ok" == true && "$codecov_ok" == true && "$codeql_ok" == true ]]; then + echo "Service identity check $attempt/20 for $RELEASE_SHA: SonarCloud=$sonar_ok; Codecov=$codecov_ok; CodeQL=skipped (.NET 11 unsupported)" + if [[ "$sonar_ok" == true && "$codecov_ok" == true ]]; then { echo '## Post-release service identity verified' echo "- SonarCloud: main; SCM revision \`$RELEASE_SHA\`; project version \`$RELEASE_VERSION\`" echo "- Codecov: main; commit \`$RELEASE_SHA\`" - echo "- CodeQL: refs/heads/main; commit \`$RELEASE_SHA\`" + echo '- CodeQL: skipped because .NET 11 is not yet supported; no CodeQL assurance is claimed.' } >> "$GITHUB_STEP_SUMMARY" exit 0 fi if [[ "$attempt" -lt 20 ]]; then sleep 15; fi done - echo "::error::Services did not confirm canonical main at released SHA '$RELEASE_SHA' (SonarCloud=$sonar_ok; Codecov=$codecov_ok; CodeQL=$codeql_ok). Inspect service records; successful uploads alone do not establish assurance." + echo "::error::Services did not confirm canonical main at released SHA '$RELEASE_SHA' (SonarCloud=$sonar_ok; Codecov=$codecov_ok; CodeQL=skipped). Inspect service records; successful uploads alone do not establish assurance." exit 1 - name: Report verified success @@ -603,4 +596,5 @@ jobs: echo "## Shared verification passed" echo echo "Build and package validation passed. Required Linux and Windows tests passed; optional macOS and trusted-repository checks followed the workflow inputs and fork policy." + echo "CodeQL was skipped because .NET 11 is not yet supported; no CodeQL assurance is claimed." } >> "$GITHUB_STEP_SUMMARY" diff --git a/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt index 76d955b9a..9bf78b634 100644 --- a/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -96,10 +105,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -120,6 +129,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.AspNetCore.App/README.md b/.nuget/Cuemon.AspNetCore.App/README.md index b89515880..0aefc0785 100644 --- a/.nuget/Cuemon.AspNetCore.App/README.md +++ b/.nuget/Cuemon.AspNetCore.App/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt index 75afc2896..44cbac41c 100644 --- a/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -99,10 +108,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -123,6 +132,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.AspNetCore.Authentication/README.md b/.nuget/Cuemon.AspNetCore.Authentication/README.md index 0270c1230..93731ac3b 100644 --- a/.nuget/Cuemon.AspNetCore.Authentication/README.md +++ b/.nuget/Cuemon.AspNetCore.Authentication/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt index 9bfa22c95..9d2001fd0 100644 --- a/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -99,10 +108,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -122,75 +131,3 @@ Availability: .NET 10 and .NET 9 - ADDED Support for TFM .NET 10 (LTS) - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - -Version 9.0.10 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.9 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.8 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.7 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.6 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.5 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.4 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.3 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.2 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.1 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.0 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) - -# Improvements -- EXTENDED ExceptionDescriptorResult class in the Cuemon.AspNetCore.Mvc namespace to have an extra overload that accepts ProblemDetails -- CHANGED FaultDescriptorFilter class in the Cuemon.AspNetCore.Mvc.Filters.Diagnostics namespace to support preferred fault descriptor (e.g., FaultDetails or ProblemDetails) - diff --git a/.nuget/Cuemon.AspNetCore.Mvc/README.md b/.nuget/Cuemon.AspNetCore.Mvc/README.md index 8c2099845..8884c4184 100644 --- a/.nuget/Cuemon.AspNetCore.Mvc/README.md +++ b/.nuget/Cuemon.AspNetCore.Mvc/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt index 64874a9dd..d5d8534e9 100644 --- a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -102,10 +111,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -126,6 +135,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md index 43a517330..9b9bd3cb5 100644 --- a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md +++ b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt index ffbdc3ee0..48d5a5740 100644 --- a/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -105,10 +114,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -128,81 +137,3 @@ Availability: .NET 10 and .NET 9 - ADDED Support for TFM .NET 10 (LTS) - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - -Version 9.0.10 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.9 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.8 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.7 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.6 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.5 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.4 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.3 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.2 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.1 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.0 -Availability: .NET 9 and .NET 8 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) - -# Breaking Changes -- REMOVED BadRequestMessage property from the class from the ApiKeySentinelOptions class in the Cuemon.AspNetCore.Http.Headers namespace - -# New Features -- ADDED PreferredFaultDescriptor enum in the Cuemon.AspNetCore.Diagnostics namespace that specifies the preferred output format of an Exception raised in the context of either vanilla ASP.NET or ASP.NET MVC - -# Improvements -- EXTENDED FaultDescriptorOptions class in the Cuemon.AspNetCore.Diagnostics namespace to include a property named FaultDescriptor (PreferredFaultDescriptor); default is PreferredFaultDescriptor.FaultDetails -- EXTENDED HttpExceptionDescriptor class in the Cuemon.AspNetCore.Diagnostics namespace to include two new properties; Instance (Uri) and TraceId (string) - diff --git a/.nuget/Cuemon.AspNetCore/README.md b/.nuget/Cuemon.AspNetCore/README.md index a918fa606..f02de6354 100644 --- a/.nuget/Cuemon.AspNetCore/README.md +++ b/.nuget/Cuemon.AspNetCore/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt b/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt index 3a6e482cd..f28512cc2 100644 --- a/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Core.App/README.md b/.nuget/Cuemon.Core.App/README.md index dffb297ba..7dc07095d 100644 --- a/.nuget/Cuemon.Core.App/README.md +++ b/.nuget/Cuemon.Core.App/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Core/PackageReleaseNotes.txt b/.nuget/Cuemon.Core/PackageReleaseNotes.txt index a93701adc..37ac73a6d 100644 --- a/.nuget/Cuemon.Core/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Core/PackageReleaseNotes.txt @@ -1,3 +1,71 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + +# Breaking Changes +- REMOVED Arguments class from the Cuemon.Collections.Generic namespace +- REMOVED Configurable class from the Cuemon.Configuration namespace +- REMOVED IConfigurable interface from the Cuemon.Configuration namespace +- REMOVED IParameterObject interface from the Cuemon.Configuration namespace +- REMOVED IPostConfigurableParameterObject interface from the Cuemon.Configuration namespace +- REMOVED IValidatableParameterObject interface from the Cuemon.Configuration namespace +- REMOVED StreamDecoratorExtensions class from the Cuemon.IO namespace +- REMOVED CallerArgumentExpressionAttribute class from the Cuemon.Runtime.CompilerServices namespace +- REMOVED ByteOrderMark class from the Cuemon.Text namespace +- REMOVED EncodingOptions class from the Cuemon.Text namespace +- REMOVED EnumStringOptions class from the Cuemon.Text namespace +- REMOVED FallbackEncodingOptions class from the Cuemon.Text namespace +- REMOVED IConfigurableParser interface from the Cuemon.Text namespace +- REMOVED IEncodingOptions interface from the Cuemon.Text namespace +- REMOVED IParser interface from the Cuemon.Text namespace +- REMOVED PreambleSequence class from the Cuemon.Text namespace +- REMOVED ProtocolRelativeUriStringOptions class from the Cuemon.Text namespace +- REMOVED UriStringOptions class from the Cuemon.Text namespace +- REMOVED AsyncOptions class from the Cuemon.Threading namespace +- REMOVED AsyncRunOptions class from the Cuemon.Threading namespace +- REMOVED Awaiter class from the Cuemon.Threading namespace +- REMOVED IAsyncOptions interface from the Cuemon.Threading namespace +- REMOVED Alphanumeric class from the Cuemon namespace +- REMOVED ArgumentReservedKeywordException class from the Cuemon namespace +- REMOVED CasingMethod enum from the Cuemon namespace +- REMOVED Condition class from the Cuemon namespace +- REMOVED ConditionalValue class from the Cuemon namespace +- REMOVED Convertible class from the Cuemon namespace +- REMOVED ConvertibleConverterDictionary class from the Cuemon namespace +- REMOVED ConvertibleOptions class from the Cuemon namespace +- REMOVED DateSpan struct from the Cuemon namespace +- REMOVED DateTimeRange class from the Cuemon namespace +- REMOVED DelimitedString struct from the Cuemon namespace +- REMOVED DelimitedStringOptions class from the Cuemon namespace +- REMOVED Decorator class from the Cuemon namespace +- REMOVED Disposable class from the Cuemon namespace +- REMOVED DisposableOptions class from the Cuemon namespace +- REMOVED Endianness enum from the Cuemon namespace +- REMOVED EndianOptions class from the Cuemon namespace +- REMOVED ExceptionCondition class from the Cuemon namespace +- REMOVED FinalizeDisposable class from the Cuemon namespace +- REMOVED FormattingOptions class from the Cuemon namespace +- REMOVED GuidFormats enum from the Cuemon namespace +- REMOVED IDecorator interface from the Cuemon namespace +- REMOVED Patterns class from the Cuemon namespace +- REMOVED Range class from the Cuemon namespace +- REMOVED SuccessfulValue class from the Cuemon namespace +- REMOVED TesterFunc delegate from the Cuemon namespace +- REMOVED TimeRange class from the Cuemon namespace +- REMOVED TimeUnit enum from the Cuemon namespace +- REMOVED TypeArgumentException class from the Cuemon namespace +- REMOVED TypeArgumentOutOfRangeException class from the Cuemon namespace +- REMOVED UnsuccessfulValue class from the Cuemon namespace +- REMOVED UriScheme enum from the Cuemon namespace +- REMOVED Validator class from the Cuemon namespace + + + + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -139,10 +207,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -177,141 +245,3 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -Version 9.0.10 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.9 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.8 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.7 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.6 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -# New Features -- ADDED Awaiter class in the Cuemon.Threading namespace that provides a set of static methods for awaiting asynchronous operations -- ADDED AsyncRunOptions class in the Cuemon.Threading namespace that provides configuration options for the Awaiter.RunUntilSuccessfulOrTimeoutAsync method - -Version 9.0.5 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.4 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.3 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.2 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -# Bug Fixes -- FIXED Disposable class in the Cuemon namespace to set the disposed flag to true immediately after the Dispose method is called after thread safety check (previously it was set to true after the Dispose method had completed) - -Version 9.0.1 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.0 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -# Breaking Changes -- REMOVED DefaultYamlConverter class from the Cuemon.Runtime.Serialization.Converters namespace -- REMOVED YamlSerializer class from the Cuemon.Runtime.Serialization namespace -- REMOVED YamlSerializerOptions class from the Cuemon.Runtime.Serialization namespace -- REMOVED YamlTextReader class from the Cuemon.Runtime.Serialization namespace -- REMOVED YamlTextWriter class from the Cuemon.Runtime.Serialization namespace -- REMOVED YamlTokenType class from the Cuemon.Runtime.Serialization namespace -- REMOVED ExceptionConverter class from the Cuemon.Text.Yaml.Converters namespace -- REMOVED ExceptionDescriptorConverter class from the Cuemon.Text.Yaml.Converters namespace -- REMOVED YamlConverter class from the Cuemon.Text.Yaml.Converters namespace -- REMOVED YamlFormatter class from the Cuemon.Text.Yaml.Converters namespace -- REMOVED YamlFormatterOptions class from the Cuemon.Text.Yaml.Converters namespace -- REMOVED YamlConverterFactory class from the Cuemon.Text.Yaml namespace -- REMOVED YamlNamingPolicy class from the Cuemon.Text.Yaml namespace -- RENAMED ReservedKeywordException class in the Cuemon namespace to ArgumentReservedKeywordException -- REMOVED SafeInvokeAsync methods from the Patterns class in the Cuemon namespace (moved to AsyncPatterns class in the Cuemon.Threading assembly) -- RENAMED TaskActionFactory class in the Cuemon namespace to AsyncActionFactory in the Cuemon.Threading namespace -- RENAMED TaskFuncFactory class in the Cuemon namespace to AsyncFuncFactory in the Cuemon.Threading namespace -- RENAMED Template class in the Cuemon namespace to MutableTuple -- RENAMED TemplateFactory class in the Cuemon namespace to MutableTupleFactory -- REMOVED ActionFactory static class from the Cuemon namespace (moved to the Cuemon.Extensions namespace in the Cuemon.Extensions.Core assembly) -- REMOVED FuncFactory static class from the Cuemon namespace (moved to the Cuemon.Extensions namespace in the Cuemon.Extensions.Core assembly) -- REMOVED TesterFuncFactory static class from the Cuemon namespace (moved to the Cuemon.Extensions namespace in the Cuemon.Extensions.Core assembly) -- REMOVED BinaryPrefix class from the Cuemon namespace -- REMOVED BitStorageCapacity class from the Cuemon namespace -- REMOVED BitUnit class from the Cuemon namespace -- REMOVED ByteStorageCapacity class from the Cuemon namespace -- REMOVED ByteUnit class from the Cuemon namespace -- REMOVED DecimalPrefix class from the Cuemon namespace -- REMOVED IPrefixMultiple interface from the Cuemon namespace -- REMOVED IUnit interface from the Cuemon namespace -- REMOVED MultipleTable class from the Cuemon namespace -- REMOVED NamingStyle enum from the Cuemon namespace -- REMOVED PrefixMultiple class from the Cuemon namespace -- REMOVED PrefixUnit class from the Cuemon namespace -- REMOVED StorageCapacity class from the Cuemon namespace -- REMOVED StorageCapacityOptions class from the Cuemon namespace -- REMOVED UnitFormatOptions class from the Cuemon namespace -- REMOVED UnitPrefix enum from the Cuemon namespace -- REMOVED UnitPrefixFormatter class from the Cuemon namespace -- REMOVED ZeroPrefix class from the Cuemon namespace -- REMOVED DataPairCollection class from the Cuemon.Collections namespace -- REMOVED DataPairDictionary class from the Cuemon.Collections namespace -- REMOVED Initializer class from the Cuemon namespace -- REMOVED InitializerBuilder class from the Cuemon namespace -- REMOVED Mapping class from the Cuemon namespace -- REMOVED IndexMapping class from the Cuemon namespace -- REMOVED HorizontalDirection enum from the Cuemon namespace -- REMOVED VerticalDirection enum from the Cuemon namespace (moved to the Cuemon.Extensions namespace in the Cuemon.Extensions.Core assembly) -- REMOVED IWrapper interface from the Cuemon namespace (moved to the Cuemon.Extensions namespace in the Cuemon.Extensions.Core assembly) -- REMOVED Wrapper class from the Cuemon namespace (moved to the Cuemon.Extensions namespace in the Cuemon.Extensions.Core assembly) -- REMOVED HierarchyDecoratorExtensions class from the Cuemon namespace (moved to the Cuemon.Extensions.Runtime namespace in the Cuemon.Extensions.Core assembly) -- REMOVED Hierarchy class from the Cuemon namespace (moved to the Cuemon.Extensions.Runtime namespace in the Cuemon.Extensions.Core assembly) -- REMOVED IHierarchy interface from the Cuemon namespace (moved to the Cuemon.Extensions.Runtime namespace in the Cuemon.Extensions.Core assembly) -- REMOVED ObjectHierarchyOptions class from the Cuemon.Reflection namespace (moved to the Cuemon.Extensions.Runtime namespace in the Cuemon.Extensions.Core assembly and renamed to HierarchyOptions) -- REMOVED HierarchySerializer class from the Cuemon.Runtime.Serialization namespace (moved to the Cuemon.Extensions.Runtime.Serialization namespace in the Cuemon.Extensions.Core assembly) - -# New Features -- ADDED Failure record in the Cuemon.Diagnostics namespace that represents a failure model with detailed information about an exception - -# Improvements -- EXTENDED Condition class in the Cuemon namespace with an additional method: HasDifference -- EXTENDED Validator class in the Cuemon namespace with five new methods: ThrowIfContainsReservedKeyword, ThrowIfNotDifferent, ThrowIfDifferent, ThrowIfContainsAny and ThrowIfNotContainsAny -- CHANGED Validator class in the Cuemon namespace to comply with RSPEC-3343 -- EXTENDED Decorator class in the Cuemon namespace with an additional method: RawEnclose diff --git a/.nuget/Cuemon.Core/README.md b/.nuget/Cuemon.Core/README.md index 403bcbfc7..d4d17f0f6 100644 --- a/.nuget/Cuemon.Core/README.md +++ b/.nuget/Cuemon.Core/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt b/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Data.Integrity/README.md b/.nuget/Cuemon.Data.Integrity/README.md index 005a60a0a..c5a40b2ad 100644 --- a/.nuget/Cuemon.Data.Integrity/README.md +++ b/.nuget/Cuemon.Data.Integrity/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt b/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt index 6fb1fce5e..fcb5bc7c5 100644 --- a/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Data.SqlClient/README.md b/.nuget/Cuemon.Data.SqlClient/README.md index b9360db42..573551b4e 100644 --- a/.nuget/Cuemon.Data.SqlClient/README.md +++ b/.nuget/Cuemon.Data.SqlClient/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Data/PackageReleaseNotes.txt b/.nuget/Cuemon.Data/PackageReleaseNotes.txt index a10437e60..2a42693e9 100644 --- a/.nuget/Cuemon.Data/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Data/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -99,10 +106,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -122,71 +129,3 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - ADDED Support for TFM .NET 10 (LTS) - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - -Version 9.0.10 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.9 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.8 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.7 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.6 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.5 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.4 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.3 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.2 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.1 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs - -Version 9.0.0 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 - -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) - diff --git a/.nuget/Cuemon.Data/README.md b/.nuget/Cuemon.Data/README.md index e8a3be02c..67e3b5c4a 100644 --- a/.nuget/Cuemon.Data/README.md +++ b/.nuget/Cuemon.Data/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt b/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Diagnostics/README.md b/.nuget/Cuemon.Diagnostics/README.md index 3d010db39..684882299 100644 --- a/.nuget/Cuemon.Diagnostics/README.md +++ b/.nuget/Cuemon.Diagnostics/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt index 76d955b9a..9bf78b634 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -96,10 +105,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -120,6 +129,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md index f01467266..c9db9112f 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt index 872f18a26..6601065ba 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -96,10 +105,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -120,6 +129,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md index 91a9652fb..e2ac71bb0 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt index f159b5dc1..c4928b465 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -96,10 +105,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -120,6 +129,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md index f28486177..ed2082a53 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt index 76d955b9a..9bf78b634 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -96,10 +105,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -120,6 +129,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md index 962ee80ae..9fed41e0e 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt index 9eac85897..2b4928ef3 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -96,10 +105,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -120,6 +129,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md index bfa75a673..dd16ac91b 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt index b2dfd9e3a..3af0e5f96 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -106,10 +115,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -130,6 +139,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md index cabc65bb7..203ad61a5 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt index 721fa0759..d1d17c5c1 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -105,10 +114,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -129,6 +138,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md index cd7958564..3f8855fdd 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt index 67b29c559..2a581cf15 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt @@ -1,3 +1,12 @@ +Version: 11.0.0 +Availability: .NET 11 and .NET 10 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11 and .NET 10 + +# Breaking Changes +- REMOVED .NET 9 support; consumers must target .NET 10 or later + Version: 10.8.2 Availability: .NET 10 and .NET 9 @@ -99,10 +108,10 @@ Availability: .NET 10 and .NET 9 Version 10.1.2 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10 and .NET 9 @@ -123,6 +132,7 @@ Availability: .NET 10 and .NET 9 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9 and .NET 8 diff --git a/.nuget/Cuemon.Extensions.AspNetCore/README.md b/.nuget/Cuemon.Extensions.AspNetCore/README.md index abf041337..9eafc8950 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11 and .NET 10. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt index 69d6b02e2..55571210e 100644 --- a/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -99,10 +106,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -123,6 +130,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Collections.Generic/README.md b/.nuget/Cuemon.Extensions.Collections.Generic/README.md index c82c739b6..5d9b11be7 100644 --- a/.nuget/Cuemon.Extensions.Collections.Generic/README.md +++ b/.nuget/Cuemon.Extensions.Collections.Generic/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Collections.Specialized/README.md b/.nuget/Cuemon.Extensions.Collections.Specialized/README.md index d8e9b11ec..12ed13d40 100644 --- a/.nuget/Cuemon.Extensions.Collections.Specialized/README.md +++ b/.nuget/Cuemon.Extensions.Collections.Specialized/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt index 1c7f498b8..85e07f1e8 100644 --- a/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -99,10 +106,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -123,6 +130,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Core/README.md b/.nuget/Cuemon.Extensions.Core/README.md index ac0c1d712..45d196bb2 100644 --- a/.nuget/Cuemon.Extensions.Core/README.md +++ b/.nuget/Cuemon.Extensions.Core/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Data.Integrity/README.md b/.nuget/Cuemon.Extensions.Data.Integrity/README.md index 64c7b017a..bb287ff99 100644 --- a/.nuget/Cuemon.Extensions.Data.Integrity/README.md +++ b/.nuget/Cuemon.Extensions.Data.Integrity/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Data/README.md b/.nuget/Cuemon.Extensions.Data/README.md index a9250ea58..7dbd25f10 100644 --- a/.nuget/Cuemon.Extensions.Data/README.md +++ b/.nuget/Cuemon.Extensions.Data/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt index f8e8fce55..bb0fc247c 100644 --- a/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -105,10 +112,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -129,6 +136,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.DependencyInjection/README.md b/.nuget/Cuemon.Extensions.DependencyInjection/README.md index ffeae400c..970851725 100644 --- a/.nuget/Cuemon.Extensions.DependencyInjection/README.md +++ b/.nuget/Cuemon.Extensions.DependencyInjection/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt index 4f26efff6..4b4f5fae9 100644 --- a/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Diagnostics/README.md b/.nuget/Cuemon.Extensions.Diagnostics/README.md index 374c53347..8f0642c7a 100644 --- a/.nuget/Cuemon.Extensions.Diagnostics/README.md +++ b/.nuget/Cuemon.Extensions.Diagnostics/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.FileProviders.Physical/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.FileProviders.Physical/PackageReleaseNotes.txt index f3b2ed430..e4d8cbd94 100644 --- a/.nuget/Cuemon.Extensions.FileProviders.Physical/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.FileProviders.Physical/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.FileProviders.Physical/README.md b/.nuget/Cuemon.Extensions.FileProviders.Physical/README.md index 2b4a64738..7f66449b2 100644 --- a/.nuget/Cuemon.Extensions.FileProviders.Physical/README.md +++ b/.nuget/Cuemon.Extensions.FileProviders.Physical/README.md @@ -10,7 +10,7 @@ Successful lookups are cached for the lifetime of the provider by using case-ins ## Supported Frameworks -This package targets `.NET 10`, `.NET 9`, and `.NET Standard 2.0`. +This package targets `.NET 11`, `.NET 10`, and `.NET Standard 2.0`. ## Why Pick This Package diff --git a/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt index 78a722c45..7a7045483 100644 --- a/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Hosting/README.md b/.nuget/Cuemon.Extensions.Hosting/README.md index 4d5a59eed..1b0ee6c1a 100644 --- a/.nuget/Cuemon.Extensions.Hosting/README.md +++ b/.nuget/Cuemon.Extensions.Hosting/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt index 4773fc064..c92bd86f5 100644 --- a/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10, .NET Standard 2.1 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10, .NET Standard 2.1 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.IO/README.md b/.nuget/Cuemon.Extensions.IO/README.md index 4f8ef30ec..5a1fe4237 100644 --- a/.nuget/Cuemon.Extensions.IO/README.md +++ b/.nuget/Cuemon.Extensions.IO/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, .NET Standard 2.1, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Net/README.md b/.nuget/Cuemon.Extensions.Net/README.md index 2ee7883cb..59ebabb94 100644 --- a/.nuget/Cuemon.Extensions.Net/README.md +++ b/.nuget/Cuemon.Extensions.Net/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Reflection/README.md b/.nuget/Cuemon.Extensions.Reflection/README.md index 86db2073d..7f343739d 100644 --- a/.nuget/Cuemon.Extensions.Reflection/README.md +++ b/.nuget/Cuemon.Extensions.Reflection/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Runtime.Caching/README.md b/.nuget/Cuemon.Extensions.Runtime.Caching/README.md index 24f7a3c8d..ae159522c 100644 --- a/.nuget/Cuemon.Extensions.Runtime.Caching/README.md +++ b/.nuget/Cuemon.Extensions.Runtime.Caching/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt index 37ea63df6..e58c0d188 100644 --- a/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Text.Json/README.md b/.nuget/Cuemon.Extensions.Text.Json/README.md index aee262941..3c70122de 100644 --- a/.nuget/Cuemon.Extensions.Text.Json/README.md +++ b/.nuget/Cuemon.Extensions.Text.Json/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Text/README.md b/.nuget/Cuemon.Extensions.Text/README.md index 816e2d256..ff65e4a9c 100644 --- a/.nuget/Cuemon.Extensions.Text/README.md +++ b/.nuget/Cuemon.Extensions.Text/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt index 83b585008..002d34edd 100644 --- a/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -121,6 +128,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Dependency on Backport.System.Threading.Lock (since System.Threading.Lock is now available in modern TFMs) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Threading/README.md b/.nuget/Cuemon.Extensions.Threading/README.md index 29b417369..5c22d00ff 100644 --- a/.nuget/Cuemon.Extensions.Threading/README.md +++ b/.nuget/Cuemon.Extensions.Threading/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt index 28df77c94..3022145e6 100644 --- a/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -99,10 +106,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -123,6 +130,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Extensions.Xml/README.md b/.nuget/Cuemon.Extensions.Xml/README.md index 61b15516b..ab0a265d6 100644 --- a/.nuget/Cuemon.Extensions.Xml/README.md +++ b/.nuget/Cuemon.Extensions.Xml/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.IO/PackageReleaseNotes.txt b/.nuget/Cuemon.IO/PackageReleaseNotes.txt index 4773fc064..c92bd86f5 100644 --- a/.nuget/Cuemon.IO/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.IO/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10, .NET Standard 2.1 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10, .NET Standard 2.1 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9, .NET Standard 2.1 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.IO/README.md b/.nuget/Cuemon.IO/README.md index a26a8dacd..05faa67c7 100644 --- a/.nuget/Cuemon.IO/README.md +++ b/.nuget/Cuemon.IO/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, .NET Standard 2.1, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Kernel/PackageReleaseNotes.txt b/.nuget/Cuemon.Kernel/PackageReleaseNotes.txt index 4d5ea610f..858ea87bb 100644 --- a/.nuget/Cuemon.Kernel/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Kernel/PackageReleaseNotes.txt @@ -1,3 +1,70 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + +# Moved from Cuemon.Core +- ADDED Arguments class to the Cuemon.Collections.Generic namespace +- ADDED Configurable class to the Cuemon.Configuration namespace +- ADDED IConfigurable interface to the Cuemon.Configuration namespace +- ADDED IParameterObject interface to the Cuemon.Configuration namespace +- ADDED IPostConfigurableParameterObject interface to the Cuemon.Configuration namespace +- ADDED IValidatableParameterObject interface to the Cuemon.Configuration namespace +- ADDED StreamDecoratorExtensions class to the Cuemon.IO namespace +- ADDED CallerArgumentExpressionAttribute class to the Cuemon.Runtime.CompilerServices namespace +- ADDED ByteOrderMark class to the Cuemon.Text namespace +- ADDED EncodingOptions class to the Cuemon.Text namespace +- ADDED EnumStringOptions class to the Cuemon.Text namespace +- ADDED FallbackEncodingOptions class to the Cuemon.Text namespace +- ADDED IConfigurableParser interface to the Cuemon.Text namespace +- ADDED IEncodingOptions interface to the Cuemon.Text namespace +- ADDED IParser interface to the Cuemon.Text namespace +- ADDED PreambleSequence class to the Cuemon.Text namespace +- ADDED ProtocolRelativeUriStringOptions class to the Cuemon.Text namespace +- ADDED UriStringOptions class to the Cuemon.Text namespace +- ADDED AsyncOptions class to the Cuemon.Threading namespace +- ADDED AsyncRunOptions class to the Cuemon.Threading namespace +- ADDED Awaiter class to the Cuemon.Threading namespace +- ADDED IAsyncOptions interface to the Cuemon.Threading namespace +- ADDED Alphanumeric class to the Cuemon namespace +- ADDED ArgumentReservedKeywordException class to the Cuemon namespace +- ADDED CasingMethod enum to the Cuemon namespace +- ADDED Condition class to the Cuemon namespace +- ADDED ConditionalValue class to the Cuemon namespace +- ADDED Convertible class to the Cuemon namespace +- ADDED ConvertibleConverterDictionary class to the Cuemon namespace +- ADDED ConvertibleOptions class to the Cuemon namespace +- ADDED DateSpan struct to the Cuemon namespace +- ADDED DateTimeRange class to the Cuemon namespace +- ADDED DelimitedString struct to the Cuemon namespace +- ADDED DelimitedStringOptions class to the Cuemon namespace +- ADDED Decorator class to the Cuemon namespace +- ADDED Disposable class to the Cuemon namespace +- ADDED DisposableOptions class to the Cuemon namespace +- ADDED Endianness enum to the Cuemon namespace +- ADDED EndianOptions class to the Cuemon namespace +- ADDED ExceptionCondition class to the Cuemon namespace +- ADDED FinalizeDisposable class to the Cuemon namespace +- ADDED FormattingOptions class to the Cuemon namespace +- ADDED GuidFormats enum to the Cuemon namespace +- ADDED IDecorator interface to the Cuemon namespace +- ADDED Patterns class to the Cuemon namespace +- ADDED Range class to the Cuemon namespace +- ADDED SuccessfulValue class to the Cuemon namespace +- ADDED TesterFunc delegate to the Cuemon namespace +- ADDED TimeRange class to the Cuemon namespace +- ADDED TimeUnit enum to the Cuemon namespace +- ADDED TypeArgumentException class to the Cuemon namespace +- ADDED TypeArgumentOutOfRangeException class to the Cuemon namespace +- ADDED UnsuccessfulValue class to the Cuemon namespace +- ADDED UriScheme enum to the Cuemon namespace +- ADDED Validator class to the Cuemon namespace + + + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Kernel/README.md b/.nuget/Cuemon.Kernel/README.md index aed26d665..2bf0e4cb8 100644 --- a/.nuget/Cuemon.Kernel/README.md +++ b/.nuget/Cuemon.Kernel/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Net/PackageReleaseNotes.txt b/.nuget/Cuemon.Net/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Net/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Net/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Net/README.md b/.nuget/Cuemon.Net/README.md index 279f5d5df..1bc09b723 100644 --- a/.nuget/Cuemon.Net/README.md +++ b/.nuget/Cuemon.Net/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt b/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Resilience/README.md b/.nuget/Cuemon.Resilience/README.md index 6796a3496..3fc3819ef 100644 --- a/.nuget/Cuemon.Resilience/README.md +++ b/.nuget/Cuemon.Resilience/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt b/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt index 40e23189d..14a23cef7 100644 --- a/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Runtime.Caching/README.md b/.nuget/Cuemon.Runtime.Caching/README.md index aa889c925..7fa5c4bd8 100644 --- a/.nuget/Cuemon.Runtime.Caching/README.md +++ b/.nuget/Cuemon.Runtime.Caching/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt b/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt index 03ac0ebaf..950cc4c00 100644 --- a/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -126,6 +133,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Security.Cryptography/README.md b/.nuget/Cuemon.Security.Cryptography/README.md index 761c5ed1d..c3c2f9cdd 100644 --- a/.nuget/Cuemon.Security.Cryptography/README.md +++ b/.nuget/Cuemon.Security.Cryptography/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Threading/PackageReleaseNotes.txt b/.nuget/Cuemon.Threading/PackageReleaseNotes.txt index a6d9dae24..41db95ab0 100644 --- a/.nuget/Cuemon.Threading/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Threading/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -96,10 +103,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -120,6 +127,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Threading/README.md b/.nuget/Cuemon.Threading/README.md index 0fc3c5e7a..79124bed2 100644 --- a/.nuget/Cuemon.Threading/README.md +++ b/.nuget/Cuemon.Threading/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/.nuget/Cuemon.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Xml/PackageReleaseNotes.txt index e09f20946..f605b0f92 100644 --- a/.nuget/Cuemon.Xml/PackageReleaseNotes.txt +++ b/.nuget/Cuemon.Xml/PackageReleaseNotes.txt @@ -1,3 +1,10 @@ +Version: 11.0.0 +Availability: .NET 11, .NET 10 and .NET Standard 2.0 + +# ALM +- CHANGED Target frameworks by adding .NET 11 (net11.0) and removing .NET 9 (net9.0), so the package now targets .NET 11, .NET 10 and .NET Standard 2.0 +- CHANGED .NET 9 consumers may resolve a .NET Standard asset when their API and dependencies are compatible + Version: 10.8.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -110,10 +117,10 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 Version 10.1.2 Availability: .NET 10, .NET 9 and .NET Standard 2.0 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version 10.1.1 Availability: .NET 10, .NET 9 and .NET Standard 2.0 @@ -134,6 +141,7 @@ Availability: .NET 10, .NET 9 and .NET Standard 2.0 - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version 9.0.10 Availability: .NET 9, .NET 8 and .NET Standard 2.0 diff --git a/.nuget/Cuemon.Xml/README.md b/.nuget/Cuemon.Xml/README.md index 13dd271b6..ae8376e33 100644 --- a/.nuget/Cuemon.Xml/README.md +++ b/.nuget/Cuemon.Xml/README.md @@ -2,10 +2,7 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. -Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +This package targets .NET 11, .NET 10, and .NET Standard 2.0. It is (by heart) free, flexible and built to extend and boost your agile codebelt. diff --git a/AGENTS.md b/AGENTS.md index 2b6aa97cd..cea72bbf7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,9 +16,9 @@ Keep all shared repository instructions in `AGENTS.md`. ## Toolchain - .NET SDK with `LangVersion=latest`. -- Source TFMs: `net10.0;net9.0;netstandard2.0`. -- Test TFMs: `net10.0;net9.0` on Linux; adds `net48` on Windows. -- Benchmark TFMs: `net10.0;net9.0`. +- Source TFMs: `net11.0;net10.0;netstandard2.0`. +- Test TFMs: `net11.0;net10.0` on Linux; adds `net48` on Windows. +- Benchmark TFMs: `net11.0;net10.0`. - Central package management via `Directory.Packages.props` (`ManagePackageVersionsCentrally=true`). - CI runs on Linux (ubuntu-26.04) and Windows (windows-2025), both X64 and ARM64. - TFM compatibility is mandatory: proposals and code changes must work for all source TFMs. Do not assume `net9.0`/`net10.0` APIs exist in `netstandard2.0`; use conditional compilation (`#if NET9_0_OR_GREATER`) or compatible fallbacks where needed. @@ -96,9 +96,7 @@ docker compose down - Keep existing style in files; many modern analyzers are explicitly disabled. ### Namespace Style -- **Prefer file-scoped namespaces** (`namespace Cuemon.Foo;`) for new files. -- The current majority of the codebase uses **block-scoped namespaces** — do not convert existing files unless explicitly asked. -- When editing an existing file, follow whichever style that file already uses. +- **Use file-scoped namespaces** (`namespace Cuemon.Foo;`) for new and existing C# files. - **Never use top-level statements.** Always use explicit class declarations with a proper namespace. ### Disabled Analyzers (key rules — do NOT introduce these patterns) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16a7ba3dc..388e036d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder. +## [11.0.0] - 2026-11-10 + +This major release adds .NET 11 targets, removes .NET 9-specific targets, and changes the assembly boundary between `Cuemon.Core` and `Cuemon.Kernel`. It also updates dependencies and uses asynchronous cleanup for commands and streams on .NET 10 and later. + +> [!WARNING] +> `Cuemon.Core` no longer forwards Kernel types, and several types move from Core to Kernel. Existing binaries that depend on the former assembly identities should be rebuilt and their references checked. `TimeRange` replaces its two-argument constructor with a three-argument constructor whose duration delegate is optional at the source level. + +### Added + +- `TimeRange` accepts an optional duration delegate, allowing callers to supply the duration calculation, +- `SonarAnalyzer.CSharp` 10.35.0.4138 is configured for source projects, +- Central transitive pins for `System.Security.Cryptography.Pkcs` use 10.0.15 for .NET 10 and 11.0.0 for .NET 11, +- A .NET 11 test workflow accepts preview SDKs and uses absolute project paths as a workaround for an SDK test-runner issue, +- `Resolve-PackageReleaseNotesConflicts.ps1` resolves package release-note conflict markers and stages the resolved files when run. + +### Changed + +- Source, test, and benchmark projects replace .NET 9-specific targets with .NET 11 targets while retaining their applicable .NET 10, .NET Standard, and .NET Framework targets, +- `DateSpan`, `DateTimeRange`, `Range`, `TimeRange`, `TimeUnit`, `DelimitedString`, `DelimitedStringOptions`, and `FormattingOptions` move from the `Cuemon.Core` assembly to `Cuemon.Kernel`, +- `Cuemon.Core` removes type forwarding for foundational Kernel types, including `Configurable`, `IConfigurable`, `Validator`, `Arguments`, `Patterns`, `Disposable`, `Convertible`, and `Awaiter`, +- `DataManager` asynchronously disposes commands after asynchronous execution, and `StreamDecoratorExtensions.ToByteArrayAsync` asynchronously disposes its input stream when configured to close it, on .NET 10 and later, +- The .NET Standard 2.0 central versions of `Microsoft.Bcl.AsyncInterfaces`, `Microsoft.Data.Sqlite`, `Microsoft.Extensions.Configuration`, `Microsoft.Extensions.Configuration.EnvironmentVariables`, `Microsoft.Extensions.Configuration.FileExtensions`, `Microsoft.Extensions.Configuration.Json`, `Microsoft.Extensions.DependencyInjection`, `Microsoft.Extensions.FileProviders.Physical`, `Microsoft.Extensions.Hosting`, `Microsoft.Extensions.Http`, `Microsoft.Extensions.Options.ConfigurationExtensions`, and `System.Text.Json` move from 10.0.14 to 11.0.0; applicable .NET 11 declarations also use 11.0.0, +- The .NET 10 central versions of `Microsoft.Data.Sqlite`, `Microsoft.Extensions.DependencyInjection`, `Microsoft.Extensions.FileProviders.Physical`, `Microsoft.Extensions.Hosting`, `Microsoft.Extensions.Http`, and `Microsoft.Extensions.Options.ConfigurationExtensions` move from 10.0.14 to 10.0.15; the .NET Framework `Microsoft.Data.Sqlite` version also moves to 10.0.15, +- Test tooling updates `Codebelt.Coverlet.MTP` from 10.1.1 to 11.0.0, `Microsoft.Testing.Extensions.HangDump` from 2.5.1 to 2.5.2, and `xunit.v3`, `xunit.v3.extensibility.core`, and `xunit.v3.runner.console` from 4.0.2 to 4.0.3, +- The DocFX image uses `dhi.io/nginx`; fingerprinted assets cache successful and revalidation responses but use `no-store` for other responses, and range requests are disabled for those assets, +- Test environments retain separate .NET 10 and .NET 11 Docker runners and remove the .NET 9 runner, +- Verification temporarily skips CodeQL and excludes it from post-release service identity checks while the branch targets .NET 11; the workflow does not claim CodeQL assurance. + +### Removed + +- The .NET 9-specific central package versions for `Microsoft.Data.Sqlite`, `Microsoft.Extensions.DependencyInjection`, `Microsoft.Extensions.FileProviders.Physical`, `Microsoft.Extensions.Hosting`, `Microsoft.Extensions.Http`, and `Microsoft.Extensions.Options.ConfigurationExtensions`. + ## [10.8.2] - 2026-10-25 This is a patch release updating dependency and development tooling versions, moving the WSL test environment to Ubuntu 26.04, and splitting Docker test environments by .NET version. @@ -309,8 +341,7 @@ This is a minor release that introduces support for flattening items in enumerab - `World` class in the Cuemon.Globalization namespace to exclude redundancies in `RegionInfo` handling, - `XmlConverterExtensions` class in the Cuemon.Extensions.Xml.Serialization.Converters namespace to support flattening items when serializing in the `AddEnumerableConverter` method, -- `XmlSerializerOptions` class in the `Cuemon.Xml.Serialization` namespace was extended with `FlattenCollectionItems` property to control item flattening during enumerable XML serialization, -- +- `XmlSerializerOptions` class in the `Cuemon.Xml.Serialization` namespace was extended with `FlattenCollectionItems` property to control item flattening during enumerable XML serialization. ## [10.3.0] - 2026-02-19 @@ -501,9 +532,9 @@ This is a service update that focuses on package dependencies. ## [9.0.1] - 2024-01-28 -> [!IMPORTANT] +> [!IMPORTANT] > The following projects has been removed with this release and migrated to [Codebelt](https://github.com/codebeltnet): -> +> > - Cuemon.Extensions.Globalization was removed from the solution and migrated to [Codebelt.Extensions.Globalization](https://github.com/codebeltnet/globalization) > > Dependencies used for targeting .NET Standard 2.0 has been updated to use .NET 8.0 (LTS) instead of .NET Core 2.1. @@ -516,9 +547,9 @@ This is a service update that primarily focuses on package dependencies and mino ## [9.0.0] - 2024-11-13 -> [!IMPORTANT] +> [!IMPORTANT] > The following projects has been removed with this release and migrated to [Codebelt](https://github.com/codebeltnet): -> +> > - Cuemon.Extensions.Xunit, Cuemon.Extensions.Xunit.Hosting and Cuemon.Extensions.Xunit.Hosting.AspNetCore was removed from the solution and migrated to [Codebelt.Extensions.Xunit](https://github.com/codebeltnet/xunit) > - Cuemon.Extensions.YamlDotNet was removed from the solution and migrated to [Codebelt.Extensions.YamlDotNet](https://github.com/codebeltnet/yamldotnet) > - Cuemon.Extensions.AspNetCore, Cuemon.Extensions.AspNetCore.Mvc and Cuemon.Extensions.Diagnostics was inflicted with a breaking change as a result of this migration due to removal of YAML related code @@ -1460,7 +1491,7 @@ This release was primarily focused on adapting a more modern way of performing C - FaultHandler class into Cuemon.Diagnostics namespace that provides a generic way to implement a fault resolver that evaluate an exception and provide details about it in a developer friendly way - FaultResolver class into Cuemon.Diagnostics namespace that a way to evaluate an exception and provide details about it in a developer friendly way - Int32Extensions class in the Cuemon.Extensions.AspNetCore.Http namespace that consist of extension methods for the Int32 struct: IsInformationStatusCode, IsSuccessStatusCode, IsRedirectionStatusCode, IsNotModifiedStatusCode, IsClientErrorStatusCode, IsServerErrorStatusCode -- ApplicationBuilderExtensions class in the Cuemon.Extensions.AspNetCore.Authentication namespace that consist of extension methods for the IApplicationBuilder interface: UseBasicAuthentication, UseDigestAccessAuthentication, UseHmacAuthentication +- ApplicationBuilderExtensions class in the Cuemon.Extensions.AspNetCore.Authentication namespace that consist of extension methods for the IApplicationBuilder interface: UseBasicAuthentication, UseDigestAccessAuthentication, UseHmacAuthentication - ServiceCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Authentication namespace that consist of extension methods for the IServiceCollection interface: AddInMemoryDigestAuthenticationNonceTracker - CollectionExtensions class in the Cuemon.Extensions.Collections.Generic namespace that consist of extension methods for the ICollection{T} interface: ToPartitioner{T}, AddRange{T} - DictionaryExtensions class in the Cuemon.Extensions.Collections.Generic namespace that consist of extension methods for the IDictionary{TKey, TValue} interface: GetValueOrDefault{TKey, TValue}, TryGetValueOrFallback{TKey, TValue}, ToEnumerable{TKey, TValue}, TryAdd{TKey, TValue}, TryAddOrUpdate{TKey, TValue} @@ -1951,6 +1982,7 @@ This release was primarily focused on adapting a more modern way of performing C [10.8.1]: https://github.com/codebeltnet/cuemon/compare/v10.8.0...v10.8.1 [10.8.0]: https://github.com/codebeltnet/cuemon/compare/v10.7.1...v10.8.0 [10.7.1]: https://github.com/codebeltnet/cuemon/compare/v10.7.0...v10.7.1 +[11.0.0]: https://github.com/codebeltnet/cuemon/compare/v10.8.2...v11.0.0 [10.7.0]: https://github.com/codebeltnet/cuemon/compare/v10.6.0...v10.7.0 [10.6.0]: https://github.com/codebeltnet/cuemon/compare/v10.5.5...v10.6.0 [10.5.5]: https://github.com/codebeltnet/cuemon/compare/v10.5.4...v10.5.5 diff --git a/Cuemon.slnx b/Cuemon.slnx index 40bcadcee..522a8b431 100644 --- a/Cuemon.slnx +++ b/Cuemon.slnx @@ -9,7 +9,6 @@ - @@ -40,7 +39,6 @@ - @@ -48,6 +46,10 @@ + + + + diff --git a/Directory.Build.props b/Directory.Build.props index 14fb0414f..0164888c6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -19,7 +19,7 @@ - net10.0;net9.0;netstandard2.0 + net11.0;net10.0;netstandard2.0 Copyright © Geekle 2009-2026. All rights reserved. gimlichael Geekle @@ -53,16 +53,17 @@ + - net10.0;net9.0 + net11.0;net10.0 - net10.0;net9.0;net48 + net11.0;net10.0;net48 @@ -74,15 +75,12 @@ true none NU1701,NU1902,NU1903 + 0 false false true - - 0 - - false Exe @@ -106,7 +104,7 @@ - net10.0;net9.0 + net11.0;net10.0 false false false diff --git a/Directory.Build.targets b/Directory.Build.targets index 00bb68a3d..f6a6a0030 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,4 +1,4 @@ - + $([System.IO.File]::ReadAllText('$(PackageReleaseNotesFile)')) diff --git a/Directory.Packages.props b/Directory.Packages.props index 69e0331a1..b45d8a5d6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,47 +12,51 @@ - - + + - - - - + + + + - + - - - - - + + + + + - + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + - + + + \ No newline at end of file diff --git a/README.md b/README.md index f23f7b722..168bdc76b 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ An open-source project (MIT license) that enhances and complements the Microsoft .NET platform. It provides powerful capabilities for developers across modern, cross-platform, and legacy environments. Your versatile companion for: -- Modern development with `.NET 9` and `.NET 10`, -- Cross-platform libraries with `.NET Standard 2` (where applicable), -- Legacy applications on `.NET Framework 4.6.2` and newer. +- Modern development with `.NET 10` and `.NET 11`, +- Cross-platform libraries targeting `.NET Standard 2.0` and `.NET Standard 2.1` where applicable, +- Legacy applications on `.NET Framework 4.6.2` and newer through packages that target `.NET Standard 2.0`. It is (by heart) free, flexible and built to extend and boost your agile codebelt. @@ -17,9 +17,9 @@ It is (by heart) free, flexible and built to extend and boost your agile codebel ## State of the Union -Cuemon for .NET (formerly Cuemon .NET Standard) has been completely refactored and updated to support .NET 10 (LTS) and .NET 9 (STS). +Cuemon for .NET packages target `.NET 11` and `.NET 10`; target-framework coverage varies by package. Many packages also target `.NET Standard 2.0`, and `Cuemon.IO` and `Cuemon.Extensions.IO` also target `.NET Standard 2.1. -Support for .NET Core 3.0, .NET Core 3.1, .NET 5, .NET 6, .NET 7 and .NET 8 has been deprecated as these are either out of [support](https://endoflife.date/dotnet) or superseded by newer LTS and STS releases. +Dedicated `.NET 9` targets have been removed. Packages with a `.NET Standard` target may still be consumed by `.NET 9` projects when their APIs and dependencies are compatible. Support for .NET Core 3.0, .NET Core 3.1, and .NET 5 through .NET 8 has been retired because those runtimes are out of [support](https://endoflife.date/dotnet). This aligns with our strategy of supporting only the latest LTS and STS versions of .NET to ensure access to the most current features, performance improvements, and security updates, while keeping our libraries modern and maintainable. diff --git a/docker-compose.yml b/docker-compose.yml index 06e5d480c..e83253469 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -services: +services: database: image: gimlichael/aw-mssql-server:2022-latest.20240920.1 container_name: "awsql" diff --git a/src/Cuemon.AspNetCore.App/Cuemon.AspNetCore.App.csproj b/src/Cuemon.AspNetCore.App/Cuemon.AspNetCore.App.csproj index af93e5f40..f66d10faa 100644 --- a/src/Cuemon.AspNetCore.App/Cuemon.AspNetCore.App.csproj +++ b/src/Cuemon.AspNetCore.App/Cuemon.AspNetCore.App.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 240bdf91-e7c7-4cb4-a39d-e1a5374c5602 @@ -9,7 +9,7 @@ false false Provides a convenient set of default API additions for building an ASP.NET Core application. - NU5128 + $(NoWarn);NU5128 diff --git a/src/Cuemon.AspNetCore.Authentication/AuthenticationOptions.cs b/src/Cuemon.AspNetCore.Authentication/AuthenticationOptions.cs index e998733ad..8d56c16d3 100644 --- a/src/Cuemon.AspNetCore.Authentication/AuthenticationOptions.cs +++ b/src/Cuemon.AspNetCore.Authentication/AuthenticationOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using Cuemon.Configuration; diff --git a/src/Cuemon.AspNetCore.Authentication/Authenticator.cs b/src/Cuemon.AspNetCore.Authentication/Authenticator.cs index 7e9f20480..0288ed88c 100644 --- a/src/Cuemon.AspNetCore.Authentication/Authenticator.cs +++ b/src/Cuemon.AspNetCore.Authentication/Authenticator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security; using System.Security.Claims; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore.Authentication/AuthorizationHeader.cs b/src/Cuemon.AspNetCore.Authentication/AuthorizationHeader.cs index 7f2179724..7dc3fb1d3 100644 --- a/src/Cuemon.AspNetCore.Authentication/AuthorizationHeader.cs +++ b/src/Cuemon.AspNetCore.Authentication/AuthorizationHeader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderBuilder.cs b/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderBuilder.cs index 8b5efe32b..bb3495bdc 100644 --- a/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderBuilder.cs +++ b/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderOptions.cs b/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderOptions.cs index 01cc606b7..a05a70197 100644 --- a/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderOptions.cs +++ b/src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.AspNetCore.Authentication; diff --git a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationMiddleware.cs b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationMiddleware.cs index 143197174..2f8e2aa2f 100644 --- a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationMiddleware.cs +++ b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Security; diff --git a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationOptions.cs b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationOptions.cs index f785be30e..a30c7ce29 100644 --- a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationOptions.cs +++ b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticationOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Authentication.Basic; /// diff --git a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticator.cs b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticator.cs index 23114db6f..e35a850c7 100644 --- a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticator.cs +++ b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthenticator.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; namespace Cuemon.AspNetCore.Authentication.Basic; /// diff --git a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeader.cs b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeader.cs index a7db516b1..69033cdea 100644 --- a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeader.cs +++ b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Text; using Cuemon.Net.Http; diff --git a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeaderBuilder.cs b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeaderBuilder.cs index 8b751ce96..de2ceb3d5 100644 --- a/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeaderBuilder.cs +++ b/src/Cuemon.AspNetCore.Authentication/Basic/BasicAuthorizationHeaderBuilder.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Authentication.Basic; +namespace Cuemon.AspNetCore.Authentication.Basic; /// /// Provides a way to fluently represent a HTTP Basic Authentication header. /// diff --git a/src/Cuemon.AspNetCore.Authentication/Basic/BasicFields.cs b/src/Cuemon.AspNetCore.Authentication/Basic/BasicFields.cs index dd3fa03c3..6c3cfb9d4 100644 --- a/src/Cuemon.AspNetCore.Authentication/Basic/BasicFields.cs +++ b/src/Cuemon.AspNetCore.Authentication/Basic/BasicFields.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Authentication.Basic; +namespace Cuemon.AspNetCore.Authentication.Basic; /// /// A collection of constants for . /// diff --git a/src/Cuemon.AspNetCore.Authentication/Cuemon.AspNetCore.Authentication.csproj b/src/Cuemon.AspNetCore.Authentication/Cuemon.AspNetCore.Authentication.csproj index b469274a0..cb580380c 100644 --- a/src/Cuemon.AspNetCore.Authentication/Cuemon.AspNetCore.Authentication.csproj +++ b/src/Cuemon.AspNetCore.Authentication/Cuemon.AspNetCore.Authentication.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 a10adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationMiddleware.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationMiddleware.cs index 57376ace3..4a4074e6b 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationMiddleware.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.IO; diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationOptions.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationOptions.cs index 89a31fa47..a3dfc40c0 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationOptions.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticationOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Text; using Cuemon.Security.Cryptography; diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs index 696dbd4cd..8e2c83c4d 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; namespace Cuemon.AspNetCore.Authentication.Digest; /// diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeader.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeader.cs index cbfb42265..f66d83de2 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeader.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeaderBuilder.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeaderBuilder.cs index 4a489a3b4..66d93d2f4 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeaderBuilder.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthorizationHeaderBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestCryptoAlgorithm.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestCryptoAlgorithm.cs index 5dfe5ac93..e40e9b5bc 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestCryptoAlgorithm.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestCryptoAlgorithm.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Authentication.Digest; +namespace Cuemon.AspNetCore.Authentication.Digest; /// /// Specifies the cryptographic algorithms used in Digest authentication. /// diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestFields.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestFields.cs index 139103b97..53675787b 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestFields.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestFields.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Authentication.Digest; +namespace Cuemon.AspNetCore.Authentication.Digest; /// /// A collection of constants for . /// diff --git a/src/Cuemon.AspNetCore.Authentication/Digest/DigestHashFactory.cs b/src/Cuemon.AspNetCore.Authentication/Digest/DigestHashFactory.cs index 56d4a7880..cfbf99da9 100644 --- a/src/Cuemon.AspNetCore.Authentication/Digest/DigestHashFactory.cs +++ b/src/Cuemon.AspNetCore.Authentication/Digest/DigestHashFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Security; using Cuemon.Security.Cryptography; diff --git a/src/Cuemon.AspNetCore.Authentication/Extensions/HttpContextDecoratorExtensions.cs b/src/Cuemon.AspNetCore.Authentication/Extensions/HttpContextDecoratorExtensions.cs index 9e99bb6aa..b63292025 100644 --- a/src/Cuemon.AspNetCore.Authentication/Extensions/HttpContextDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore.Authentication/Extensions/HttpContextDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Http; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore.Authentication/GlobalSuppressions.cs b/src/Cuemon.AspNetCore.Authentication/GlobalSuppressions.cs index 60c9616aa..cffb80fcd 100644 --- a/src/Cuemon.AspNetCore.Authentication/GlobalSuppressions.cs +++ b/src/Cuemon.AspNetCore.Authentication/GlobalSuppressions.cs @@ -5,6 +5,5 @@ using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("Performance", "CA1847:Use char literal for a single character lookup", Justification = "Not supported in .NET Standard 2.0 (and not an issue with an extra pico-second).", Scope = "member", Target = "~M:Cuemon.AspNetCore.Authentication.Basic.BasicAuthorizationHeader.#ctor(System.String,System.String)")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "Intentional as these embark on IDecorator.", Scope = "namespace", Target = "~N:Cuemon.AspNetCore.Authentication")] [assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "By design to support the Digest protocol.", Scope = "member", Target = "~M:Cuemon.AspNetCore.Authentication.Digest.DigestAuthorizationHeader.#ctor(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)")] diff --git a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationMiddleware.cs b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationMiddleware.cs index a94f4bc9c..f286a5042 100644 --- a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationMiddleware.cs +++ b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationOptions.cs b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationOptions.cs index a76b6208e..b08734bc0 100644 --- a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationOptions.cs +++ b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticationOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Security.Cryptography; namespace Cuemon.AspNetCore.Authentication.Hmac; diff --git a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticator.cs b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticator.cs index 22ff787af..7946704ec 100644 --- a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticator.cs +++ b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthenticator.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; namespace Cuemon.AspNetCore.Authentication.Hmac; /// diff --git a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeader.cs b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeader.cs index 7670645ee..1a048d572 100644 --- a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeader.cs +++ b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.AspNetCore.Authentication.Hmac; diff --git a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeaderBuilder.cs b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeaderBuilder.cs index d2f490474..2d69b6522 100644 --- a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeaderBuilder.cs +++ b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacAuthorizationHeaderBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.IO; diff --git a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacFields.cs b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacFields.cs index 3763106f3..2bf0fdc7f 100644 --- a/src/Cuemon.AspNetCore.Authentication/Hmac/HmacFields.cs +++ b/src/Cuemon.AspNetCore.Authentication/Hmac/HmacFields.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Authentication.Hmac; +namespace Cuemon.AspNetCore.Authentication.Hmac; /// /// A collection of constants for and related. /// diff --git a/src/Cuemon.AspNetCore.Authentication/INonceTracker.cs b/src/Cuemon.AspNetCore.Authentication/INonceTracker.cs index 302cdc668..7d47f96c8 100644 --- a/src/Cuemon.AspNetCore.Authentication/INonceTracker.cs +++ b/src/Cuemon.AspNetCore.Authentication/INonceTracker.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Authentication; /// diff --git a/src/Cuemon.AspNetCore.Authentication/NonceTrackerEntry.cs b/src/Cuemon.AspNetCore.Authentication/NonceTrackerEntry.cs index b3a806149..a5a8d7893 100644 --- a/src/Cuemon.AspNetCore.Authentication/NonceTrackerEntry.cs +++ b/src/Cuemon.AspNetCore.Authentication/NonceTrackerEntry.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Authentication; /// diff --git a/src/Cuemon.AspNetCore.Mvc/Breadcrumb.cs b/src/Cuemon.AspNetCore.Mvc/Breadcrumb.cs index f01eb4014..2063dfe42 100644 --- a/src/Cuemon.AspNetCore.Mvc/Breadcrumb.cs +++ b/src/Cuemon.AspNetCore.Mvc/Breadcrumb.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Mvc; +namespace Cuemon.AspNetCore.Mvc; /// /// Represents a breadcrumb that can be used for navigation purposes on a website. /// diff --git a/src/Cuemon.AspNetCore.Mvc/CacheableFactory.cs b/src/Cuemon.AspNetCore.Mvc/CacheableFactory.cs index 80669f9a9..dae108b15 100644 --- a/src/Cuemon.AspNetCore.Mvc/CacheableFactory.cs +++ b/src/Cuemon.AspNetCore.Mvc/CacheableFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; using Cuemon.Data.Integrity; diff --git a/src/Cuemon.AspNetCore.Mvc/CacheableObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/CacheableObjectResult.cs index 695f45e71..7c257a1f6 100644 --- a/src/Cuemon.AspNetCore.Mvc/CacheableObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/CacheableObjectResult.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Mvc; +namespace Cuemon.AspNetCore.Mvc; /// /// Provides a base class for related operations. /// diff --git a/src/Cuemon.AspNetCore.Mvc/CacheableObjectResultOptions.cs b/src/Cuemon.AspNetCore.Mvc/CacheableObjectResultOptions.cs index b727ecde5..5b9bf8c07 100644 --- a/src/Cuemon.AspNetCore.Mvc/CacheableObjectResultOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/CacheableObjectResultOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResult.cs index 8f5dd0e77..554339d75 100644 --- a/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResult.cs @@ -1,4 +1,4 @@ -using Cuemon.Data.Integrity; +using Cuemon.Data.Integrity; using Cuemon.Security; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResultOptions.cs b/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResultOptions.cs index 24887ef5a..845d36a01 100644 --- a/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResultOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/ContentBasedObjectResultOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/ContentTimeBasedObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/ContentTimeBasedObjectResult.cs index 040f6e3d3..4e8a00760 100644 --- a/src/Cuemon.AspNetCore.Mvc/ContentTimeBasedObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/ContentTimeBasedObjectResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Data.Integrity; using Cuemon.Security; diff --git a/src/Cuemon.AspNetCore.Mvc/Cuemon.AspNetCore.Mvc.csproj b/src/Cuemon.AspNetCore.Mvc/Cuemon.AspNetCore.Mvc.csproj index f9c2d9984..e0b3dcadb 100644 --- a/src/Cuemon.AspNetCore.Mvc/Cuemon.AspNetCore.Mvc.csproj +++ b/src/Cuemon.AspNetCore.Mvc/Cuemon.AspNetCore.Mvc.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 a20adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.AspNetCore.Mvc/ExceptionDescriptorResult.cs b/src/Cuemon.AspNetCore.Mvc/ExceptionDescriptorResult.cs index bfa2dfff7..52cb9430a 100644 --- a/src/Cuemon.AspNetCore.Mvc/ExceptionDescriptorResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/ExceptionDescriptorResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableFilter.cs index efabb8b0d..bbbc5ab01 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableFilter.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableOptions.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableOptions.cs index aed655148..37ea87a34 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpCacheableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Configuration; using Microsoft.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderFilter.cs index 7e7b18ab6..963cecb99 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Threading.Tasks; using Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderOptions.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderOptions.cs index ddcce47e5..8d074fd24 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpEntityTagHeaderOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.AspNetCore.Http; using Cuemon.Configuration; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderFilter.cs index 81db0231b..c2a3cef8e 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Http; using Cuemon.Configuration; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderOptions.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderOptions.cs index 7a3854b94..5d369f741 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/HttpLastModifiedHeaderOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http; using Cuemon.Configuration; using Cuemon.Data.Integrity; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/ICacheableAsyncResultFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/ICacheableAsyncResultFilter.cs index 279f19a11..fc11159a0 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/ICacheableAsyncResultFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Cacheable/ICacheableAsyncResultFilter.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace Cuemon.AspNetCore.Mvc.Filters.Cacheable; /// diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableActionFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableActionFilter.cs index c8f3d6852..923dba8f7 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableActionFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableActionFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncActionFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncActionFilter.cs index 58c1f813e..8e89ae38d 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncActionFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncActionFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncAuthorizationFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncAuthorizationFilter.cs index 8ef757f7e..e6a8ecb6a 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncAuthorizationFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncAuthorizationFilter.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncResultFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncResultFilter.cs index 18360c905..f2c29b1e5 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncResultFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableAsyncResultFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableFactoryFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableFactoryFilter.cs index cfa86d071..2402e7dca 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableFactoryFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/ConfigurableFactoryFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/FaultDescriptorFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/FaultDescriptorFilter.cs index 3a18327f6..e57d6c6a7 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/FaultDescriptorFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/FaultDescriptorFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Reflection; using Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/MvcFaultDescriptorOptions.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/MvcFaultDescriptorOptions.cs index 00b3d7e57..2078c8dde 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/MvcFaultDescriptorOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Diagnostics/MvcFaultDescriptorOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Diagnostics; +using Cuemon.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Mvc.Filters; namespace Cuemon.AspNetCore.Mvc.Filters.Diagnostics; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelAttribute.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelAttribute.cs index 9fda75b59..7eb824472 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelAttribute.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelAttribute.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Http.Headers; +using Cuemon.AspNetCore.Http.Headers; using Microsoft.AspNetCore.Mvc; namespace Cuemon.AspNetCore.Mvc.Filters.Headers; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelFilter.cs index f9631435f..c94aac6c5 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Headers/ApiKeySentinelFilter.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Http; using Cuemon.AspNetCore.Http.Headers; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Headers/UserAgentSentinelFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Headers/UserAgentSentinelFilter.cs index 10b5ec2b2..334565fd4 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Headers/UserAgentSentinelFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Headers/UserAgentSentinelFilter.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Http; using Cuemon.AspNetCore.Http.Headers; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/ModelBinding/DisableModelBindingAttribute.cs b/src/Cuemon.AspNetCore.Mvc/Filters/ModelBinding/DisableModelBindingAttribute.cs index 6684483df..2012158d6 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/ModelBinding/DisableModelBindingAttribute.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/ModelBinding/DisableModelBindingAttribute.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelAttribute.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelAttribute.cs index 46047d323..b669f34ca 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelAttribute.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http.Headers; using Cuemon.AspNetCore.Http.Throttling; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelFilter.cs b/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelFilter.cs index 4cf23600d..38bd531e9 100644 --- a/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelFilter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Filters/Throttling/ThrottlingSentinelFilter.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Http; using Cuemon.AspNetCore.Http.Throttling; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Cuemon.AspNetCore.Mvc/ForbiddenObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/ForbiddenObjectResult.cs index 9b22316ba..5833d8e3e 100644 --- a/src/Cuemon.AspNetCore.Mvc/ForbiddenObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/ForbiddenObjectResult.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Http; +using Cuemon.AspNetCore.Http; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/ForbiddenResult.cs b/src/Cuemon.AspNetCore.Mvc/ForbiddenResult.cs index f8a1648c8..2e52e8e8e 100644 --- a/src/Cuemon.AspNetCore.Mvc/ForbiddenResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/ForbiddenResult.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Http; +using Cuemon.AspNetCore.Http; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableInputFormatter.cs b/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableInputFormatter.cs index 52d460008..1471f5233 100644 --- a/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableInputFormatter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableInputFormatter.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Formatters; namespace Cuemon.AspNetCore.Mvc.Formatters; diff --git a/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableOutputFormatter.cs b/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableOutputFormatter.cs index 76b010abe..d839e870f 100644 --- a/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableOutputFormatter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Formatters/ConfigurableOutputFormatter.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; using Microsoft.AspNetCore.Mvc.Formatters; namespace Cuemon.AspNetCore.Mvc.Formatters; diff --git a/src/Cuemon.AspNetCore.Mvc/Formatters/StreamInputFormatter.cs b/src/Cuemon.AspNetCore.Mvc/Formatters/StreamInputFormatter.cs index 16866a1b0..f1b9fa61f 100644 --- a/src/Cuemon.AspNetCore.Mvc/Formatters/StreamInputFormatter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Formatters/StreamInputFormatter.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; using System.Threading.Tasks; using Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore.Mvc/Formatters/StreamOutputFormatter.cs b/src/Cuemon.AspNetCore.Mvc/Formatters/StreamOutputFormatter.cs index a1c32430b..7b6edc752 100644 --- a/src/Cuemon.AspNetCore.Mvc/Formatters/StreamOutputFormatter.cs +++ b/src/Cuemon.AspNetCore.Mvc/Formatters/StreamOutputFormatter.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; using System.Threading.Tasks; using Cuemon.Configuration; diff --git a/src/Cuemon.AspNetCore.Mvc/GlobalSuppressions.cs b/src/Cuemon.AspNetCore.Mvc/GlobalSuppressions.cs index 9033b227a..c38bea60c 100644 --- a/src/Cuemon.AspNetCore.Mvc/GlobalSuppressions.cs +++ b/src/Cuemon.AspNetCore.Mvc/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.AspNetCore.Mvc/GoneResult.cs b/src/Cuemon.AspNetCore.Mvc/GoneResult.cs index d89aee328..4372a6a0c 100644 --- a/src/Cuemon.AspNetCore.Mvc/GoneResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/GoneResult.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/ICacheableObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/ICacheableObjectResult.cs index 065e8cc5e..b301f7965 100644 --- a/src/Cuemon.AspNetCore.Mvc/ICacheableObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/ICacheableObjectResult.cs @@ -1,4 +1,4 @@ -using Cuemon.Data.Integrity; +using Cuemon.Data.Integrity; namespace Cuemon.AspNetCore.Mvc; /// diff --git a/src/Cuemon.AspNetCore.Mvc/IContentBasedObjectResultOptions.cs b/src/Cuemon.AspNetCore.Mvc/IContentBasedObjectResultOptions.cs index b8324c563..3b0ab6f9a 100644 --- a/src/Cuemon.AspNetCore.Mvc/IContentBasedObjectResultOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/IContentBasedObjectResultOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Mvc; /// diff --git a/src/Cuemon.AspNetCore.Mvc/ITimeBasedObjectResultOptions.cs b/src/Cuemon.AspNetCore.Mvc/ITimeBasedObjectResultOptions.cs index 93efb54e4..81681cce4 100644 --- a/src/Cuemon.AspNetCore.Mvc/ITimeBasedObjectResultOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/ITimeBasedObjectResultOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Mvc; /// diff --git a/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResult.cs index 3bb11109d..1408c61d7 100644 --- a/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Data.Integrity; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResultOptions.cs b/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResultOptions.cs index 52feae8da..0810420e7 100644 --- a/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResultOptions.cs +++ b/src/Cuemon.AspNetCore.Mvc/TimeBasedObjectResultOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/TooManyRequestsObjectResult.cs b/src/Cuemon.AspNetCore.Mvc/TooManyRequestsObjectResult.cs index 1c6d9ed3e..3c8a761d7 100644 --- a/src/Cuemon.AspNetCore.Mvc/TooManyRequestsObjectResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/TooManyRequestsObjectResult.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Mvc/TooManyRequestsResult.cs b/src/Cuemon.AspNetCore.Mvc/TooManyRequestsResult.cs index 927b6a47f..eac76cef9 100644 --- a/src/Cuemon.AspNetCore.Mvc/TooManyRequestsResult.cs +++ b/src/Cuemon.AspNetCore.Mvc/TooManyRequestsResult.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppImageTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppImageTagHelper.cs index 38d76467a..fc39a9046 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppImageTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppImageTagHelper.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppLinkTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppLinkTagHelper.cs index b2201d3f9..03d34a636 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppLinkTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppLinkTagHelper.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppScriptTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppScriptTagHelper.cs index a27897a42..4a0f02354 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppScriptTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppScriptTagHelper.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppTagHelperOptions.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppTagHelperOptions.cs index 4131c1f4b..fbb308b8e 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/AppTagHelperOptions.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/AppTagHelperOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Razor.TagHelpers; +namespace Cuemon.AspNetCore.Razor.TagHelpers; /// /// Configuration options for , and . /// diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/CacheBustingTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/CacheBustingTagHelper.cs index d7d42a66b..1e2ba3264 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/CacheBustingTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/CacheBustingTagHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Cuemon.AspNetCore.Configuration; using Cuemon.Configuration; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnImageTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnImageTagHelper.cs index aa025adef..1d559962c 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnImageTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnImageTagHelper.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnLinkTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnLinkTagHelper.cs index 90b2527fd..4b715b310 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnLinkTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnLinkTagHelper.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnScriptTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnScriptTagHelper.cs index ae03e4f89..37fc591c3 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnScriptTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnScriptTagHelper.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnTagHelperOptions.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnTagHelperOptions.cs index e737b5901..eed48cc15 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnTagHelperOptions.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/CdnTagHelperOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Razor.TagHelpers; +namespace Cuemon.AspNetCore.Razor.TagHelpers; /// /// Configuration options for , and . /// diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/Cuemon.AspNetCore.Razor.TagHelpers.csproj b/src/Cuemon.AspNetCore.Razor.TagHelpers/Cuemon.AspNetCore.Razor.TagHelpers.csproj index 2d28379b7..657f8a79b 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/Cuemon.AspNetCore.Razor.TagHelpers.csproj +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/Cuemon.AspNetCore.Razor.TagHelpers.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 a30adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/LinkTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/LinkTagHelper.cs index 9c85b21c4..be58fa2cf 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/LinkTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/LinkTagHelper.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/ProtocolUriScheme.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/ProtocolUriScheme.cs index cf23e630d..989bb9ba7 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/ProtocolUriScheme.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/ProtocolUriScheme.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Razor.TagHelpers; +namespace Cuemon.AspNetCore.Razor.TagHelpers; /// /// Defines protocol URI schemes for static resource related operations. /// diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/ScriptTagHelper.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/ScriptTagHelper.cs index 8ed03af91..fface55c5 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/ScriptTagHelper.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/ScriptTagHelper.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Configuration; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperOptions.cs b/src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperOptions.cs index e7e1364db..b28dc7e3c 100644 --- a/src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperOptions.cs +++ b/src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperOptions.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using Cuemon.Configuration; using Cuemon.Text; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Builder/MiddlewareBuilderFactory.cs b/src/Cuemon.AspNetCore/Builder/MiddlewareBuilderFactory.cs index 10a791430..46669dbef 100644 --- a/src/Cuemon.AspNetCore/Builder/MiddlewareBuilderFactory.cs +++ b/src/Cuemon.AspNetCore/Builder/MiddlewareBuilderFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Infrastructure; using Cuemon.Configuration; using Microsoft.AspNetCore.Builder; diff --git a/src/Cuemon.AspNetCore/ConfigurableMiddleware.cs b/src/Cuemon.AspNetCore/ConfigurableMiddleware.cs index 53e3caacd..dea4dda15 100644 --- a/src/Cuemon.AspNetCore/ConfigurableMiddleware.cs +++ b/src/Cuemon.AspNetCore/ConfigurableMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Infrastructure; using Cuemon.Configuration; diff --git a/src/Cuemon.AspNetCore/Configuration/CacheBusting.cs b/src/Cuemon.AspNetCore/Configuration/CacheBusting.cs index 38573a624..20cc9df38 100644 --- a/src/Cuemon.AspNetCore/Configuration/CacheBusting.cs +++ b/src/Cuemon.AspNetCore/Configuration/CacheBusting.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Configuration; +namespace Cuemon.AspNetCore.Configuration; /// /// Represents a way to provide cache-busting capabilities. /// diff --git a/src/Cuemon.AspNetCore/Configuration/CacheBustingOptions.cs b/src/Cuemon.AspNetCore/Configuration/CacheBustingOptions.cs index 745de1036..50f588dc9 100644 --- a/src/Cuemon.AspNetCore/Configuration/CacheBustingOptions.cs +++ b/src/Cuemon.AspNetCore/Configuration/CacheBustingOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.AspNetCore.Configuration; /// diff --git a/src/Cuemon.AspNetCore/Configuration/DynamicCacheBusting.cs b/src/Cuemon.AspNetCore/Configuration/DynamicCacheBusting.cs index c59c44c18..beb9401fb 100644 --- a/src/Cuemon.AspNetCore/Configuration/DynamicCacheBusting.cs +++ b/src/Cuemon.AspNetCore/Configuration/DynamicCacheBusting.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore/Configuration/DynamicCacheBustingOptions.cs b/src/Cuemon.AspNetCore/Configuration/DynamicCacheBustingOptions.cs index 3266a8e27..a8222e2b6 100644 --- a/src/Cuemon.AspNetCore/Configuration/DynamicCacheBustingOptions.cs +++ b/src/Cuemon.AspNetCore/Configuration/DynamicCacheBustingOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Configuration; /// diff --git a/src/Cuemon.AspNetCore/Configuration/ICacheBusting.cs b/src/Cuemon.AspNetCore/Configuration/ICacheBusting.cs index d9be35f3b..8dbe60135 100644 --- a/src/Cuemon.AspNetCore/Configuration/ICacheBusting.cs +++ b/src/Cuemon.AspNetCore/Configuration/ICacheBusting.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Configuration; +namespace Cuemon.AspNetCore.Configuration; /// /// An interface to provide cache-busting capabilities. /// diff --git a/src/Cuemon.AspNetCore/Cuemon.AspNetCore.csproj b/src/Cuemon.AspNetCore/Cuemon.AspNetCore.csproj index f3bc7af39..e6bc05aff 100644 --- a/src/Cuemon.AspNetCore/Cuemon.AspNetCore.csproj +++ b/src/Cuemon.AspNetCore/Cuemon.AspNetCore.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 a00adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.AspNetCore/Diagnostics/FaultDescriptorOptions.cs b/src/Cuemon.AspNetCore/Diagnostics/FaultDescriptorOptions.cs index 54b1c660a..6d9fa7422 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/FaultDescriptorOptions.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/FaultDescriptorOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; diff --git a/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseFormatter.cs b/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseFormatter.cs index 1c6cf0e35..5ce4d7041 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseFormatter.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseFormatter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net; using System.Net.Http; diff --git a/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandler.cs b/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandler.cs index 0b0c9d5e8..2265de7aa 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandler.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandlerOptions.cs b/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandlerOptions.cs index 9efc73a52..3830f7103 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandlerOptions.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/HttpExceptionDescriptorResponseHandlerOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Diagnostics/HttpFaultResolver.cs b/src/Cuemon.AspNetCore/Diagnostics/HttpFaultResolver.cs index 8fe3b949e..d7bd0383d 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/HttpFaultResolver.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/HttpFaultResolver.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Diagnostics; namespace Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore/Diagnostics/HttpRequestEvidence.cs b/src/Cuemon.AspNetCore/Diagnostics/HttpRequestEvidence.cs index a5d4f70c8..0413033a2 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/HttpRequestEvidence.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/HttpRequestEvidence.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.IO; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Diagnostics/IHttpExceptionDescriptorResponseFormatter.cs b/src/Cuemon.AspNetCore/Diagnostics/IHttpExceptionDescriptorResponseFormatter.cs index fa3af85b6..ff331fb65 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/IHttpExceptionDescriptorResponseFormatter.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/IHttpExceptionDescriptorResponseFormatter.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace Cuemon.AspNetCore.Diagnostics; /// diff --git a/src/Cuemon.AspNetCore/Diagnostics/IServerTiming.cs b/src/Cuemon.AspNetCore/Diagnostics/IServerTiming.cs index 6ef3d005a..070177c92 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/IServerTiming.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/IServerTiming.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore/Diagnostics/PreferredFaultDescriptor.cs b/src/Cuemon.AspNetCore/Diagnostics/PreferredFaultDescriptor.cs index 992ac7364..06eabaecf 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/PreferredFaultDescriptor.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/PreferredFaultDescriptor.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Diagnostics; /// diff --git a/src/Cuemon.AspNetCore/Diagnostics/ServerTiming.cs b/src/Cuemon.AspNetCore/Diagnostics/ServerTiming.cs index ff4f4aab9..7be858a5e 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/ServerTiming.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/ServerTiming.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMetric.cs b/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMetric.cs index cad102951..9ec76fcf4 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMetric.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMetric.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMiddleware.cs b/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMiddleware.cs index 1f5b2256f..a7a7f6cef 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMiddleware.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/ServerTimingMiddleware.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Diagnostics/ServerTimingOptions.cs b/src/Cuemon.AspNetCore/Diagnostics/ServerTimingOptions.cs index 1fcaf5101..b5bf14fc2 100644 --- a/src/Cuemon.AspNetCore/Diagnostics/ServerTimingOptions.cs +++ b/src/Cuemon.AspNetCore/Diagnostics/ServerTimingOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Cuemon.Diagnostics; using Microsoft.Extensions.Hosting; diff --git a/src/Cuemon.AspNetCore/Extensions/Diagnostics/FaultDescriptorOptionsDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Diagnostics/FaultDescriptorOptionsDecoratorExtensions.cs index 556b0e14e..e35e4ece9 100644 --- a/src/Cuemon.AspNetCore/Extensions/Diagnostics/FaultDescriptorOptionsDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Diagnostics/FaultDescriptorOptionsDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using Cuemon.AspNetCore.Http; using Cuemon.AspNetCore.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorDecoratorExtensions.cs index bf6855451..770585699 100644 --- a/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.Diagnostics; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorResponseHandlerDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorResponseHandlerDecoratorExtensions.cs index 978d76fe6..cd9a2b88e 100644 --- a/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorResponseHandlerDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpExceptionDescriptorResponseHandlerDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Net.Http; using System; diff --git a/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpFaultResolverDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpFaultResolverDecoratorExtensions.cs index ae1a87942..e57bae249 100644 --- a/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpFaultResolverDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Diagnostics/HttpFaultResolverDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/HeaderDictionaryDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/HeaderDictionaryDecoratorExtensions.cs index 061ab4c08..ed59770f8 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/HeaderDictionaryDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/HeaderDictionaryDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/Headers/ChecksumBuilderDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/Headers/ChecksumBuilderDecoratorExtensions.cs index ce2100f10..7c1293937 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/Headers/ChecksumBuilderDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/Headers/ChecksumBuilderDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Data.Integrity; using Microsoft.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/HttpContextDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/HttpContextDecoratorExtensions.cs index a782128b9..26701b4f6 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/HttpContextDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/HttpContextDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Linq; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/HttpRequestDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/HttpRequestDecoratorExtensions.cs index b3279d754..6ec1a642c 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/HttpRequestDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/HttpRequestDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.Data.Integrity; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/HttpResponseDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/HttpResponseDecoratorExtensions.cs index fd8fdcd60..cb703de4f 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/HttpResponseDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/HttpResponseDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Cuemon.AspNetCore.Http.Headers; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/HttpStatusCodeExceptionDecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/HttpStatusCodeExceptionDecoratorExtensions.cs index 689af5642..3f0fb8b00 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/HttpStatusCodeExceptionDecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/HttpStatusCodeExceptionDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Extensions/Http/Int32DecoratorExtensions.cs b/src/Cuemon.AspNetCore/Extensions/Http/Int32DecoratorExtensions.cs index 181ac9d8a..f780db625 100644 --- a/src/Cuemon.AspNetCore/Extensions/Http/Int32DecoratorExtensions.cs +++ b/src/Cuemon.AspNetCore/Extensions/Http/Int32DecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/GlobalSuppressions.cs b/src/Cuemon.AspNetCore/GlobalSuppressions.cs index deb6a4ed0..38f6742f5 100644 --- a/src/Cuemon.AspNetCore/GlobalSuppressions.cs +++ b/src/Cuemon.AspNetCore/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentMiddleware.cs b/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentMiddleware.cs index aa6ab8e89..a8e8e54b2 100644 --- a/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentMiddleware.cs +++ b/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentOptions.cs b/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentOptions.cs index 80d0dacbb..82ed5d800 100644 --- a/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentOptions.cs +++ b/src/Cuemon.AspNetCore/Hosting/HostingEnvironmentOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Microsoft.Extensions.Hosting; diff --git a/src/Cuemon.AspNetCore/Http/BadRequestException.cs b/src/Cuemon.AspNetCore/Http/BadRequestException.cs index c49b8ba15..5f3ae012d 100644 --- a/src/Cuemon.AspNetCore/Http/BadRequestException.cs +++ b/src/Cuemon.AspNetCore/Http/BadRequestException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/ConflictException.cs b/src/Cuemon.AspNetCore/Http/ConflictException.cs index 431869c5d..be57094bf 100644 --- a/src/Cuemon.AspNetCore/Http/ConflictException.cs +++ b/src/Cuemon.AspNetCore/Http/ConflictException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/ForbiddenException.cs b/src/Cuemon.AspNetCore/Http/ForbiddenException.cs index 2754e00bd..aae594e0a 100644 --- a/src/Cuemon.AspNetCore/Http/ForbiddenException.cs +++ b/src/Cuemon.AspNetCore/Http/ForbiddenException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/GoneException.cs b/src/Cuemon.AspNetCore/Http/GoneException.cs index 91cf9571a..2dd7775a3 100644 --- a/src/Cuemon.AspNetCore/Http/GoneException.cs +++ b/src/Cuemon.AspNetCore/Http/GoneException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/Headers/ApiKeyException.cs b/src/Cuemon.AspNetCore/Http/Headers/ApiKeyException.cs index 33fc2531f..fda7bc887 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/ApiKeyException.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/ApiKeyException.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Http.Headers; +namespace Cuemon.AspNetCore.Http.Headers; /// /// The exception that is thrown when the requirements of an API key header is not meet. /// diff --git a/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelMiddleware.cs b/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelMiddleware.cs index fd4d8e7fa..4dca494d3 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelMiddleware.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelOptions.cs b/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelOptions.cs index 8d084c733..2f4f8eee2 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelOptions.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/ApiKeySentinelOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/src/Cuemon.AspNetCore/Http/Headers/CacheableMiddleware.cs b/src/Cuemon.AspNetCore/Http/Headers/CacheableMiddleware.cs index 995256409..e3e18e458 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/CacheableMiddleware.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/CacheableMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Threading.Tasks; using Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.AspNetCore/Http/Headers/CacheableOptions.cs b/src/Cuemon.AspNetCore/Http/Headers/CacheableOptions.cs index c741e99c7..4d91a9e65 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/CacheableOptions.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/CacheableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Configuration; using Microsoft.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierMiddleware.cs b/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierMiddleware.cs index 078213669..7cb350d38 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierMiddleware.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierOptions.cs b/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierOptions.cs index a45396486..cc5b9ffa0 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierOptions.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/CorrelationIdentifierOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Cuemon.Messaging; using Cuemon.Net.Http; diff --git a/src/Cuemon.AspNetCore/Http/Headers/ExpiresHeaderValue.cs b/src/Cuemon.AspNetCore/Http/Headers/ExpiresHeaderValue.cs index 4cad5f38b..cf1598622 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/ExpiresHeaderValue.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/ExpiresHeaderValue.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Http.Headers; /// diff --git a/src/Cuemon.AspNetCore/Http/Headers/ICacheableValidator.cs b/src/Cuemon.AspNetCore/Http/Headers/ICacheableValidator.cs index 388be9b44..80bf029c2 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/ICacheableValidator.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/ICacheableValidator.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierMiddleware.cs b/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierMiddleware.cs index ffafcbf32..5050215f1 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierMiddleware.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierOptions.cs b/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierOptions.cs index 16328b2d7..16e0f4561 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierOptions.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/RequestIdentifierOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Cuemon.Messaging; using Cuemon.Net.Http; diff --git a/src/Cuemon.AspNetCore/Http/Headers/RetryConditionScope.cs b/src/Cuemon.AspNetCore/Http/Headers/RetryConditionScope.cs index 618dbf1dc..3a16ad4cd 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/RetryConditionScope.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/RetryConditionScope.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Http.Headers; +namespace Cuemon.AspNetCore.Http.Headers; /// /// Specifies a set of values defining what value to use with a given HTTP header in regards to a retry condition. Recommended value is always as it does not rely on clock synchronization and is resilient to clock skew between client and server. /// diff --git a/src/Cuemon.AspNetCore/Http/Headers/UserAgentException.cs b/src/Cuemon.AspNetCore/Http/Headers/UserAgentException.cs index 60fd9e699..90b9fc9c2 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/UserAgentException.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/UserAgentException.cs @@ -1,4 +1,4 @@ -namespace Cuemon.AspNetCore.Http.Headers; +namespace Cuemon.AspNetCore.Http.Headers; /// /// The exception that is thrown when the requirements of an HTTP User-Agent header is not meet. /// diff --git a/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelMiddleware.cs b/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelMiddleware.cs index ac4b8f6fa..3de5d0fb8 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelMiddleware.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelOptions.cs b/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelOptions.cs index 8032f193b..db3b31438 100644 --- a/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelOptions.cs +++ b/src/Cuemon.AspNetCore/Http/Headers/UserAgentSentinelOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/src/Cuemon.AspNetCore/Http/HttpStatusCodeException.cs b/src/Cuemon.AspNetCore/Http/HttpStatusCodeException.cs index 934f5bf66..ce65c2390 100644 --- a/src/Cuemon.AspNetCore/Http/HttpStatusCodeException.cs +++ b/src/Cuemon.AspNetCore/Http/HttpStatusCodeException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Linq; using System.Text; diff --git a/src/Cuemon.AspNetCore/Http/InternalServerErrorException.cs b/src/Cuemon.AspNetCore/Http/InternalServerErrorException.cs index 6fc4c6a24..50551ac75 100644 --- a/src/Cuemon.AspNetCore/Http/InternalServerErrorException.cs +++ b/src/Cuemon.AspNetCore/Http/InternalServerErrorException.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http; using System; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/MethodNotAllowedException.cs b/src/Cuemon.AspNetCore/Http/MethodNotAllowedException.cs index 85d87bba3..cac431174 100644 --- a/src/Cuemon.AspNetCore/Http/MethodNotAllowedException.cs +++ b/src/Cuemon.AspNetCore/Http/MethodNotAllowedException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/NotAcceptableException.cs b/src/Cuemon.AspNetCore/Http/NotAcceptableException.cs index a3b9e414f..134b26c89 100644 --- a/src/Cuemon.AspNetCore/Http/NotAcceptableException.cs +++ b/src/Cuemon.AspNetCore/Http/NotAcceptableException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/NotFoundException.cs b/src/Cuemon.AspNetCore/Http/NotFoundException.cs index 467d297ce..66c27f4bf 100644 --- a/src/Cuemon.AspNetCore/Http/NotFoundException.cs +++ b/src/Cuemon.AspNetCore/Http/NotFoundException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/PayloadTooLargeException.cs b/src/Cuemon.AspNetCore/Http/PayloadTooLargeException.cs index f1a6870be..f111b62dc 100644 --- a/src/Cuemon.AspNetCore/Http/PayloadTooLargeException.cs +++ b/src/Cuemon.AspNetCore/Http/PayloadTooLargeException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/PreconditionFailedException.cs b/src/Cuemon.AspNetCore/Http/PreconditionFailedException.cs index e1e2b4cc7..c9409b5f7 100644 --- a/src/Cuemon.AspNetCore/Http/PreconditionFailedException.cs +++ b/src/Cuemon.AspNetCore/Http/PreconditionFailedException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/PreconditionRequiredException.cs b/src/Cuemon.AspNetCore/Http/PreconditionRequiredException.cs index cc4bef0e7..cd8c2c1cb 100644 --- a/src/Cuemon.AspNetCore/Http/PreconditionRequiredException.cs +++ b/src/Cuemon.AspNetCore/Http/PreconditionRequiredException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/Throttling/IThrottlingCache.cs b/src/Cuemon.AspNetCore/Http/Throttling/IThrottlingCache.cs index aefb92f8f..de990fba3 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/IThrottlingCache.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/IThrottlingCache.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace Cuemon.AspNetCore.Http.Throttling; /// diff --git a/src/Cuemon.AspNetCore/Http/Throttling/MemoryThrottlingCache.cs b/src/Cuemon.AspNetCore/Http/Throttling/MemoryThrottlingCache.cs index 6ed2f9f24..3ea1a82ab 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/MemoryThrottlingCache.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/MemoryThrottlingCache.cs @@ -1,4 +1,4 @@ -using System.Collections.Concurrent; +using System.Collections.Concurrent; namespace Cuemon.AspNetCore.Http.Throttling; /// diff --git a/src/Cuemon.AspNetCore/Http/Throttling/ThrottleQuota.cs b/src/Cuemon.AspNetCore/Http/Throttling/ThrottleQuota.cs index 43aa1a99c..3a090b02d 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/ThrottleQuota.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/ThrottleQuota.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Http.Throttling; /// diff --git a/src/Cuemon.AspNetCore/Http/Throttling/ThrottleRequest.cs b/src/Cuemon.AspNetCore/Http/Throttling/ThrottleRequest.cs index c13018397..5de38aedb 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/ThrottleRequest.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/ThrottleRequest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Http.Throttling; /// diff --git a/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingException.cs b/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingException.cs index e3dba1713..5bfd55ffc 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingException.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.AspNetCore.Http.Throttling; /// diff --git a/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelMiddleware.cs b/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelMiddleware.cs index c6e029c03..816732960 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelMiddleware.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelOptions.cs b/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelOptions.cs index da5af8eaf..3135436ae 100644 --- a/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelOptions.cs +++ b/src/Cuemon.AspNetCore/Http/Throttling/ThrottlingSentinelOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; diff --git a/src/Cuemon.AspNetCore/Http/TooManyRequestsException.cs b/src/Cuemon.AspNetCore/Http/TooManyRequestsException.cs index fd5e1be1a..66903c615 100644 --- a/src/Cuemon.AspNetCore/Http/TooManyRequestsException.cs +++ b/src/Cuemon.AspNetCore/Http/TooManyRequestsException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/UnauthorizedException.cs b/src/Cuemon.AspNetCore/Http/UnauthorizedException.cs index a89d9e6d6..9fae3da93 100644 --- a/src/Cuemon.AspNetCore/Http/UnauthorizedException.cs +++ b/src/Cuemon.AspNetCore/Http/UnauthorizedException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Http/UnsupportedMediaTypeException.cs b/src/Cuemon.AspNetCore/Http/UnsupportedMediaTypeException.cs index 52d6e2110..9e055305c 100644 --- a/src/Cuemon.AspNetCore/Http/UnsupportedMediaTypeException.cs +++ b/src/Cuemon.AspNetCore/Http/UnsupportedMediaTypeException.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.AspNetCore/Infrastructure/ConfigurableMiddlewareCore.cs b/src/Cuemon.AspNetCore/Infrastructure/ConfigurableMiddlewareCore.cs index e54af81eb..4b4d65217 100644 --- a/src/Cuemon.AspNetCore/Infrastructure/ConfigurableMiddlewareCore.cs +++ b/src/Cuemon.AspNetCore/Infrastructure/ConfigurableMiddlewareCore.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.AspNetCore/Infrastructure/MiddlewareCore.cs b/src/Cuemon.AspNetCore/Infrastructure/MiddlewareCore.cs index 894bbee6d..f738750ca 100644 --- a/src/Cuemon.AspNetCore/Infrastructure/MiddlewareCore.cs +++ b/src/Cuemon.AspNetCore/Infrastructure/MiddlewareCore.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http; namespace Cuemon.AspNetCore.Infrastructure; /// diff --git a/src/Cuemon.AspNetCore/Middleware.cs b/src/Cuemon.AspNetCore/Middleware.cs index 52e2a4d37..6ea550f29 100644 --- a/src/Cuemon.AspNetCore/Middleware.cs +++ b/src/Cuemon.AspNetCore/Middleware.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Infrastructure; using Microsoft.AspNetCore.Http; diff --git a/src/Cuemon.Core.App/Cuemon.Core.App.csproj b/src/Cuemon.Core.App/Cuemon.Core.App.csproj index ddeb20996..e8ddfcb34 100644 --- a/src/Cuemon.Core.App/Cuemon.Core.App.csproj +++ b/src/Cuemon.Core.App/Cuemon.Core.App.csproj @@ -1,4 +1,4 @@ - + 230bdf91-e7c7-4cb4-a39d-e1a5374c5602 @@ -8,7 +8,7 @@ false false Provides a convenient set of default API additions for building a .NET application. - NU5128 + $(NoWarn);NU5128 diff --git a/src/Cuemon.Core/ActionFactory.cs b/src/Cuemon.Core/ActionFactory.cs index bc4f755f2..113a76a81 100644 --- a/src/Cuemon.Core/ActionFactory.cs +++ b/src/Cuemon.Core/ActionFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/AssignmentOperator.cs b/src/Cuemon.Core/AssignmentOperator.cs index fe37942a4..e6db20294 100644 --- a/src/Cuemon.Core/AssignmentOperator.cs +++ b/src/Cuemon.Core/AssignmentOperator.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Defines the most common assignment operators for numeric operands. /// diff --git a/src/Cuemon.Core/Calculator.cs b/src/Cuemon.Core/Calculator.cs index 64f951282..fab74562d 100644 --- a/src/Cuemon.Core/Calculator.cs +++ b/src/Cuemon.Core/Calculator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Core/Collections/Generic/ConditionalCollection.cs b/src/Cuemon.Core/Collections/Generic/ConditionalCollection.cs index b5846d9d6..dae129515 100644 --- a/src/Cuemon.Core/Collections/Generic/ConditionalCollection.cs +++ b/src/Cuemon.Core/Collections/Generic/ConditionalCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Core/Collections/Generic/DynamicComparer.cs b/src/Cuemon.Core/Collections/Generic/DynamicComparer.cs index 38b4af6f4..c92c67184 100644 --- a/src/Cuemon.Core/Collections/Generic/DynamicComparer.cs +++ b/src/Cuemon.Core/Collections/Generic/DynamicComparer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Collections/Generic/DynamicEqualityComparer.cs b/src/Cuemon.Core/Collections/Generic/DynamicEqualityComparer.cs index fc3e3a683..c09ec6f03 100644 --- a/src/Cuemon.Core/Collections/Generic/DynamicEqualityComparer.cs +++ b/src/Cuemon.Core/Collections/Generic/DynamicEqualityComparer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Collections/Generic/EnumReadOnlyDictionary.cs b/src/Cuemon.Core/Collections/Generic/EnumReadOnlyDictionary.cs index 1eb21deee..a336e5ab9 100644 --- a/src/Cuemon.Core/Collections/Generic/EnumReadOnlyDictionary.cs +++ b/src/Cuemon.Core/Collections/Generic/EnumReadOnlyDictionary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Cuemon.Core/Collections/Generic/EnumerableSizeComparer.cs b/src/Cuemon.Core/Collections/Generic/EnumerableSizeComparer.cs index 5618ee33a..8c643183d 100644 --- a/src/Cuemon.Core/Collections/Generic/EnumerableSizeComparer.cs +++ b/src/Cuemon.Core/Collections/Generic/EnumerableSizeComparer.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using System.Collections.Generic; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Collections/Generic/PaginationEnumerable.cs b/src/Cuemon.Core/Collections/Generic/PaginationEnumerable.cs index 0ff79a2d0..b7f6d02ac 100644 --- a/src/Cuemon.Core/Collections/Generic/PaginationEnumerable.cs +++ b/src/Cuemon.Core/Collections/Generic/PaginationEnumerable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Core/Collections/Generic/PaginationList.cs b/src/Cuemon.Core/Collections/Generic/PaginationList.cs index 7c7a7d057..0bad84eae 100644 --- a/src/Cuemon.Core/Collections/Generic/PaginationList.cs +++ b/src/Cuemon.Core/Collections/Generic/PaginationList.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Core/Collections/Generic/PaginationOptions.cs b/src/Cuemon.Core/Collections/Generic/PaginationOptions.cs index a0f37c4d0..ea5e3fc37 100644 --- a/src/Cuemon.Core/Collections/Generic/PaginationOptions.cs +++ b/src/Cuemon.Core/Collections/Generic/PaginationOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.Collections.Generic; /// diff --git a/src/Cuemon.Core/Collections/Generic/PartitionerCollection.cs b/src/Cuemon.Core/Collections/Generic/PartitionerCollection.cs index 014822525..f16076105 100644 --- a/src/Cuemon.Core/Collections/Generic/PartitionerCollection.cs +++ b/src/Cuemon.Core/Collections/Generic/PartitionerCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Collections/Generic/PartitionerEnumerable.cs b/src/Cuemon.Core/Collections/Generic/PartitionerEnumerable.cs index f219a8a83..274363c57 100644 --- a/src/Cuemon.Core/Collections/Generic/PartitionerEnumerable.cs +++ b/src/Cuemon.Core/Collections/Generic/PartitionerEnumerable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Core/Collections/Generic/PartitionerEnumerator.cs b/src/Cuemon.Core/Collections/Generic/PartitionerEnumerator.cs index 69bec4766..6487ccba7 100644 --- a/src/Cuemon.Core/Collections/Generic/PartitionerEnumerator.cs +++ b/src/Cuemon.Core/Collections/Generic/PartitionerEnumerator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; diff --git a/src/Cuemon.Core/Collections/Generic/ReferenceComparer.cs b/src/Cuemon.Core/Collections/Generic/ReferenceComparer.cs index 4583e1496..a947d92ac 100644 --- a/src/Cuemon.Core/Collections/Generic/ReferenceComparer.cs +++ b/src/Cuemon.Core/Collections/Generic/ReferenceComparer.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Reflection; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/DataPair.cs b/src/Cuemon.Core/DataPair.cs index f03fd37a8..581c31164 100644 --- a/src/Cuemon.Core/DataPair.cs +++ b/src/Cuemon.Core/DataPair.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/DateTimeFormatPattern.cs b/src/Cuemon.Core/DateTimeFormatPattern.cs index 2a538958e..9e95adff0 100644 --- a/src/Cuemon.Core/DateTimeFormatPattern.cs +++ b/src/Cuemon.Core/DateTimeFormatPattern.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Defines the default pattern to use when formatting date- and time values. /// diff --git a/src/Cuemon.Core/DayPart.cs b/src/Cuemon.Core/DayPart.cs index ade716332..3b2f29856 100644 --- a/src/Cuemon.Core/DayPart.cs +++ b/src/Cuemon.Core/DayPart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/Cuemon.Core/Diagnostics/ExceptionDescriptor.cs b/src/Cuemon.Core/Diagnostics/ExceptionDescriptor.cs index fc69f2716..4ebfb132b 100644 --- a/src/Cuemon.Core/Diagnostics/ExceptionDescriptor.cs +++ b/src/Cuemon.Core/Diagnostics/ExceptionDescriptor.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; diff --git a/src/Cuemon.Core/Diagnostics/ExceptionDescriptorAttribute.cs b/src/Cuemon.Core/Diagnostics/ExceptionDescriptorAttribute.cs index c29289c59..e2254f553 100644 --- a/src/Cuemon.Core/Diagnostics/ExceptionDescriptorAttribute.cs +++ b/src/Cuemon.Core/Diagnostics/ExceptionDescriptorAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Collections.Generic; using Cuemon.Globalization; diff --git a/src/Cuemon.Core/Diagnostics/ExceptionDescriptorOptions.cs b/src/Cuemon.Core/Diagnostics/ExceptionDescriptorOptions.cs index 43c2363f0..6436a3d73 100644 --- a/src/Cuemon.Core/Diagnostics/ExceptionDescriptorOptions.cs +++ b/src/Cuemon.Core/Diagnostics/ExceptionDescriptorOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Diagnostics; +namespace Cuemon.Diagnostics; /// /// Specifies options that is related to operations. /// diff --git a/src/Cuemon.Core/Diagnostics/Failure.cs b/src/Cuemon.Core/Diagnostics/Failure.cs index c6164e561..17da86638 100644 --- a/src/Cuemon.Core/Diagnostics/Failure.cs +++ b/src/Cuemon.Core/Diagnostics/Failure.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Core/Diagnostics/FaultSensitivityDetails.cs b/src/Cuemon.Core/Diagnostics/FaultSensitivityDetails.cs index ce3a26411..a3b9d846e 100644 --- a/src/Cuemon.Core/Diagnostics/FaultSensitivityDetails.cs +++ b/src/Cuemon.Core/Diagnostics/FaultSensitivityDetails.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Diagnostics; /// diff --git a/src/Cuemon.Core/Diagnostics/IExceptionDescriptorOptions.cs b/src/Cuemon.Core/Diagnostics/IExceptionDescriptorOptions.cs index 23a56ab51..00f74350c 100644 --- a/src/Cuemon.Core/Diagnostics/IExceptionDescriptorOptions.cs +++ b/src/Cuemon.Core/Diagnostics/IExceptionDescriptorOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.Diagnostics; /// diff --git a/src/Cuemon.Core/Diagnostics/MemberEvidence.cs b/src/Cuemon.Core/Diagnostics/MemberEvidence.cs index bd57b3f53..879ac01ce 100644 --- a/src/Cuemon.Core/Diagnostics/MemberEvidence.cs +++ b/src/Cuemon.Core/Diagnostics/MemberEvidence.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace Cuemon.Diagnostics; /// diff --git a/src/Cuemon.Core/Diagnostics/ProcessInfo.cs b/src/Cuemon.Core/Diagnostics/ProcessInfo.cs index fc88615a5..35e511ee1 100644 --- a/src/Cuemon.Core/Diagnostics/ProcessInfo.cs +++ b/src/Cuemon.Core/Diagnostics/ProcessInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Globalization; using System.Linq; diff --git a/src/Cuemon.Core/EnvironmentInfo.cs b/src/Cuemon.Core/EnvironmentInfo.cs index 3c0eaac9c..0b2b98a74 100644 --- a/src/Cuemon.Core/EnvironmentInfo.cs +++ b/src/Cuemon.Core/EnvironmentInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Versioning; diff --git a/src/Cuemon.Core/Eradicate.cs b/src/Cuemon.Core/Eradicate.cs index 5f5eb2849..7e164a537 100644 --- a/src/Cuemon.Core/Eradicate.cs +++ b/src/Cuemon.Core/Eradicate.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/ExceptionInsights.cs b/src/Cuemon.Core/ExceptionInsights.cs index 0dd1aa337..8d28b7d98 100644 --- a/src/Cuemon.Core/ExceptionInsights.cs +++ b/src/Cuemon.Core/ExceptionInsights.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Reflection; using System.Text; diff --git a/src/Cuemon.Core/Extensions/ByteArrayDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/ByteArrayDecoratorExtensions.cs index 0190b2a42..ba7e7d242 100644 --- a/src/Cuemon.Core/Extensions/ByteArrayDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/ByteArrayDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.Text; diff --git a/src/Cuemon.Core/Extensions/CharDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/CharDecoratorExtensions.cs index 5bc4a9390..1aa919a6a 100644 --- a/src/Cuemon.Core/Extensions/CharDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/CharDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Core/Extensions/Collections/Generic/CollectionDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Collections/Generic/CollectionDecoratorExtensions.cs index 9428dd7a5..9d440b283 100644 --- a/src/Cuemon.Core/Extensions/Collections/Generic/CollectionDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Collections/Generic/CollectionDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs index f359bc673..9b3aea6a3 100644 --- a/src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Extensions/Collections/Specialized/DictionaryDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Collections/Specialized/DictionaryDecoratorExtensions.cs index 5a862b6e4..f23a4ccb4 100644 --- a/src/Cuemon.Core/Extensions/Collections/Specialized/DictionaryDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Collections/Specialized/DictionaryDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/Cuemon.Core/Extensions/DateTimeDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/DateTimeDecoratorExtensions.cs index dbd3d61bf..29c5fdfde 100644 --- a/src/Cuemon.Core/Extensions/DateTimeDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/DateTimeDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/Extensions/DelegateDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/DelegateDecoratorExtensions.cs index ecf6387c1..b85c143aa 100644 --- a/src/Cuemon.Core/Extensions/DelegateDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/DelegateDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon; diff --git a/src/Cuemon.Core/Extensions/DoubleDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/DoubleDecoratorExtensions.cs index efcb3af54..a214c9d59 100644 --- a/src/Cuemon.Core/Extensions/DoubleDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/DoubleDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace Cuemon; diff --git a/src/Cuemon.Core/Extensions/ExceptionDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/ExceptionDecoratorExtensions.cs index d9dfd3363..6c0d3323a 100644 --- a/src/Cuemon.Core/Extensions/ExceptionDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/ExceptionDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Extensions/IntegerDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/IntegerDecoratorExtensions.cs index 0a8c09fb7..3297dfab4 100644 --- a/src/Cuemon.Core/Extensions/IntegerDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/IntegerDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/Extensions/ObjectDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/ObjectDecoratorExtensions.cs index 7f410b7a6..e0db16c20 100644 --- a/src/Cuemon.Core/Extensions/ObjectDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/ObjectDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Core/Extensions/Reflection/AssemblyDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Reflection/AssemblyDecoratorExtensions.cs index 058cfe908..9edf637ed 100644 --- a/src/Cuemon.Core/Extensions/Reflection/AssemblyDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Reflection/AssemblyDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Cuemon.Core/Extensions/Reflection/MemberInfoDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Reflection/MemberInfoDecoratorExtensions.cs index e7d7e8a04..e9cf9aa51 100644 --- a/src/Cuemon.Core/Extensions/Reflection/MemberInfoDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Reflection/MemberInfoDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon.Reflection; diff --git a/src/Cuemon.Core/Extensions/Reflection/MethodInfoDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Reflection/MethodInfoDecoratorExtensions.cs index 70738eadb..86d210e04 100644 --- a/src/Cuemon.Core/Extensions/Reflection/MethodInfoDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Reflection/MethodInfoDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon.Reflection; diff --git a/src/Cuemon.Core/Extensions/Reflection/PropertyInfoDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/Reflection/PropertyInfoDecoratorExtensions.cs index 715398d93..fdb8e3a66 100644 --- a/src/Cuemon.Core/Extensions/Reflection/PropertyInfoDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/Reflection/PropertyInfoDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; diff --git a/src/Cuemon.Core/Extensions/StringDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/StringDecoratorExtensions.cs index a15e6c608..a25b8e4fc 100644 --- a/src/Cuemon.Core/Extensions/StringDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/StringDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs b/src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs index 099b2be4e..467229967 100644 --- a/src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs +++ b/src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Cuemon.Core/FuncFactory.cs b/src/Cuemon.Core/FuncFactory.cs index e95ae50db..572c08bd7 100644 --- a/src/Cuemon.Core/FuncFactory.cs +++ b/src/Cuemon.Core/FuncFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/Generate.cs b/src/Cuemon.Core/Generate.cs index 58a1f1ea8..8f008ec9c 100644 --- a/src/Cuemon.Core/Generate.cs +++ b/src/Cuemon.Core/Generate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/src/Cuemon.Core/GlobalSuppressions.cs b/src/Cuemon.Core/GlobalSuppressions.cs index 0d23b4d16..5f405f009 100644 --- a/src/Cuemon.Core/GlobalSuppressions.cs +++ b/src/Cuemon.Core/GlobalSuppressions.cs @@ -4,31 +4,8 @@ // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("Major Code Smell", "S3881:\"IDisposable\" should be implemented correctly", Justification = "This is a base class implementation of the IDisposable interface tailored to avoid wrong implementations.", Scope = "type", Target = "~T:Cuemon.Disposable")] [assembly: SuppressMessage("Minor Code Smell", "S1128:Unused \"using\" should be removed", Justification = "It is actually used when resolving extension method from System.Collections.Generic; SC just can't figure this out.")] -[assembly: SuppressMessage("Critical Code Smell", "S3776:Cognitive Complexity of methods should not be too high", Justification = "By design.", Scope = "member", Target = "~F:Cuemon.Convertible.EndianSensitiveByteArrayConverters")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`10")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`11")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`12")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`13")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`14")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`15")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`16")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`17")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`18")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "A Func designed for the Tester pattern. Microsoft allows 17 arguments in there Func impl; so do i here.", Scope = "type", Target = "~T:Cuemon.TesterFunc`9")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; think about it as a Tuple/Variadic - but for TesterFunc delegates.", Scope = "type", Target = "~T:Cuemon.TesterFuncFactory`3")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions)..", Scope = "member", Target = "~M:Cuemon.Patterns.SafeInvoke``6(System.Func{``5},System.Func{``5,``0,``1,``2,``3,``4,``5},``0,``1,``2,``3,``4,System.Action{System.Exception,``0,``1,``2,``3,``4})~``5")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions)..", Scope = "member", Target = "~M:Cuemon.Patterns.SafeInvoke``4(System.Func{``3},System.Func{``3,``0,``1,``2,``3},``0,``1,``2,System.Action{System.Exception,``0,``1,``2})~``3")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions)..", Scope = "member", Target = "~M:Cuemon.Patterns.SafeInvoke``5(System.Func{``4},System.Func{``4,``0,``1,``2,``3,``4},``0,``1,``2,``3,System.Action{System.Exception,``0,``1,``2,``3})~``4")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions)..", Scope = "member", Target = "~M:Cuemon.Patterns.SafeInvoke``6(System.Func{``5},System.Func{``5,``0,``1,``2,``3,``4,``5},``0,``1,``2,``3,``4,System.Action{System.Exception,``0,``1,``2,``3,``4})~``5")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.FlipFlop``4(System.Boolean,System.Action{``0,``1,``2,``3},System.Action{``0,``1,``2,``3},``0,``1,``2,``3)")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.FlipFlop``5(System.Boolean,System.Action{``0,``1,``2,``3,``4},System.Action{``0,``1,``2,``3,``4},``0,``1,``2,``3,``4)")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.FlipFlop``5(System.Boolean,System.Action{``0,``1,``2,``3,``4},System.Action{``0,``1,``2,``3,``4},``0,``1,``2,``3,``4)")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.TernaryIf``4(System.Boolean,System.Func{``0,``1,``2,``3},System.Func{``0,``1,``2,``3},``0,``1,``2)~``3")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.TernaryIf``5(System.Boolean,System.Func{``0,``1,``2,``3,``4},System.Func{``0,``1,``2,``3,``4},``0,``1,``2,``3)~``4")] -[assembly: SuppressMessage("Major Code Smell", "S107:Methods should not have too many parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.TernaryIf``6(System.Boolean,System.Func{``0,``1,``2,``3,``4,``5},System.Func{``0,``1,``2,``3,``4,``5},``0,``1,``2,``3,``4)~``5")] -[assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Condition.TernaryIf``6(System.Boolean,System.Func{``0,``1,``2,``3,``4,``5},System.Func{``0,``1,``2,``3,``4,``5},``0,``1,``2,``3,``4)~``5")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Reflection.ActivatorFactory.CreateInstance``4(``0,``1,``2,System.Action{Cuemon.Reflection.ActivatorOptions})~``3")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Reflection.ActivatorFactory.CreateInstance``5(``0,``1,``2,``3,System.Action{Cuemon.Reflection.ActivatorOptions})~``4")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow up till 5 arguments (more under certain conditions).", Scope = "member", Target = "~M:Cuemon.Reflection.ActivatorFactory.CreateInstance``6(``0,``1,``2,``3,``4,System.Action{Cuemon.Reflection.ActivatorOptions})~``5")] @@ -37,17 +14,12 @@ [assembly: SuppressMessage("Major Code Smell", "S3011:Reflection should not be used to increase accessibility of classes, methods, or fields", Justification = "By design.", Scope = "member", Target = "~M:Cuemon.Reflection.MemberReflection.#ctor(System.Action{Cuemon.Reflection.MemberReflectionOptions})")] [assembly: SuppressMessage("Major Code Smell", "S3011:Reflection should not be used to increase accessibility of classes, methods, or fields", Justification = "By design.", Scope = "member", Target = "~M:Cuemon.Globalization.ResourceAttribute.GetString(System.String)~System.String")] [assembly: SuppressMessage("Style", "IDE0220:Add explicit cast", Justification = "False-Positive", Scope = "member", Target = "~M:Cuemon.StringReplaceEngine.RenderReplacement~System.String")] -[assembly: SuppressMessage("Minor Code Smell", "S3236:Caller information arguments should not be provided explicitly", Justification = "By design - and unit tested to that no information is lost.", Scope = "member", Target = "~M:Cuemon.Decorator`1.#ctor(`0,System.Boolean,System.String)")] [assembly: SuppressMessage("Critical Code Smell", "S3776:Cognitive Complexity of methods should not be too high", Justification = "Acceptable.", Scope = "member", Target = "~M:Cuemon.Text.ParserFactory.FromValueType~Cuemon.Text.IConfigurableParser{System.Object,Cuemon.FormattingOptions}")] [assembly: SuppressMessage("Critical Code Smell", "S3776:Cognitive Complexity of methods should not be too high", Justification = "Acceptable.", Scope = "member", Target = "~M:Cuemon.Reflection.MemberArgumentDecoratorExtensions.CreateException(Cuemon.IDecorator{System.Collections.Generic.Stack{System.Collections.Generic.IList{Cuemon.Reflection.MemberArgument}}},System.Boolean)~System.Exception")] -[assembly: SuppressMessage("Minor Code Smell", "S3236:Caller information arguments should not be provided explicitly", Justification = "False positive; IDecorator support overriding argument name used together with Decorator.EncloseToExpose.", Scope = "member", Target = "~M:Cuemon.Validator.ThrowIfNull``1(Cuemon.IDecorator{``0},``0@,System.String,System.String)")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "Intentional as these embark on IDecorator.", Scope = "namespace", Target = "~N:Cuemon")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "Intentional as these embark on IDecorator.", Scope = "namespace", Target = "~N:Cuemon.Collections.Generic")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "Intentional as these embark on IDecorator.", Scope = "namespace", Target = "~N:Cuemon.Collections.Specialized")] -[assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "Intentional as these embark on IDecorator.", Scope = "namespace", Target = "~N:Cuemon.IO")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "Intentional as these embark on IDecorator.", Scope = "namespace", Target = "~N:Cuemon.Reflection")] -[assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "By design. To support pre-net9.0.", Scope = "namespace", Target = "~N:System.Threading")] -[assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "By design. To support pre-netcoreapp3.0.", Scope = "namespace", Target = "~N:System.Runtime.CompilerServices")] [assembly: SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "Consistent with Comparer.Default implementation.", Scope = "member", Target = "~P:Cuemon.Collections.Generic.EnumerableSizeComparer`1.Default")] [assembly: SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "Consistent with Comparer.Default implementation.", Scope = "member", Target = "~P:Cuemon.Collections.Generic.ReferenceComparer`1.Default")] [assembly: SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "By design; supports consistent developer experience for all formatters, e.g., SerializeObject/DeserializeObject.", Scope = "member", Target = "~M:Cuemon.Runtime.Serialization.Formatters.StreamFormatter`1.DeserializeObject(System.IO.Stream,System.Type)~System.Object")] @@ -62,10 +34,8 @@ [assembly: SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "By design; supports consistent developer experience for all formatters, e.g., SerializeObject/DeserializeObject.", Scope = "member", Target = "~M:Cuemon.Runtime.Serialization.Formatters.StreamFormatter`1.SerializeObject(System.Object,System.Type)~System.IO.Stream")] [assembly: SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "By design; supports consistent developer experience for all formatters, e.g., SerializeObject/DeserializeObject.", Scope = "member", Target = "~M:Cuemon.Runtime.Serialization.Formatters.StreamFormatter`1.SerializeObject(System.Object,System.Type,`0)~System.IO.Stream")] [assembly: SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "By design; supports consistent developer experience for all formatters, e.g., SerializeObject/DeserializeObject.", Scope = "member", Target = "~M:Cuemon.Runtime.Serialization.Formatters.StreamFormatter`1.SerializeObject(System.Object,System.Type,System.Action{`0})~System.IO.Stream")] -[assembly: SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "False-Positive. Overload exists.", Scope = "member", Target = "~M:Cuemon.DateSpan.Parse(System.String)~Cuemon.DateSpan")] [assembly: SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "Intentionally written for only en-US support.", Scope = "member", Target = "~M:Cuemon.Reflection.MemberArgumentDecoratorExtensions.CreateException(Cuemon.IDecorator{System.Collections.Generic.Stack{System.Collections.Generic.IList{Cuemon.Reflection.MemberArgument}}},System.Boolean)~System.Exception")] [assembly: SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Justification = "Explicit implementation.", Scope = "type", Target = "~T:Cuemon.Diagnostics.Failure")] -[assembly: SuppressMessage("Reliability", "CA2022:Avoid inexact read with 'Stream.Read'", Justification = "Byteordermark - best effort.", Scope = "member", Target = "~M:Cuemon.Text.ByteOrderMark.TryDetectEncoding(System.IO.Stream,System.Text.Encoding@)~System.Boolean")] [assembly: SuppressMessage("Style", "IDE0005:Using directive is unnecessary.", Justification = "False-positive; needed for TFM netstandard2.0.")] [assembly: SuppressMessage("Major Code Smell", "S110:Inheritance tree of classes should not be too deep", Justification = "By design; allow to exceed generic arguments recommendation.", Scope = "type", Target = "~T:Cuemon.MutableTuple`10")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow to exceed generic arguments recommendation.", Scope = "type", Target = "~T:Cuemon.MutableTuple`10")] diff --git a/src/Cuemon.Core/Globalization/ResourceAttribute.cs b/src/Cuemon.Core/Globalization/ResourceAttribute.cs index bce480260..4d860cfdc 100644 --- a/src/Cuemon.Core/Globalization/ResourceAttribute.cs +++ b/src/Cuemon.Core/Globalization/ResourceAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Reflection; diff --git a/src/Cuemon.Core/Messaging/CorrelationToken.cs b/src/Cuemon.Core/Messaging/CorrelationToken.cs index 456020be7..a5e61d1f5 100644 --- a/src/Cuemon.Core/Messaging/CorrelationToken.cs +++ b/src/Cuemon.Core/Messaging/CorrelationToken.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Messaging; /// diff --git a/src/Cuemon.Core/Messaging/ICorrelationToken.cs b/src/Cuemon.Core/Messaging/ICorrelationToken.cs index eadff91d9..b21fcb431 100644 --- a/src/Cuemon.Core/Messaging/ICorrelationToken.cs +++ b/src/Cuemon.Core/Messaging/ICorrelationToken.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Messaging; +namespace Cuemon.Messaging; /// /// Provides a Correlation ID (also known as a Request ID) that is a unique identifier which is attached to requests and messages that allow reference to a particular transaction or event chain. /// diff --git a/src/Cuemon.Core/Messaging/IRequestToken.cs b/src/Cuemon.Core/Messaging/IRequestToken.cs index 0a6541fc3..5aa2e0b8a 100644 --- a/src/Cuemon.Core/Messaging/IRequestToken.cs +++ b/src/Cuemon.Core/Messaging/IRequestToken.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Messaging; +namespace Cuemon.Messaging; /// /// Provides a Request ID that is a unique identifier which is attached to requests and messages that allow reference to a particular transaction. /// diff --git a/src/Cuemon.Core/Messaging/RequestToken.cs b/src/Cuemon.Core/Messaging/RequestToken.cs index 2536b06fd..df3e084c9 100644 --- a/src/Cuemon.Core/Messaging/RequestToken.cs +++ b/src/Cuemon.Core/Messaging/RequestToken.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Messaging; /// diff --git a/src/Cuemon.Core/MutableTuple.cs b/src/Cuemon.Core/MutableTuple.cs index 347bb41e7..32c9b9fa4 100644 --- a/src/Cuemon.Core/MutableTuple.cs +++ b/src/Cuemon.Core/MutableTuple.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Collections.Generic; namespace Cuemon; diff --git a/src/Cuemon.Core/MutableTupleFactory.cs b/src/Cuemon.Core/MutableTupleFactory.cs index 34d02f82f..ea453ad8b 100644 --- a/src/Cuemon.Core/MutableTupleFactory.cs +++ b/src/Cuemon.Core/MutableTupleFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Reflection; diff --git a/src/Cuemon.Core/Net/Http/HttpAuthenticationSchemes.cs b/src/Cuemon.Core/Net/Http/HttpAuthenticationSchemes.cs index 891d257f8..9770f77ba 100644 --- a/src/Cuemon.Core/Net/Http/HttpAuthenticationSchemes.cs +++ b/src/Cuemon.Core/Net/Http/HttpAuthenticationSchemes.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Net.Http; +namespace Cuemon.Net.Http; /// /// Defines constants for well-known HTTP authentication schemes. /// diff --git a/src/Cuemon.Core/Net/Http/IContentNegotiation.cs b/src/Cuemon.Core/Net/Http/IContentNegotiation.cs index b16f6c9b8..ee6c51367 100644 --- a/src/Cuemon.Core/Net/Http/IContentNegotiation.cs +++ b/src/Cuemon.Core/Net/Http/IContentNegotiation.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Net.Http.Headers; namespace Cuemon.Net.Http; diff --git a/src/Cuemon.Core/ObjectFormattingOptions.cs b/src/Cuemon.Core/ObjectFormattingOptions.cs index 2f817f22a..f17f41e7b 100644 --- a/src/Cuemon.Core/ObjectFormattingOptions.cs +++ b/src/Cuemon.Core/ObjectFormattingOptions.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Globalization; using Cuemon.Text; diff --git a/src/Cuemon.Core/ObjectPortrayalOptions.cs b/src/Cuemon.Core/ObjectPortrayalOptions.cs index d559cc591..be09f95f1 100644 --- a/src/Cuemon.Core/ObjectPortrayalOptions.cs +++ b/src/Cuemon.Core/ObjectPortrayalOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Reflection; diff --git a/src/Cuemon.Core/Properties/AssemblyInfo.cs b/src/Cuemon.Core/Properties/AssemblyInfo.cs index 8f5893525..85c554583 100644 --- a/src/Cuemon.Core/Properties/AssemblyInfo.cs +++ b/src/Cuemon.Core/Properties/AssemblyInfo.cs @@ -1,86 +1,4 @@ -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using Cuemon; -using Cuemon.Collections.Generic; -using Cuemon.Configuration; -using Cuemon.IO; -using Cuemon.Text; -using Cuemon.Threading; [assembly: ComVisible(false)] [assembly: Guid("989939cf-cef2-4e23-8bce-725255e35ce6")] -[assembly: TypeForwardedTo(typeof(Alphanumeric))] -[assembly: TypeForwardedTo(typeof(ArgumentReservedKeywordException))] -[assembly: TypeForwardedTo(typeof(Arguments))] -[assembly: TypeForwardedTo(typeof(AsyncOptions))] -[assembly: TypeForwardedTo(typeof(AsyncRunOptions))] -[assembly: TypeForwardedTo(typeof(Awaiter))] -[assembly: TypeForwardedTo(typeof(ByteOrderMark))] -[assembly: TypeForwardedTo(typeof(CasingMethod))] -[assembly: TypeForwardedTo(typeof(Condition))] -[assembly: TypeForwardedTo(typeof(ConditionalValue))] -[assembly: TypeForwardedTo(typeof(ConditionalValue<>))] -[assembly: TypeForwardedTo(typeof(Convertible))] -[assembly: TypeForwardedTo(typeof(ConvertibleConverterDictionary))] -[assembly: TypeForwardedTo(typeof(ConvertibleOptions))] -[assembly: TypeForwardedTo(typeof(Decorator))] -[assembly: TypeForwardedTo(typeof(Decorator<>))] -[assembly: TypeForwardedTo(typeof(Disposable))] -[assembly: TypeForwardedTo(typeof(DisposableOptions))] -[assembly: TypeForwardedTo(typeof(EndianOptions))] -[assembly: TypeForwardedTo(typeof(EncodingOptions))] -[assembly: TypeForwardedTo(typeof(Endianness))] -[assembly: TypeForwardedTo(typeof(EnumStringOptions))] -[assembly: TypeForwardedTo(typeof(ExceptionCondition<>))] -[assembly: TypeForwardedTo(typeof(ExceptionHandler<>))] -[assembly: TypeForwardedTo(typeof(ExceptionHandler<,>))] -[assembly: TypeForwardedTo(typeof(ExceptionInvoker<>))] -[assembly: TypeForwardedTo(typeof(ExceptionInvoker<,>))] -[assembly: TypeForwardedTo(typeof(FallbackEncodingOptions))] -[assembly: TypeForwardedTo(typeof(FinalizeDisposable))] -[assembly: TypeForwardedTo(typeof(GuidFormats))] -[assembly: TypeForwardedTo(typeof(IAsyncOptions))] -[assembly: TypeForwardedTo(typeof(IConfigurableParser<>))] -[assembly: TypeForwardedTo(typeof(IConfigurableParser<,>))] -[assembly: TypeForwardedTo(typeof(IDecorator<>))] -[assembly: TypeForwardedTo(typeof(IEncodingOptions))] -[assembly: TypeForwardedTo(typeof(IParameterObject))] -[assembly: TypeForwardedTo(typeof(IParser))] -[assembly: TypeForwardedTo(typeof(IParser<>))] -[assembly: TypeForwardedTo(typeof(IPostConfigurableParameterObject))] -[assembly: TypeForwardedTo(typeof(IValidatableParameterObject))] -[assembly: TypeForwardedTo(typeof(Patterns))] -[assembly: TypeForwardedTo(typeof(PreambleSequence))] -[assembly: TypeForwardedTo(typeof(ProtocolRelativeUriStringOptions))] -[assembly: TypeForwardedTo(typeof(StreamDecoratorExtensions))] -[assembly: TypeForwardedTo(typeof(SuccessfulValue))] -[assembly: TypeForwardedTo(typeof(SuccessfulValue<>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TesterFunc<,,,,,,,,,,,,,,,,,>))] -[assembly: TypeForwardedTo(typeof(TypeArgumentException))] -[assembly: TypeForwardedTo(typeof(TypeArgumentOutOfRangeException))] -[assembly: TypeForwardedTo(typeof(UnsuccessfulValue))] -[assembly: TypeForwardedTo(typeof(UnsuccessfulValue<>))] -[assembly: TypeForwardedTo(typeof(UriScheme))] -[assembly: TypeForwardedTo(typeof(UriStringOptions))] -[assembly: TypeForwardedTo(typeof(Validator))] -[assembly: TypeForwardedTo(typeof(IConfigurable<>))] -[assembly: TypeForwardedTo(typeof(Configurable<>))] -#if !NETCOREAPP3_0_OR_GREATER -[assembly: TypeForwardedTo(typeof(CallerArgumentExpressionAttribute))] -#endif diff --git a/src/Cuemon.Core/Reflection/ActivatorFactory.cs b/src/Cuemon.Core/Reflection/ActivatorFactory.cs index 9652aac06..7b8e279c8 100644 --- a/src/Cuemon.Core/Reflection/ActivatorFactory.cs +++ b/src/Cuemon.Core/Reflection/ActivatorFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Reflection; diff --git a/src/Cuemon.Core/Reflection/ActivatorOptions.cs b/src/Cuemon.Core/Reflection/ActivatorOptions.cs index be9cb5537..30cd4b7b8 100644 --- a/src/Cuemon.Core/Reflection/ActivatorOptions.cs +++ b/src/Cuemon.Core/Reflection/ActivatorOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon.Reflection; diff --git a/src/Cuemon.Core/Reflection/AssemblyContext.cs b/src/Cuemon.Core/Reflection/AssemblyContext.cs index a39de2a62..3d7add092 100644 --- a/src/Cuemon.Core/Reflection/AssemblyContext.cs +++ b/src/Cuemon.Core/Reflection/AssemblyContext.cs @@ -72,7 +72,7 @@ private static IEnumerable GetReferencedAssemblies(Assembly assembly, private static bool TryPop(Stack stack, out Assembly assembly) { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return stack.TryPop(out assembly); #else return Decorator.RawEnclose(stack).TryPop(out assembly); diff --git a/src/Cuemon.Core/Reflection/ManifestResourceMatch.cs b/src/Cuemon.Core/Reflection/ManifestResourceMatch.cs index c060c7a1b..f1320b82e 100644 --- a/src/Cuemon.Core/Reflection/ManifestResourceMatch.cs +++ b/src/Cuemon.Core/Reflection/ManifestResourceMatch.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Reflection; +namespace Cuemon.Reflection; /// /// Specifies the way of finding and returning an embedded resource. /// diff --git a/src/Cuemon.Core/Reflection/MemberArgument.cs b/src/Cuemon.Core/Reflection/MemberArgument.cs index 7132721c6..3bdb191a5 100644 --- a/src/Cuemon.Core/Reflection/MemberArgument.cs +++ b/src/Cuemon.Core/Reflection/MemberArgument.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Reflection; /// /// Represent the argument given to a member in the context of reflection. diff --git a/src/Cuemon.Core/Reflection/MemberParser.cs b/src/Cuemon.Core/Reflection/MemberParser.cs index 4b27b4ad1..11de0cc4d 100644 --- a/src/Cuemon.Core/Reflection/MemberParser.cs +++ b/src/Cuemon.Core/Reflection/MemberParser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/src/Cuemon.Core/Reflection/MemberReflection.cs b/src/Cuemon.Core/Reflection/MemberReflection.cs index bdefb1938..db7115de0 100644 --- a/src/Cuemon.Core/Reflection/MemberReflection.cs +++ b/src/Cuemon.Core/Reflection/MemberReflection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon.Reflection; diff --git a/src/Cuemon.Core/Reflection/MemberReflectionOptions.cs b/src/Cuemon.Core/Reflection/MemberReflectionOptions.cs index 30837bb8d..4b9c29298 100644 --- a/src/Cuemon.Core/Reflection/MemberReflectionOptions.cs +++ b/src/Cuemon.Core/Reflection/MemberReflectionOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.Reflection; /// diff --git a/src/Cuemon.Core/Reflection/MethodBaseOptions.cs b/src/Cuemon.Core/Reflection/MethodBaseOptions.cs index bab7bb448..bfd3b94e7 100644 --- a/src/Cuemon.Core/Reflection/MethodBaseOptions.cs +++ b/src/Cuemon.Core/Reflection/MethodBaseOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Configuration; diff --git a/src/Cuemon.Core/Reflection/MethodDescriptor.cs b/src/Cuemon.Core/Reflection/MethodDescriptor.cs index 7f2df3578..2e9202e78 100644 --- a/src/Cuemon.Core/Reflection/MethodDescriptor.cs +++ b/src/Cuemon.Core/Reflection/MethodDescriptor.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; diff --git a/src/Cuemon.Core/Reflection/MethodSignature.cs b/src/Cuemon.Core/Reflection/MethodSignature.cs index 3dcb97c0f..2675a8dd0 100644 --- a/src/Cuemon.Core/Reflection/MethodSignature.cs +++ b/src/Cuemon.Core/Reflection/MethodSignature.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Reflection; +namespace Cuemon.Reflection; /// /// Represent the signature of a method in a lightweight format. /// diff --git a/src/Cuemon.Core/Reflection/ParameterSignature.cs b/src/Cuemon.Core/Reflection/ParameterSignature.cs index ce7deec61..3b5c38dc5 100644 --- a/src/Cuemon.Core/Reflection/ParameterSignature.cs +++ b/src/Cuemon.Core/Reflection/ParameterSignature.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; diff --git a/src/Cuemon.Core/Reflection/TypeNameOptions.cs b/src/Cuemon.Core/Reflection/TypeNameOptions.cs index ffe6719d2..8addf2f65 100644 --- a/src/Cuemon.Core/Reflection/TypeNameOptions.cs +++ b/src/Cuemon.Core/Reflection/TypeNameOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace Cuemon.Reflection; diff --git a/src/Cuemon.Core/Reflection/VersionResult.cs b/src/Cuemon.Core/Reflection/VersionResult.cs index e7e0ec94c..ed1015e8d 100644 --- a/src/Cuemon.Core/Reflection/VersionResult.cs +++ b/src/Cuemon.Core/Reflection/VersionResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Reflection; diff --git a/src/Cuemon.Core/Resilience/TransientFaultEvidence.cs b/src/Cuemon.Core/Resilience/TransientFaultEvidence.cs index 6c5fb177a..16b4b2f44 100644 --- a/src/Cuemon.Core/Resilience/TransientFaultEvidence.cs +++ b/src/Cuemon.Core/Resilience/TransientFaultEvidence.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.Reflection; diff --git a/src/Cuemon.Core/Resilience/TransientFaultException.cs b/src/Cuemon.Core/Resilience/TransientFaultException.cs index 57ab0bb22..10a75a19d 100644 --- a/src/Cuemon.Core/Resilience/TransientFaultException.cs +++ b/src/Cuemon.Core/Resilience/TransientFaultException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Resilience; /// diff --git a/src/Cuemon.Core/Runtime/Dependency.cs b/src/Cuemon.Core/Runtime/Dependency.cs index 2825357db..57e91ad86 100644 --- a/src/Cuemon.Core/Runtime/Dependency.cs +++ b/src/Cuemon.Core/Runtime/Dependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; @@ -11,7 +11,7 @@ public abstract class Dependency : IDependency { private IEnumerable _watchers; private readonly Func, IEnumerable> _watchersHandler; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly System.Threading.Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Core/Runtime/DependencyEventArgs.cs b/src/Cuemon.Core/Runtime/DependencyEventArgs.cs index bbbc4589e..20e576d10 100644 --- a/src/Cuemon.Core/Runtime/DependencyEventArgs.cs +++ b/src/Cuemon.Core/Runtime/DependencyEventArgs.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Runtime; /// diff --git a/src/Cuemon.Core/Runtime/FileDependency.cs b/src/Cuemon.Core/Runtime/FileDependency.cs index c19f4a2b6..18c041865 100644 --- a/src/Cuemon.Core/Runtime/FileDependency.cs +++ b/src/Cuemon.Core/Runtime/FileDependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Runtime/FileWatcher.cs b/src/Cuemon.Core/Runtime/FileWatcher.cs index 6669abd49..993aafe77 100644 --- a/src/Cuemon.Core/Runtime/FileWatcher.cs +++ b/src/Cuemon.Core/Runtime/FileWatcher.cs @@ -10,7 +10,7 @@ namespace Cuemon.Runtime; /// public class FileWatcher : Watcher { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly System.Threading.Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Core/Runtime/IDependency.cs b/src/Cuemon.Core/Runtime/IDependency.cs index 09eb0dddc..0c9d03abc 100644 --- a/src/Cuemon.Core/Runtime/IDependency.cs +++ b/src/Cuemon.Core/Runtime/IDependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; namespace Cuemon.Runtime; diff --git a/src/Cuemon.Core/Runtime/IWatcher.cs b/src/Cuemon.Core/Runtime/IWatcher.cs index cf61a72e3..e941b1a01 100644 --- a/src/Cuemon.Core/Runtime/IWatcher.cs +++ b/src/Cuemon.Core/Runtime/IWatcher.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Runtime; /// diff --git a/src/Cuemon.Core/Runtime/Serialization/Formatters/Formatter.cs b/src/Cuemon.Core/Runtime/Serialization/Formatters/Formatter.cs index bc307e281..e5f68fc0e 100644 --- a/src/Cuemon.Core/Runtime/Serialization/Formatters/Formatter.cs +++ b/src/Cuemon.Core/Runtime/Serialization/Formatters/Formatter.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Runtime.Serialization.Formatters; /// diff --git a/src/Cuemon.Core/Runtime/Serialization/Formatters/StreamFormatter.cs b/src/Cuemon.Core/Runtime/Serialization/Formatters/StreamFormatter.cs index 63dabfb30..2224e97a5 100644 --- a/src/Cuemon.Core/Runtime/Serialization/Formatters/StreamFormatter.cs +++ b/src/Cuemon.Core/Runtime/Serialization/Formatters/StreamFormatter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Cuemon.Core/Runtime/Watcher.cs b/src/Cuemon.Core/Runtime/Watcher.cs index 583fad03d..aa164567e 100644 --- a/src/Cuemon.Core/Runtime/Watcher.cs +++ b/src/Cuemon.Core/Runtime/Watcher.cs @@ -9,7 +9,7 @@ namespace Cuemon.Runtime; /// public abstract class Watcher : Disposable, IWatcher { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Core/Runtime/WatcherEventArgs.cs b/src/Cuemon.Core/Runtime/WatcherEventArgs.cs index 3f1885b88..16744cee1 100644 --- a/src/Cuemon.Core/Runtime/WatcherEventArgs.cs +++ b/src/Cuemon.Core/Runtime/WatcherEventArgs.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Runtime; /// diff --git a/src/Cuemon.Core/Runtime/WatcherOptions.cs b/src/Cuemon.Core/Runtime/WatcherOptions.cs index 27ec21c8a..2a14d300c 100644 --- a/src/Cuemon.Core/Runtime/WatcherOptions.cs +++ b/src/Cuemon.Core/Runtime/WatcherOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.Runtime; diff --git a/src/Cuemon.Core/Security/CyclicRedundancyCheck.cs b/src/Cuemon.Core/Security/CyclicRedundancyCheck.cs index 11c16ad59..08caa6e0d 100644 --- a/src/Cuemon.Core/Security/CyclicRedundancyCheck.cs +++ b/src/Cuemon.Core/Security/CyclicRedundancyCheck.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Security; diff --git a/src/Cuemon.Core/Security/CyclicRedundancyCheck32.cs b/src/Cuemon.Core/Security/CyclicRedundancyCheck32.cs index 67f99c3f7..9711467e2 100644 --- a/src/Cuemon.Core/Security/CyclicRedundancyCheck32.cs +++ b/src/Cuemon.Core/Security/CyclicRedundancyCheck32.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security; /// diff --git a/src/Cuemon.Core/Security/CyclicRedundancyCheck64.cs b/src/Cuemon.Core/Security/CyclicRedundancyCheck64.cs index 5fd77e0e4..178c4e0ea 100644 --- a/src/Cuemon.Core/Security/CyclicRedundancyCheck64.cs +++ b/src/Cuemon.Core/Security/CyclicRedundancyCheck64.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security; /// diff --git a/src/Cuemon.Core/Security/CyclicRedundancyCheckAlgorithm.cs b/src/Cuemon.Core/Security/CyclicRedundancyCheckAlgorithm.cs index 74e55b348..4ad368ea1 100644 --- a/src/Cuemon.Core/Security/CyclicRedundancyCheckAlgorithm.cs +++ b/src/Cuemon.Core/Security/CyclicRedundancyCheckAlgorithm.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security; +namespace Cuemon.Security; /// /// Different models of the CRC algorithm family. /// diff --git a/src/Cuemon.Core/Security/CyclicRedundancyCheckOptions.cs b/src/Cuemon.Core/Security/CyclicRedundancyCheckOptions.cs index 8a765402d..2d87f21c7 100644 --- a/src/Cuemon.Core/Security/CyclicRedundancyCheckOptions.cs +++ b/src/Cuemon.Core/Security/CyclicRedundancyCheckOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security; +namespace Cuemon.Security; /// /// Configuration options for . /// diff --git a/src/Cuemon.Core/Security/FowlerNollVo1024.cs b/src/Cuemon.Core/Security/FowlerNollVo1024.cs index 977fccb00..af63028f8 100644 --- a/src/Cuemon.Core/Security/FowlerNollVo1024.cs +++ b/src/Cuemon.Core/Security/FowlerNollVo1024.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Numerics; diff --git a/src/Cuemon.Core/Security/FowlerNollVo128.cs b/src/Cuemon.Core/Security/FowlerNollVo128.cs index 289686222..5d3c6422a 100644 --- a/src/Cuemon.Core/Security/FowlerNollVo128.cs +++ b/src/Cuemon.Core/Security/FowlerNollVo128.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Numerics; diff --git a/src/Cuemon.Core/Security/FowlerNollVo256.cs b/src/Cuemon.Core/Security/FowlerNollVo256.cs index 0a16fcc82..45ae4c46a 100644 --- a/src/Cuemon.Core/Security/FowlerNollVo256.cs +++ b/src/Cuemon.Core/Security/FowlerNollVo256.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Numerics; diff --git a/src/Cuemon.Core/Security/FowlerNollVo32.cs b/src/Cuemon.Core/Security/FowlerNollVo32.cs index 30eef0c27..d01ac18c5 100644 --- a/src/Cuemon.Core/Security/FowlerNollVo32.cs +++ b/src/Cuemon.Core/Security/FowlerNollVo32.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Numerics; diff --git a/src/Cuemon.Core/Security/FowlerNollVo512.cs b/src/Cuemon.Core/Security/FowlerNollVo512.cs index ce0866e16..b89e1a073 100644 --- a/src/Cuemon.Core/Security/FowlerNollVo512.cs +++ b/src/Cuemon.Core/Security/FowlerNollVo512.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Numerics; diff --git a/src/Cuemon.Core/Security/FowlerNollVo64.cs b/src/Cuemon.Core/Security/FowlerNollVo64.cs index ee46c33d1..54784bb19 100644 --- a/src/Cuemon.Core/Security/FowlerNollVo64.cs +++ b/src/Cuemon.Core/Security/FowlerNollVo64.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Numerics; diff --git a/src/Cuemon.Core/Security/FowlerNollVoAlgorithm.cs b/src/Cuemon.Core/Security/FowlerNollVoAlgorithm.cs index 0b88833a6..a8bd44aaf 100644 --- a/src/Cuemon.Core/Security/FowlerNollVoAlgorithm.cs +++ b/src/Cuemon.Core/Security/FowlerNollVoAlgorithm.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security; +namespace Cuemon.Security; /// /// Defines the algorithms of the Fowler-Noll-Vo hash function. /// diff --git a/src/Cuemon.Core/Security/FowlerNollVoHash.cs b/src/Cuemon.Core/Security/FowlerNollVoHash.cs index da261afb6..03e750451 100644 --- a/src/Cuemon.Core/Security/FowlerNollVoHash.cs +++ b/src/Cuemon.Core/Security/FowlerNollVoHash.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; namespace Cuemon.Security; diff --git a/src/Cuemon.Core/Security/FowlerNollVoOptions.cs b/src/Cuemon.Core/Security/FowlerNollVoOptions.cs index 4771102f1..b6886f52b 100644 --- a/src/Cuemon.Core/Security/FowlerNollVoOptions.cs +++ b/src/Cuemon.Core/Security/FowlerNollVoOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security; +namespace Cuemon.Security; /// /// Configuration options for . /// diff --git a/src/Cuemon.Core/Security/Hash.cs b/src/Cuemon.Core/Security/Hash.cs index e082851ef..b55ce7297 100644 --- a/src/Cuemon.Core/Security/Hash.cs +++ b/src/Cuemon.Core/Security/Hash.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Core/Security/HashFactory.cs b/src/Cuemon.Core/Security/HashFactory.cs index 12f5b37c3..8c5e40915 100644 --- a/src/Cuemon.Core/Security/HashFactory.cs +++ b/src/Cuemon.Core/Security/HashFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security; /// diff --git a/src/Cuemon.Core/Security/HashResult.cs b/src/Cuemon.Core/Security/HashResult.cs index 8881a11b9..fa233c50b 100644 --- a/src/Cuemon.Core/Security/HashResult.cs +++ b/src/Cuemon.Core/Security/HashResult.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security; /// diff --git a/src/Cuemon.Core/Security/IHash.cs b/src/Cuemon.Core/Security/IHash.cs index 43888368b..b091438ad 100644 --- a/src/Cuemon.Core/Security/IHash.cs +++ b/src/Cuemon.Core/Security/IHash.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; namespace Cuemon.Security; /// diff --git a/src/Cuemon.Core/Security/NonCryptoAlgorithm.cs b/src/Cuemon.Core/Security/NonCryptoAlgorithm.cs index 6b017aed5..c6afa54d9 100644 --- a/src/Cuemon.Core/Security/NonCryptoAlgorithm.cs +++ b/src/Cuemon.Core/Security/NonCryptoAlgorithm.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security; +namespace Cuemon.Security; /// /// Specifies the different implementations of a non-cryptographic hashing algorithm. /// diff --git a/src/Cuemon.Core/SortOrder.cs b/src/Cuemon.Core/SortOrder.cs index e64830ad5..8fc5ca0b7 100644 --- a/src/Cuemon.Core/SortOrder.cs +++ b/src/Cuemon.Core/SortOrder.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Specifies the direction of a sort operation. /// diff --git a/src/Cuemon.Core/StringFactory.cs b/src/Cuemon.Core/StringFactory.cs index 4d73c89c1..9d58a607d 100644 --- a/src/Cuemon.Core/StringFactory.cs +++ b/src/Cuemon.Core/StringFactory.cs @@ -23,7 +23,7 @@ public static class StringFactory public static string CreateHexadecimal(byte[] value) { Validator.ThrowIfNull(value); -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return Convert.ToHexString(value).Replace("-", "").ToLowerInvariant(); #else return BitConverter.ToString(value).Replace("-", "").ToLowerInvariant(); diff --git a/src/Cuemon.Core/StringReplaceCoordinate.cs b/src/Cuemon.Core/StringReplaceCoordinate.cs index 004a2fa7f..ff4b4cec0 100644 --- a/src/Cuemon.Core/StringReplaceCoordinate.cs +++ b/src/Cuemon.Core/StringReplaceCoordinate.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; internal sealed class StringReplaceCoordinate { internal StringReplaceCoordinate(int startIndex, int length, string value) diff --git a/src/Cuemon.Core/StringReplaceEngine.cs b/src/Cuemon.Core/StringReplaceEngine.cs index 3ff4d32f2..c04cc7d3f 100644 --- a/src/Cuemon.Core/StringReplaceEngine.cs +++ b/src/Cuemon.Core/StringReplaceEngine.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/src/Cuemon.Core/SystemSnapshots.cs b/src/Cuemon.Core/SystemSnapshots.cs index d29f50857..27c38198f 100644 --- a/src/Cuemon.Core/SystemSnapshots.cs +++ b/src/Cuemon.Core/SystemSnapshots.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Core/TesterFuncFactory.cs b/src/Cuemon.Core/TesterFuncFactory.cs index ec668e4bb..2f0e28eca 100644 --- a/src/Cuemon.Core/TesterFuncFactory.cs +++ b/src/Cuemon.Core/TesterFuncFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon; diff --git a/src/Cuemon.Core/Text/AsyncEncodingOptions.cs b/src/Cuemon.Core/Text/AsyncEncodingOptions.cs index bf3d01064..bfa5f3417 100644 --- a/src/Cuemon.Core/Text/AsyncEncodingOptions.cs +++ b/src/Cuemon.Core/Text/AsyncEncodingOptions.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using Cuemon.Threading; namespace Cuemon.Text; diff --git a/src/Cuemon.Core/Text/GuidStringOptions.cs b/src/Cuemon.Core/Text/GuidStringOptions.cs index 52c5aebd7..b55a2efed 100644 --- a/src/Cuemon.Core/Text/GuidStringOptions.cs +++ b/src/Cuemon.Core/Text/GuidStringOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.Text; /// diff --git a/src/Cuemon.Core/Text/Parser.cs b/src/Cuemon.Core/Text/Parser.cs index 54c0fc75b..894661b7b 100644 --- a/src/Cuemon.Core/Text/Parser.cs +++ b/src/Cuemon.Core/Text/Parser.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.Text; diff --git a/src/Cuemon.Core/Text/ParserFactory.cs b/src/Cuemon.Core/Text/ParserFactory.cs index a522d527e..f1baaa3da 100644 --- a/src/Cuemon.Core/Text/ParserFactory.cs +++ b/src/Cuemon.Core/Text/ParserFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Core/Text/Stem.cs b/src/Cuemon.Core/Text/Stem.cs index bca6410a3..b04870a82 100644 --- a/src/Cuemon.Core/Text/Stem.cs +++ b/src/Cuemon.Core/Text/Stem.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Text; /// diff --git a/src/Cuemon.Core/Threading/AsyncActionFactory.cs b/src/Cuemon.Core/Threading/AsyncActionFactory.cs index 8ba19b2d1..c96f6237b 100644 --- a/src/Cuemon.Core/Threading/AsyncActionFactory.cs +++ b/src/Cuemon.Core/Threading/AsyncActionFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Core/Threading/AsyncFuncFactory.cs b/src/Cuemon.Core/Threading/AsyncFuncFactory.cs index f8101bc73..aaf9f63dc 100644 --- a/src/Cuemon.Core/Threading/AsyncFuncFactory.cs +++ b/src/Cuemon.Core/Threading/AsyncFuncFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Core/Threading/ThreadInfo.cs b/src/Cuemon.Core/Threading/ThreadInfo.cs index 59f0ee016..99804c234 100644 --- a/src/Cuemon.Core/Threading/ThreadInfo.cs +++ b/src/Cuemon.Core/Threading/ThreadInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using System.Threading; diff --git a/src/Cuemon.Core/Threading/TimerFactory.cs b/src/Cuemon.Core/Threading/TimerFactory.cs index f13ce43fd..5f57f2796 100644 --- a/src/Cuemon.Core/Threading/TimerFactory.cs +++ b/src/Cuemon.Core/Threading/TimerFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; namespace Cuemon.Threading; diff --git a/src/Cuemon.Data.Integrity/CacheValidator.cs b/src/Cuemon.Data.Integrity/CacheValidator.cs index f0f3daf31..37da234e6 100644 --- a/src/Cuemon.Data.Integrity/CacheValidator.cs +++ b/src/Cuemon.Data.Integrity/CacheValidator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Cuemon.Data.Integrity/CacheValidatorFactory.cs b/src/Cuemon.Data.Integrity/CacheValidatorFactory.cs index fd506c7ad..ca3a3c8e1 100644 --- a/src/Cuemon.Data.Integrity/CacheValidatorFactory.cs +++ b/src/Cuemon.Data.Integrity/CacheValidatorFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using Cuemon.Security; diff --git a/src/Cuemon.Data.Integrity/ChecksumBuilder.cs b/src/Cuemon.Data.Integrity/ChecksumBuilder.cs index 2cd585fd1..22736b10a 100644 --- a/src/Cuemon.Data.Integrity/ChecksumBuilder.cs +++ b/src/Cuemon.Data.Integrity/ChecksumBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Security; diff --git a/src/Cuemon.Data.Integrity/DataIntegrityFactory.cs b/src/Cuemon.Data.Integrity/DataIntegrityFactory.cs index 56b39d62e..32f28486c 100644 --- a/src/Cuemon.Data.Integrity/DataIntegrityFactory.cs +++ b/src/Cuemon.Data.Integrity/DataIntegrityFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; namespace Cuemon.Data.Integrity; diff --git a/src/Cuemon.Data.Integrity/EntityDataIntegrityMethod.cs b/src/Cuemon.Data.Integrity/EntityDataIntegrityMethod.cs index d439625a4..278aea84e 100644 --- a/src/Cuemon.Data.Integrity/EntityDataIntegrityMethod.cs +++ b/src/Cuemon.Data.Integrity/EntityDataIntegrityMethod.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Data.Integrity; +namespace Cuemon.Data.Integrity; /// /// Specifies ways for a checksum of data to be computed. /// diff --git a/src/Cuemon.Data.Integrity/EntityDataIntegrityValidation.cs b/src/Cuemon.Data.Integrity/EntityDataIntegrityValidation.cs index 8142155b1..7efce1330 100644 --- a/src/Cuemon.Data.Integrity/EntityDataIntegrityValidation.cs +++ b/src/Cuemon.Data.Integrity/EntityDataIntegrityValidation.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Data.Integrity; +namespace Cuemon.Data.Integrity; /// /// Specifies the validation strength of a data checksum. /// diff --git a/src/Cuemon.Data.Integrity/EntityInfo.cs b/src/Cuemon.Data.Integrity/EntityInfo.cs index 4382aac7c..f3d7a1616 100644 --- a/src/Cuemon.Data.Integrity/EntityInfo.cs +++ b/src/Cuemon.Data.Integrity/EntityInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Security; namespace Cuemon.Data.Integrity; diff --git a/src/Cuemon.Data.Integrity/Extensions/ChecksumBuilderDecoratorExtensions.cs b/src/Cuemon.Data.Integrity/Extensions/ChecksumBuilderDecoratorExtensions.cs index 4407073f2..55997c603 100644 --- a/src/Cuemon.Data.Integrity/Extensions/ChecksumBuilderDecoratorExtensions.cs +++ b/src/Cuemon.Data.Integrity/Extensions/ChecksumBuilderDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Data.Integrity; /// diff --git a/src/Cuemon.Data.Integrity/FileChecksumOptions.cs b/src/Cuemon.Data.Integrity/FileChecksumOptions.cs index 4f98955e8..e2170a489 100644 --- a/src/Cuemon.Data.Integrity/FileChecksumOptions.cs +++ b/src/Cuemon.Data.Integrity/FileChecksumOptions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Cuemon.IO; namespace Cuemon.Data.Integrity; diff --git a/src/Cuemon.Data.Integrity/FileIntegrityOptions.cs b/src/Cuemon.Data.Integrity/FileIntegrityOptions.cs index 52c6704b4..76d66a756 100644 --- a/src/Cuemon.Data.Integrity/FileIntegrityOptions.cs +++ b/src/Cuemon.Data.Integrity/FileIntegrityOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.IO; diff --git a/src/Cuemon.Data.Integrity/GlobalSuppressions.cs b/src/Cuemon.Data.Integrity/GlobalSuppressions.cs index 8f6c7c5f9..64b4e77da 100644 --- a/src/Cuemon.Data.Integrity/GlobalSuppressions.cs +++ b/src/Cuemon.Data.Integrity/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Data.Integrity/IDataIntegrity.cs b/src/Cuemon.Data.Integrity/IDataIntegrity.cs index b691efb4d..75a46a16c 100644 --- a/src/Cuemon.Data.Integrity/IDataIntegrity.cs +++ b/src/Cuemon.Data.Integrity/IDataIntegrity.cs @@ -1,4 +1,4 @@ -using Cuemon.Security; +using Cuemon.Security; namespace Cuemon.Data.Integrity; /// diff --git a/src/Cuemon.Data.Integrity/IEntityDataIntegrity.cs b/src/Cuemon.Data.Integrity/IEntityDataIntegrity.cs index c3a236950..bc1b61c7c 100644 --- a/src/Cuemon.Data.Integrity/IEntityDataIntegrity.cs +++ b/src/Cuemon.Data.Integrity/IEntityDataIntegrity.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Data.Integrity; +namespace Cuemon.Data.Integrity; /// /// An interface that represents the integrity of data that is normally associated with an entity/resource. /// diff --git a/src/Cuemon.Data.Integrity/IEntityDataTimestamp.cs b/src/Cuemon.Data.Integrity/IEntityDataTimestamp.cs index 990fcc502..4715ad476 100644 --- a/src/Cuemon.Data.Integrity/IEntityDataTimestamp.cs +++ b/src/Cuemon.Data.Integrity/IEntityDataTimestamp.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Data.Integrity; /// diff --git a/src/Cuemon.Data.Integrity/IEntityInfo.cs b/src/Cuemon.Data.Integrity/IEntityInfo.cs index 65a903666..baa0f77d3 100644 --- a/src/Cuemon.Data.Integrity/IEntityInfo.cs +++ b/src/Cuemon.Data.Integrity/IEntityInfo.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Data.Integrity; +namespace Cuemon.Data.Integrity; /// /// An interface that represents both the timestamp and integrity of data that is normally associated with an entity/resource. /// diff --git a/src/Cuemon.Data.SqlClient/Cuemon.Data.SqlClient.csproj b/src/Cuemon.Data.SqlClient/Cuemon.Data.SqlClient.csproj index f51545cec..6a6a23ec8 100644 --- a/src/Cuemon.Data.SqlClient/Cuemon.Data.SqlClient.csproj +++ b/src/Cuemon.Data.SqlClient/Cuemon.Data.SqlClient.csproj @@ -1,4 +1,4 @@ - + 030bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Data.SqlClient/SqlInOperator.cs b/src/Cuemon.Data.SqlClient/SqlInOperator.cs index f17db8258..b62635db3 100644 --- a/src/Cuemon.Data.SqlClient/SqlInOperator.cs +++ b/src/Cuemon.Data.SqlClient/SqlInOperator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using Microsoft.Data.SqlClient; diff --git a/src/Cuemon.Data.SqlClient/SqlQueryBuilder.cs b/src/Cuemon.Data.SqlClient/SqlQueryBuilder.cs index 69839eee7..be0f7e4a5 100644 --- a/src/Cuemon.Data.SqlClient/SqlQueryBuilder.cs +++ b/src/Cuemon.Data.SqlClient/SqlQueryBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/Cuemon.Data/DataManager.cs b/src/Cuemon.Data/DataManager.cs index d3c8a461f..448e638fe 100644 --- a/src/Cuemon.Data/DataManager.cs +++ b/src/Cuemon.Data/DataManager.cs @@ -354,7 +354,11 @@ protected virtual async Task ExecuteCommandAsync(DataStatement statement, { if (!Options.LeaveCommandOpen) { +#if NET10_0_OR_GREATER + if (command != null) { await command.DisposeAsync().ConfigureAwait(false); } +#else command?.Dispose(); +#endif } } return result; diff --git a/src/Cuemon.Data/DataManagerOptions.cs b/src/Cuemon.Data/DataManagerOptions.cs index 57708a339..36f9a2a69 100644 --- a/src/Cuemon.Data/DataManagerOptions.cs +++ b/src/Cuemon.Data/DataManagerOptions.cs @@ -1,4 +1,4 @@ -using System.Data; +using System.Data; using Cuemon.Configuration; namespace Cuemon.Data; diff --git a/src/Cuemon.Data/DataStatementOptions.cs b/src/Cuemon.Data/DataStatementOptions.cs index 9bb7502c7..b14c0d4b3 100644 --- a/src/Cuemon.Data/DataStatementOptions.cs +++ b/src/Cuemon.Data/DataStatementOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using Cuemon.Configuration; diff --git a/src/Cuemon.Data/DataTransfer.cs b/src/Cuemon.Data/DataTransfer.cs index 8f5461996..cb1e786be 100644 --- a/src/Cuemon.Data/DataTransfer.cs +++ b/src/Cuemon.Data/DataTransfer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; namespace Cuemon.Data; diff --git a/src/Cuemon.Data/DataTransferColumn.cs b/src/Cuemon.Data/DataTransferColumn.cs index ed1591d99..cf3574f6d 100644 --- a/src/Cuemon.Data/DataTransferColumn.cs +++ b/src/Cuemon.Data/DataTransferColumn.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Data; /// /// Represents the column meta information of a table-row in a database. This class cannot be inherited. diff --git a/src/Cuemon.Data/DataTransferColumnCollection.cs b/src/Cuemon.Data/DataTransferColumnCollection.cs index 2b0edb1be..a594b2755 100644 --- a/src/Cuemon.Data/DataTransferColumnCollection.cs +++ b/src/Cuemon.Data/DataTransferColumnCollection.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Data; namespace Cuemon.Data; diff --git a/src/Cuemon.Data/DataTransferRow.cs b/src/Cuemon.Data/DataTransferRow.cs index 51d281fa3..be0de1ed2 100644 --- a/src/Cuemon.Data/DataTransferRow.cs +++ b/src/Cuemon.Data/DataTransferRow.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using System.Text; namespace Cuemon.Data; diff --git a/src/Cuemon.Data/DatabaseDependency.cs b/src/Cuemon.Data/DatabaseDependency.cs index f22f56021..e4957464b 100644 --- a/src/Cuemon.Data/DatabaseDependency.cs +++ b/src/Cuemon.Data/DatabaseDependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Data/DatabaseWatcher.cs b/src/Cuemon.Data/DatabaseWatcher.cs index f0bbf2b9d..4a3646a10 100644 --- a/src/Cuemon.Data/DatabaseWatcher.cs +++ b/src/Cuemon.Data/DatabaseWatcher.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.Linq; @@ -13,7 +13,7 @@ namespace Cuemon.Data; /// public class DatabaseWatcher : Watcher { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly System.Threading.Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Data/Extensions/DataReaderDecoratorExtensions.cs b/src/Cuemon.Data/Extensions/DataReaderDecoratorExtensions.cs index e9637b8c4..1fb81208d 100644 --- a/src/Cuemon.Data/Extensions/DataReaderDecoratorExtensions.cs +++ b/src/Cuemon.Data/Extensions/DataReaderDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using System.IO; using System.Threading.Tasks; diff --git a/src/Cuemon.Data/Extensions/DbTypeDecoratorExtensions.cs b/src/Cuemon.Data/Extensions/DbTypeDecoratorExtensions.cs index 7acb4e3a0..7f677c4bb 100644 --- a/src/Cuemon.Data/Extensions/DbTypeDecoratorExtensions.cs +++ b/src/Cuemon.Data/Extensions/DbTypeDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; namespace Cuemon.Data; diff --git a/src/Cuemon.Data/GlobalSuppressions.cs b/src/Cuemon.Data/GlobalSuppressions.cs index 34cc6d890..25df9ec37 100644 --- a/src/Cuemon.Data/GlobalSuppressions.cs +++ b/src/Cuemon.Data/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Data/InOperator.cs b/src/Cuemon.Data/InOperator.cs index a4aef1e9f..6a66b4e7a 100644 --- a/src/Cuemon.Data/InOperator.cs +++ b/src/Cuemon.Data/InOperator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.Linq; diff --git a/src/Cuemon.Data/InOperatorResult.cs b/src/Cuemon.Data/InOperatorResult.cs index 40db9bf54..bcff01187 100644 --- a/src/Cuemon.Data/InOperatorResult.cs +++ b/src/Cuemon.Data/InOperatorResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.Linq; diff --git a/src/Cuemon.Data/QueryBuilder.cs b/src/Cuemon.Data/QueryBuilder.cs index a8ab00a3f..f3b6aea5e 100644 --- a/src/Cuemon.Data/QueryBuilder.cs +++ b/src/Cuemon.Data/QueryBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Data/QueryFormat.cs b/src/Cuemon.Data/QueryFormat.cs index c1066148d..e14e01b11 100644 --- a/src/Cuemon.Data/QueryFormat.cs +++ b/src/Cuemon.Data/QueryFormat.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Data; +namespace Cuemon.Data; /// /// Identifies the format for a query fragment. /// diff --git a/src/Cuemon.Data/QueryType.cs b/src/Cuemon.Data/QueryType.cs index 478156ebd..b391141ab 100644 --- a/src/Cuemon.Data/QueryType.cs +++ b/src/Cuemon.Data/QueryType.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Data; +namespace Cuemon.Data; /// /// Identifies the type of data operation performed by a query against a data source. /// diff --git a/src/Cuemon.Data/TokenBuilder.cs b/src/Cuemon.Data/TokenBuilder.cs index 6c0bfdf54..55481b899 100644 --- a/src/Cuemon.Data/TokenBuilder.cs +++ b/src/Cuemon.Data/TokenBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Text; diff --git a/src/Cuemon.Data/UniqueIndexViolationException.cs b/src/Cuemon.Data/UniqueIndexViolationException.cs index aa78056d8..326ebfc2c 100644 --- a/src/Cuemon.Data/UniqueIndexViolationException.cs +++ b/src/Cuemon.Data/UniqueIndexViolationException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Data; /// diff --git a/src/Cuemon.Data/Xml/XmlDataReader.cs b/src/Cuemon.Data/Xml/XmlDataReader.cs index b01fa5717..0d625d2ff 100644 --- a/src/Cuemon.Data/Xml/XmlDataReader.cs +++ b/src/Cuemon.Data/Xml/XmlDataReader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Specialized; using System.Xml; using Cuemon.Text; diff --git a/src/Cuemon.Diagnostics/AsyncTimeMeasureOptions.cs b/src/Cuemon.Diagnostics/AsyncTimeMeasureOptions.cs index 47bc4c0fd..58dd4a8e7 100644 --- a/src/Cuemon.Diagnostics/AsyncTimeMeasureOptions.cs +++ b/src/Cuemon.Diagnostics/AsyncTimeMeasureOptions.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using Cuemon.Threading; namespace Cuemon.Diagnostics; diff --git a/src/Cuemon.Diagnostics/Cuemon.Diagnostics.csproj b/src/Cuemon.Diagnostics/Cuemon.Diagnostics.csproj index 919d59dd5..486d03e3b 100644 --- a/src/Cuemon.Diagnostics/Cuemon.Diagnostics.csproj +++ b/src/Cuemon.Diagnostics/Cuemon.Diagnostics.csproj @@ -1,4 +1,4 @@ - + 1a0bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Diagnostics/FaultHandler.cs b/src/Cuemon.Diagnostics/FaultHandler.cs index 7084d367b..1676eccb3 100644 --- a/src/Cuemon.Diagnostics/FaultHandler.cs +++ b/src/Cuemon.Diagnostics/FaultHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Diagnostics; /// diff --git a/src/Cuemon.Diagnostics/FaultResolver.cs b/src/Cuemon.Diagnostics/FaultResolver.cs index b48b359e1..d5af29cdc 100644 --- a/src/Cuemon.Diagnostics/FaultResolver.cs +++ b/src/Cuemon.Diagnostics/FaultResolver.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Diagnostics; /// diff --git a/src/Cuemon.Diagnostics/GlobalSuppressions.cs b/src/Cuemon.Diagnostics/GlobalSuppressions.cs index 8fc2138d6..bae5419b7 100644 --- a/src/Cuemon.Diagnostics/GlobalSuppressions.cs +++ b/src/Cuemon.Diagnostics/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Diagnostics/Profiler.cs b/src/Cuemon.Diagnostics/Profiler.cs index 01076f8d4..aac844f6f 100644 --- a/src/Cuemon.Diagnostics/Profiler.cs +++ b/src/Cuemon.Diagnostics/Profiler.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Cuemon.Reflection; namespace Cuemon.Diagnostics; diff --git a/src/Cuemon.Diagnostics/ProfilerOptions.cs b/src/Cuemon.Diagnostics/ProfilerOptions.cs index 2c65c756e..1d9d1709f 100644 --- a/src/Cuemon.Diagnostics/ProfilerOptions.cs +++ b/src/Cuemon.Diagnostics/ProfilerOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; using Cuemon.Reflection; diff --git a/src/Cuemon.Diagnostics/TimeMeasure.Async.cs b/src/Cuemon.Diagnostics/TimeMeasure.Async.cs index e3cd3c363..43d81646c 100644 --- a/src/Cuemon.Diagnostics/TimeMeasure.Async.cs +++ b/src/Cuemon.Diagnostics/TimeMeasure.Async.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Diagnostics/TimeMeasure.cs b/src/Cuemon.Diagnostics/TimeMeasure.cs index 2388152ea..7c634d1a6 100644 --- a/src/Cuemon.Diagnostics/TimeMeasure.cs +++ b/src/Cuemon.Diagnostics/TimeMeasure.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Reflection; diff --git a/src/Cuemon.Diagnostics/TimeMeasureOptions.cs b/src/Cuemon.Diagnostics/TimeMeasureOptions.cs index ae6e2fe75..9188d6272 100644 --- a/src/Cuemon.Diagnostics/TimeMeasureOptions.cs +++ b/src/Cuemon.Diagnostics/TimeMeasureOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Diagnostics; /// diff --git a/src/Cuemon.Diagnostics/TimeMeasureProfiler.cs b/src/Cuemon.Diagnostics/TimeMeasureProfiler.cs index db3c022a8..7f45fcc54 100644 --- a/src/Cuemon.Diagnostics/TimeMeasureProfiler.cs +++ b/src/Cuemon.Diagnostics/TimeMeasureProfiler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Text; diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/ApplicationBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Authentication/ApplicationBuilderExtensions.cs index fcbb689dc..5e34ef9d1 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/ApplicationBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/ApplicationBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Authentication.Basic; using Cuemon.AspNetCore.Authentication.Digest; using Cuemon.AspNetCore.Authentication.Hmac; diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs index 86a0de4ce..72b755834 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Authentication.Basic; using Cuemon.AspNetCore.Authentication.Digest; using Cuemon.AspNetCore.Authentication.Hmac; diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandler.cs b/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandler.cs index 2c94fbf17..009b9f3d0 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandler.cs +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandlerOptions.cs b/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandlerOptions.cs index 7614299fd..18af31bde 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandlerOptions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/AuthorizationResponseHandlerOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.AspNetCore.Http; using Cuemon.Configuration; diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/Cuemon.Extensions.AspNetCore.Authentication.csproj b/src/Cuemon.Extensions.AspNetCore.Authentication/Cuemon.Extensions.AspNetCore.Authentication.csproj index cdbf53662..452df812b 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/Cuemon.Extensions.AspNetCore.Authentication.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/Cuemon.Extensions.AspNetCore.Authentication.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 220bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/GlobalSuppressions.cs b/src/Cuemon.Extensions.AspNetCore.Authentication/GlobalSuppressions.cs index 278266596..a9c612499 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/GlobalSuppressions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Extensions.AspNetCore.Authentication/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Authentication/ServiceCollectionExtensions.cs index 410ba1ac9..f23076f1d 100644 --- a/src/Cuemon.Extensions.AspNetCore.Authentication/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Authentication/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Authentication; using Cuemon.Diagnostics; using Cuemon.Extensions.DependencyInjection; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.csproj b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.csproj index bffb58818..566e92b43 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 a90adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationInputFormatter.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationInputFormatter.cs index eb157b582..39309b8ec 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationInputFormatter.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationInputFormatter.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Mvc.Formatters; +using Cuemon.AspNetCore.Mvc.Formatters; using Cuemon.Extensions.AspNetCore.Text.Json.Converters; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationMvcOptionsSetup.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationMvcOptionsSetup.cs index 38f17227b..da1731a83 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationMvcOptionsSetup.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationMvcOptionsSetup.cs @@ -1,4 +1,4 @@ -using Cuemon.Extensions.Text.Json.Formatters; +using Cuemon.Extensions.Text.Json.Formatters; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationOutputFormatter.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationOutputFormatter.cs index df58e5f52..5d4970e3d 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationOutputFormatter.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/JsonSerializationOutputFormatter.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Mvc.Formatters; +using Cuemon.AspNetCore.Mvc.Formatters; using Cuemon.Extensions.AspNetCore.Text.Json.Converters; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/MvcBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/MvcBuilderExtensions.cs index 2ebc9baaa..846096828 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/MvcBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/MvcBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Extensions.AspNetCore.Text.Json.Formatters; using Cuemon.Extensions.Text.Json.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.csproj b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.csproj index 813ab95b8..cf4122d17 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 a70adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcBuilderExtensions.cs index 604e7905f..9623642e6 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Extensions.AspNetCore.Xml.Formatters; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcCoreBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcCoreBuilderExtensions.cs index 5b3fda448..3a3843d18 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcCoreBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/MvcCoreBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Extensions.AspNetCore.Xml.Formatters; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationInputFormatter.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationInputFormatter.cs index cd9731c3f..a45a973c6 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationInputFormatter.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationInputFormatter.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Mvc.Formatters; +using Cuemon.AspNetCore.Mvc.Formatters; using Cuemon.Extensions.AspNetCore.Xml.Converters; using Cuemon.Xml.Serialization.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationMvcOptionsSetup.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationMvcOptionsSetup.cs index 2496be8f8..1eec6b93f 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationMvcOptionsSetup.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationMvcOptionsSetup.cs @@ -1,4 +1,4 @@ -using Cuemon.Xml.Serialization.Formatters; +using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationOutputFormatter.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationOutputFormatter.cs index cdaa56cb2..3ade1bba7 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationOutputFormatter.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/XmlSerializationOutputFormatter.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Mvc.Formatters; +using Cuemon.AspNetCore.Mvc.Formatters; using Cuemon.Extensions.AspNetCore.Xml.Converters; using Cuemon.Xml.Serialization.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.csproj b/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.csproj index fcbd21aea..5998a5efb 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 c6b592e8-2413-4bff-adf2-8a72c62199e3 diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PageBaseExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PageBaseExtensions.cs index 325d8704c..c7e288a02 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PageBaseExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PageBaseExtensions.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using Cuemon.AspNetCore.Configuration; using Cuemon.AspNetCore.Razor.TagHelpers; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/CacheableObjectResultExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/CacheableObjectResultExtensions.cs index ac8174049..5a9746d55 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/CacheableObjectResultExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/CacheableObjectResultExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Mvc; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; using Cuemon.Data.Integrity; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/Cuemon.Extensions.AspNetCore.Mvc.csproj b/src/Cuemon.Extensions.AspNetCore.Mvc/Cuemon.Extensions.AspNetCore.Mvc.csproj index b6ab1e073..c018690fa 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/Cuemon.Extensions.AspNetCore.Mvc.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/Cuemon.Extensions.AspNetCore.Mvc.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 a50adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Cacheable/CacheableAsyncResultFilterExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Cacheable/CacheableAsyncResultFilterExtensions.cs index 712db63ab..39b72ab20 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Cacheable/CacheableAsyncResultFilterExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Cacheable/CacheableAsyncResultFilterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; using Cuemon.Configuration; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Diagnostics/HttpFaultResolverExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Diagnostics/HttpFaultResolverExtensions.cs index 84fd4e8c0..60e87b3b0 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Diagnostics/HttpFaultResolverExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/Diagnostics/HttpFaultResolverExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.AspNetCore.Diagnostics; using Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/FilterCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/FilterCollectionExtensions.cs index eddf68b82..e929590b2 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/FilterCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/FilterCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using Cuemon.AspNetCore.Mvc; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/MvcBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/MvcBuilderExtensions.cs index 84ce75778..dab13fb76 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/MvcBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/Filters/MvcBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http.Headers; using Cuemon.AspNetCore.Http.Throttling; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/Rendering/HtmlHelperExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/Rendering/HtmlHelperExtensions.cs index 0aa58746d..e700ff1c8 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/Rendering/HtmlHelperExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/Rendering/HtmlHelperExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc/ViewDataDictionaryExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc/ViewDataDictionaryExtensions.cs index 031b1b104..b7a7345d2 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc/ViewDataDictionaryExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Mvc/ViewDataDictionaryExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.AspNetCore.Mvc; diff --git a/src/Cuemon.Extensions.AspNetCore.Text.Json/Bootstrapper.cs b/src/Cuemon.Extensions.AspNetCore.Text.Json/Bootstrapper.cs index d05762245..30d66c9a6 100644 --- a/src/Cuemon.Extensions.AspNetCore.Text.Json/Bootstrapper.cs +++ b/src/Cuemon.Extensions.AspNetCore.Text.Json/Bootstrapper.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using Cuemon.Extensions.AspNetCore.Text.Json.Converters; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Text.Json/Cuemon.Extensions.AspNetCore.Text.Json.csproj b/src/Cuemon.Extensions.AspNetCore.Text.Json/Cuemon.Extensions.AspNetCore.Text.Json.csproj index 9d8cab49e..31ace4ad3 100644 --- a/src/Cuemon.Extensions.AspNetCore.Text.Json/Cuemon.Extensions.AspNetCore.Text.Json.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Text.Json/Cuemon.Extensions.AspNetCore.Text.Json.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 ae0adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore.Text.Json/Formatters/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Text.Json/Formatters/ServiceCollectionExtensions.cs index a094f7758..9d458b5ee 100644 --- a/src/Cuemon.Extensions.AspNetCore.Text.Json/Formatters/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Text.Json/Formatters/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Text.Json; using Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.Extensions.AspNetCore.Text.Json/MinimalJsonOptions.cs b/src/Cuemon.Extensions.AspNetCore.Text.Json/MinimalJsonOptions.cs index ed97d0d95..a5c0e811c 100644 --- a/src/Cuemon.Extensions.AspNetCore.Text.Json/MinimalJsonOptions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Text.Json/MinimalJsonOptions.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; using Cuemon.Collections.Generic; using Cuemon.Extensions.AspNetCore.Text.Json.Converters; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Xml/Bootstrapper.cs b/src/Cuemon.Extensions.AspNetCore.Xml/Bootstrapper.cs index 608f606c0..1c889a386 100644 --- a/src/Cuemon.Extensions.AspNetCore.Xml/Bootstrapper.cs +++ b/src/Cuemon.Extensions.AspNetCore.Xml/Bootstrapper.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using Cuemon.Extensions.AspNetCore.Xml.Converters; using Cuemon.Xml.Serialization.Formatters; diff --git a/src/Cuemon.Extensions.AspNetCore.Xml/Converters/XmlConverterExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Xml/Converters/XmlConverterExtensions.cs index ef75b3ca2..989a536f3 100644 --- a/src/Cuemon.Extensions.AspNetCore.Xml/Converters/XmlConverterExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Xml/Converters/XmlConverterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Cuemon.Extensions.AspNetCore.Xml/Cuemon.Extensions.AspNetCore.Xml.csproj b/src/Cuemon.Extensions.AspNetCore.Xml/Cuemon.Extensions.AspNetCore.Xml.csproj index e12538b0e..2b023fe0c 100644 --- a/src/Cuemon.Extensions.AspNetCore.Xml/Cuemon.Extensions.AspNetCore.Xml.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Xml/Cuemon.Extensions.AspNetCore.Xml.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 af0adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore.Xml/Formatters/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Xml/Formatters/ServiceCollectionExtensions.cs index c7d39787a..b73be3df2 100644 --- a/src/Cuemon.Extensions.AspNetCore.Xml/Formatters/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore.Xml/Formatters/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using Cuemon.AspNetCore.Diagnostics; using Cuemon.Extensions.AspNetCore.Xml.Converters; diff --git a/src/Cuemon.Extensions.AspNetCore/Configuration/AssemblyCacheBusting.cs b/src/Cuemon.Extensions.AspNetCore/Configuration/AssemblyCacheBusting.cs index f1cc06aba..0e59a5598 100644 --- a/src/Cuemon.Extensions.AspNetCore/Configuration/AssemblyCacheBusting.cs +++ b/src/Cuemon.Extensions.AspNetCore/Configuration/AssemblyCacheBusting.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Configuration; using Cuemon.Extensions.Data.Integrity; using Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Extensions.AspNetCore/Configuration/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Configuration/ServiceCollectionExtensions.cs index 25201fd30..d8bf26b13 100644 --- a/src/Cuemon.Extensions.AspNetCore/Configuration/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Configuration/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Configuration; +using Cuemon.AspNetCore.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Cuemon.Extensions.AspNetCore.Configuration; diff --git a/src/Cuemon.Extensions.AspNetCore/Cuemon.Extensions.AspNetCore.csproj b/src/Cuemon.Extensions.AspNetCore/Cuemon.Extensions.AspNetCore.csproj index 1fc096291..11f161f12 100644 --- a/src/Cuemon.Extensions.AspNetCore/Cuemon.Extensions.AspNetCore.csproj +++ b/src/Cuemon.Extensions.AspNetCore/Cuemon.Extensions.AspNetCore.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 a40adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.AspNetCore/Data/Integrity/CacheValidatorExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Data/Integrity/CacheValidatorExtensions.cs index 9aa6e5540..188f4187c 100644 --- a/src/Cuemon.Extensions.AspNetCore/Data/Integrity/CacheValidatorExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Data/Integrity/CacheValidatorExtensions.cs @@ -1,4 +1,4 @@ -using Cuemon.Data.Integrity; +using Cuemon.Data.Integrity; using Microsoft.Net.Http.Headers; namespace Cuemon.Extensions.AspNetCore.Data.Integrity; diff --git a/src/Cuemon.Extensions.AspNetCore/Data/Integrity/ChecksumBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Data/Integrity/ChecksumBuilderExtensions.cs index 80e3ab335..0e0b01a77 100644 --- a/src/Cuemon.Extensions.AspNetCore/Data/Integrity/ChecksumBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Data/Integrity/ChecksumBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http.Headers; using Cuemon.Data.Integrity; using Microsoft.Net.Http.Headers; diff --git a/src/Cuemon.Extensions.AspNetCore/Diagnostics/ApplicationBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Diagnostics/ApplicationBuilderExtensions.cs index 05db01738..a172b44e6 100644 --- a/src/Cuemon.Extensions.AspNetCore/Diagnostics/ApplicationBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Diagnostics/ApplicationBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceCollectionExtensions.cs index 45578daac..a15fc2941 100644 --- a/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Diagnostics; using Cuemon.Diagnostics; using Cuemon.Extensions.DependencyInjection; diff --git a/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceProviderExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceProviderExtensions.cs index fec128423..ca2898587 100644 --- a/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceProviderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceProviderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.Extensions.AspNetCore/GlobalSuppressions.cs b/src/Cuemon.Extensions.AspNetCore/GlobalSuppressions.cs index 32d27ebf2..72087bb45 100644 --- a/src/Cuemon.Extensions.AspNetCore/GlobalSuppressions.cs +++ b/src/Cuemon.Extensions.AspNetCore/GlobalSuppressions.cs @@ -1,9 +1,8 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("Performance", "CA1835:Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'", Justification = "Already fixed for .NET 5, but SonarCloud cannot figure out multiple framework support, eg. NETStandard 2.", Scope = "member", Target = "~M:Cuemon.Extensions.AspNetCore.Http.HttpResponseExtensions.WriteBodyAsync(Microsoft.AspNetCore.Http.HttpResponse,System.Func{System.Byte[]})~System.Threading.Tasks.Task")] [assembly: SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "Not relevant in this context.", Scope = "member", Target = "~M:Cuemon.Extensions.AspNetCore.Configuration.AssemblyCacheBusting.#ctor(Microsoft.Extensions.Options.IOptions{Cuemon.Extensions.AspNetCore.Configuration.AssemblyCacheBustingOptions})")] diff --git a/src/Cuemon.Extensions.AspNetCore/Hosting/ApplicationBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Hosting/ApplicationBuilderExtensions.cs index 70f0687fb..4e091da80 100644 --- a/src/Cuemon.Extensions.AspNetCore/Hosting/ApplicationBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Hosting/ApplicationBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Builder; using Cuemon.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/HeaderDictionaryExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/HeaderDictionaryExtensions.cs index a8c4adc86..eb7b539c9 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/HeaderDictionaryExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/HeaderDictionaryExtensions.cs @@ -1,4 +1,4 @@ -using System.Net.Http.Headers; +using System.Net.Http.Headers; using Cuemon.AspNetCore.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/Headers/ApplicationBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/Headers/ApplicationBuilderExtensions.cs index ae72c9858..03cf464ba 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/Headers/ApplicationBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/Headers/ApplicationBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Builder; using Cuemon.AspNetCore.Http.Headers; using Microsoft.AspNetCore.Builder; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/Headers/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/Headers/ServiceCollectionExtensions.cs index 5ec1245f5..dcdf8ebfa 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/Headers/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/Headers/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http.Headers; using Cuemon.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/HttpExceptionDescriptorResponseFormatterExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/HttpExceptionDescriptorResponseFormatterExtensions.cs index 573ac7170..ec3b30e22 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/HttpExceptionDescriptorResponseFormatterExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/HttpExceptionDescriptorResponseFormatterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.AspNetCore.Diagnostics; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/HttpRequestExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/HttpRequestExtensions.cs index 4ffd0e6d3..53edc5c3e 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/HttpRequestExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/HttpRequestExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.AspNetCore.Http; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/Int32Extensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/Int32Extensions.cs index 7473070e4..1487bfbc1 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/Int32Extensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/Int32Extensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http; namespace Cuemon.Extensions.AspNetCore.Http; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ApplicationBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ApplicationBuilderExtensions.cs index a756269ef..d3a11f30c 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ApplicationBuilderExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ApplicationBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Builder; using Cuemon.AspNetCore.Http.Throttling; using Microsoft.AspNetCore.Builder; diff --git a/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ServiceCollectionExtensions.cs index d18e5c8ca..5c60e9aa3 100644 --- a/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ServiceCollectionExtensions.cs +++ b/src/Cuemon.Extensions.AspNetCore/Http/Throttling/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http.Throttling; using Cuemon.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Cuemon.Extensions.Collections.Generic/DictionaryExtensions.cs b/src/Cuemon.Extensions.Collections.Generic/DictionaryExtensions.cs index 2fe8f5e21..bee52dc04 100644 --- a/src/Cuemon.Extensions.Collections.Generic/DictionaryExtensions.cs +++ b/src/Cuemon.Extensions.Collections.Generic/DictionaryExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Extensions.Collections.Generic/EnumerableExtensions.cs b/src/Cuemon.Extensions.Collections.Generic/EnumerableExtensions.cs index 56a4f7b5a..f42a3c552 100644 --- a/src/Cuemon.Extensions.Collections.Generic/EnumerableExtensions.cs +++ b/src/Cuemon.Extensions.Collections.Generic/EnumerableExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Extensions.Collections.Generic/ListExtensions.cs b/src/Cuemon.Extensions.Collections.Generic/ListExtensions.cs index 6e3addefb..8bf3d5b8e 100644 --- a/src/Cuemon.Extensions.Collections.Generic/ListExtensions.cs +++ b/src/Cuemon.Extensions.Collections.Generic/ListExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Extensions.Collections.Generic; diff --git a/src/Cuemon.Extensions.Collections.Generic/QueueExtensions.cs b/src/Cuemon.Extensions.Collections.Generic/QueueExtensions.cs index 1a25df1c5..1c54baecd 100644 --- a/src/Cuemon.Extensions.Collections.Generic/QueueExtensions.cs +++ b/src/Cuemon.Extensions.Collections.Generic/QueueExtensions.cs @@ -1,4 +1,4 @@ -#if NETSTANDARD2_0_OR_GREATER +#if NETSTANDARD2_0_OR_GREATER using System.Collections.Generic; namespace Cuemon.Extensions.Collections.Generic; diff --git a/src/Cuemon.Extensions.Collections.Specialized/DictionaryExtensions.cs b/src/Cuemon.Extensions.Collections.Specialized/DictionaryExtensions.cs index f57ac3c20..6f37e8882 100644 --- a/src/Cuemon.Extensions.Collections.Specialized/DictionaryExtensions.cs +++ b/src/Cuemon.Extensions.Collections.Specialized/DictionaryExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; using Cuemon.Collections.Specialized; diff --git a/src/Cuemon.Extensions.Collections.Specialized/NameValueCollectionExtensions.cs b/src/Cuemon.Extensions.Collections.Specialized/NameValueCollectionExtensions.cs index 76f4b60d0..26011f761 100644 --- a/src/Cuemon.Extensions.Collections.Specialized/NameValueCollectionExtensions.cs +++ b/src/Cuemon.Extensions.Collections.Specialized/NameValueCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; diff --git a/src/Cuemon.Extensions.Core/ActionExtensions.cs b/src/Cuemon.Extensions.Core/ActionExtensions.cs index 98ef6ae53..bb04afdf4 100644 --- a/src/Cuemon.Extensions.Core/ActionExtensions.cs +++ b/src/Cuemon.Extensions.Core/ActionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/ActionFactory.cs b/src/Cuemon.Extensions.Core/ActionFactory.cs index 74a2b4745..bf8ca26d2 100644 --- a/src/Cuemon.Extensions.Core/ActionFactory.cs +++ b/src/Cuemon.Extensions.Core/ActionFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions; /// diff --git a/src/Cuemon.Extensions.Core/AsyncDisposable.cs b/src/Cuemon.Extensions.Core/AsyncDisposable.cs index 4a5141068..701654f7b 100644 --- a/src/Cuemon.Extensions.Core/AsyncDisposable.cs +++ b/src/Cuemon.Extensions.Core/AsyncDisposable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/ByteExtensions.cs b/src/Cuemon.Extensions.Core/ByteExtensions.cs index 230815afa..a712d96da 100644 --- a/src/Cuemon.Extensions.Core/ByteExtensions.cs +++ b/src/Cuemon.Extensions.Core/ByteExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using Cuemon.Text; diff --git a/src/Cuemon.Extensions.Core/CharExtensions.cs b/src/Cuemon.Extensions.Core/CharExtensions.cs index fe61723f9..a6ddbf27a 100644 --- a/src/Cuemon.Extensions.Core/CharExtensions.cs +++ b/src/Cuemon.Extensions.Core/CharExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/Cuemon.Extensions.Core.csproj b/src/Cuemon.Extensions.Core/Cuemon.Extensions.Core.csproj index fc71ff3e8..d9f46a214 100644 --- a/src/Cuemon.Extensions.Core/Cuemon.Extensions.Core.csproj +++ b/src/Cuemon.Extensions.Core/Cuemon.Extensions.Core.csproj @@ -1,4 +1,4 @@ - + 020bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.Core/DateTimeExtensions.cs b/src/Cuemon.Extensions.Core/DateTimeExtensions.cs index d8eee0796..239a0ffd4 100644 --- a/src/Cuemon.Extensions.Core/DateTimeExtensions.cs +++ b/src/Cuemon.Extensions.Core/DateTimeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions; /// diff --git a/src/Cuemon.Extensions.Core/DoubleExtensions.cs b/src/Cuemon.Extensions.Core/DoubleExtensions.cs index fc8f51ec5..66936108f 100644 --- a/src/Cuemon.Extensions.Core/DoubleExtensions.cs +++ b/src/Cuemon.Extensions.Core/DoubleExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions; /// diff --git a/src/Cuemon.Extensions.Core/ExceptionExtensions.cs b/src/Cuemon.Extensions.Core/ExceptionExtensions.cs index b063bacee..3baa67e3b 100644 --- a/src/Cuemon.Extensions.Core/ExceptionExtensions.cs +++ b/src/Cuemon.Extensions.Core/ExceptionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/FuncFactory.cs b/src/Cuemon.Extensions.Core/FuncFactory.cs index 80f09409f..cd6d68491 100644 --- a/src/Cuemon.Extensions.Core/FuncFactory.cs +++ b/src/Cuemon.Extensions.Core/FuncFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions; /// diff --git a/src/Cuemon.Extensions.Core/GlobalSuppressions.cs b/src/Cuemon.Extensions.Core/GlobalSuppressions.cs index dcce8d859..f9329118a 100644 --- a/src/Cuemon.Extensions.Core/GlobalSuppressions.cs +++ b/src/Cuemon.Extensions.Core/GlobalSuppressions.cs @@ -6,8 +6,6 @@ using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("Usage", "CA2249:Consider using 'string.Contains' instead of 'string.IndexOf'", Justification = "False-Positive. Contains does not support comparison rules in NET Standard 2.", Scope = "member", Target = "~M:Cuemon.Extensions.StringExtensions.ContainsAny(System.String,System.String,System.StringComparison)~System.Boolean")] -[assembly: SuppressMessage("Minor Code Smell", "S3267:Loops should be simplified with \"LINQ\" expressions", Justification = "False-positive.", Scope = "member", Target = "~M:Cuemon.Extensions.StringExtensions.JsUnescape(System.String)~System.String")] [assembly: SuppressMessage("Style", "IDE0220:Add explicit cast", Justification = "False-Positive", Scope = "member", Target = "~M:Cuemon.Extensions.StringExtensions.JsUnescape(System.String)~System.String")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow to exceed generic arguments recommendation.", Scope = "member", Target = "~M:Cuemon.Extensions.ActionFactory.Create``10(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9},``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)~Cuemon.ActionFactory{Cuemon.MutableTuple{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9}}")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; allow to exceed generic arguments recommendation.", Scope = "member", Target = "~M:Cuemon.Extensions.ActionFactory.Create``11(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10},``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10)~Cuemon.ActionFactory{Cuemon.MutableTuple{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10}}")] diff --git a/src/Cuemon.Extensions.Core/Globalization/RegionInfoExtensions.cs b/src/Cuemon.Extensions.Core/Globalization/RegionInfoExtensions.cs index ffd0d0971..795ea5217 100644 --- a/src/Cuemon.Extensions.Core/Globalization/RegionInfoExtensions.cs +++ b/src/Cuemon.Extensions.Core/Globalization/RegionInfoExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Globalization; using Cuemon.Globalization; diff --git a/src/Cuemon.Extensions.Core/IWrapper.cs b/src/Cuemon.Extensions.Core/IWrapper.cs index b6d455b8e..dc4d90624 100644 --- a/src/Cuemon.Extensions.Core/IWrapper.cs +++ b/src/Cuemon.Extensions.Core/IWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/IntegerExtensions.cs b/src/Cuemon.Extensions.Core/IntegerExtensions.cs index 36e631954..0b0f8674b 100644 --- a/src/Cuemon.Extensions.Core/IntegerExtensions.cs +++ b/src/Cuemon.Extensions.Core/IntegerExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/MethodDescriptorExtensions.cs b/src/Cuemon.Extensions.Core/MethodDescriptorExtensions.cs index 0c9419b42..43b7e2238 100644 --- a/src/Cuemon.Extensions.Core/MethodDescriptorExtensions.cs +++ b/src/Cuemon.Extensions.Core/MethodDescriptorExtensions.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Cuemon.Reflection; namespace Cuemon.Extensions; diff --git a/src/Cuemon.Extensions.Core/MutableTupleFactory.cs b/src/Cuemon.Extensions.Core/MutableTupleFactory.cs index 3e388bba1..1c93b51a1 100644 --- a/src/Cuemon.Extensions.Core/MutableTupleFactory.cs +++ b/src/Cuemon.Extensions.Core/MutableTupleFactory.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions; +namespace Cuemon.Extensions; /// /// Provides access to factory methods for creating objects. /// diff --git a/src/Cuemon.Extensions.Core/RoundOffAccuracy.cs b/src/Cuemon.Extensions.Core/RoundOffAccuracy.cs index fb7ab0f05..75236d79f 100644 --- a/src/Cuemon.Extensions.Core/RoundOffAccuracy.cs +++ b/src/Cuemon.Extensions.Core/RoundOffAccuracy.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions; +namespace Cuemon.Extensions; /// /// The accuracy of a rounding for a computed number. /// diff --git a/src/Cuemon.Extensions.Core/Runtime/Hierarchy.cs b/src/Cuemon.Extensions.Core/Runtime/Hierarchy.cs index 229c73ce5..f20c29dfc 100644 --- a/src/Cuemon.Extensions.Core/Runtime/Hierarchy.cs +++ b/src/Cuemon.Extensions.Core/Runtime/Hierarchy.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/src/Cuemon.Extensions.Core/Runtime/HierarchyDecoratorExtensions.cs b/src/Cuemon.Extensions.Core/Runtime/HierarchyDecoratorExtensions.cs index 1e8dd9da5..6c94d6472 100644 --- a/src/Cuemon.Extensions.Core/Runtime/HierarchyDecoratorExtensions.cs +++ b/src/Cuemon.Extensions.Core/Runtime/HierarchyDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Cuemon.Extensions.Core/Runtime/HierarchyOptions.cs b/src/Cuemon.Extensions.Core/Runtime/HierarchyOptions.cs index dea8ef497..887b8fed5 100644 --- a/src/Cuemon.Extensions.Core/Runtime/HierarchyOptions.cs +++ b/src/Cuemon.Extensions.Core/Runtime/HierarchyOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Configuration; using Cuemon.Extensions.Runtime.Serialization; diff --git a/src/Cuemon.Extensions.Core/Runtime/IHierarchy.cs b/src/Cuemon.Extensions.Core/Runtime/IHierarchy.cs index 4139c540e..f0a785e70 100644 --- a/src/Cuemon.Extensions.Core/Runtime/IHierarchy.cs +++ b/src/Cuemon.Extensions.Core/Runtime/IHierarchy.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Reflection; diff --git a/src/Cuemon.Extensions.Core/StringExtensions.cs b/src/Cuemon.Extensions.Core/StringExtensions.cs index 6a83d27eb..2ce977f77 100644 --- a/src/Cuemon.Extensions.Core/StringExtensions.cs +++ b/src/Cuemon.Extensions.Core/StringExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Extensions.Core/TimeSpanExtensions.cs b/src/Cuemon.Extensions.Core/TimeSpanExtensions.cs index 01edc2e04..65050e288 100644 --- a/src/Cuemon.Extensions.Core/TimeSpanExtensions.cs +++ b/src/Cuemon.Extensions.Core/TimeSpanExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions; /// diff --git a/src/Cuemon.Extensions.Core/VerticalDirection.cs b/src/Cuemon.Extensions.Core/VerticalDirection.cs index c467ce8a0..d8f63996e 100644 --- a/src/Cuemon.Extensions.Core/VerticalDirection.cs +++ b/src/Cuemon.Extensions.Core/VerticalDirection.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions; +namespace Cuemon.Extensions; /// /// Specifies a set of values defining a vertical direction. /// diff --git a/src/Cuemon.Extensions.Data.Integrity/AssemblyExtensions.cs b/src/Cuemon.Extensions.Data.Integrity/AssemblyExtensions.cs index 9b7e3c6e3..40b2233a4 100644 --- a/src/Cuemon.Extensions.Data.Integrity/AssemblyExtensions.cs +++ b/src/Cuemon.Extensions.Data.Integrity/AssemblyExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using Cuemon.Data.Integrity; diff --git a/src/Cuemon.Extensions.Data.Integrity/ChecksumBuilderExtensions.cs b/src/Cuemon.Extensions.Data.Integrity/ChecksumBuilderExtensions.cs index d76c6636b..8dfbb4c03 100644 --- a/src/Cuemon.Extensions.Data.Integrity/ChecksumBuilderExtensions.cs +++ b/src/Cuemon.Extensions.Data.Integrity/ChecksumBuilderExtensions.cs @@ -1,4 +1,4 @@ -using Cuemon.Data.Integrity; +using Cuemon.Data.Integrity; namespace Cuemon.Extensions.Data.Integrity; /// diff --git a/src/Cuemon.Extensions.Data.Integrity/DateTimeExtensions.cs b/src/Cuemon.Extensions.Data.Integrity/DateTimeExtensions.cs index 68cc4724e..2b123d8ec 100644 --- a/src/Cuemon.Extensions.Data.Integrity/DateTimeExtensions.cs +++ b/src/Cuemon.Extensions.Data.Integrity/DateTimeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Data.Integrity; using Cuemon.Security; diff --git a/src/Cuemon.Extensions.Data.Integrity/FileInfoExtensions.cs b/src/Cuemon.Extensions.Data.Integrity/FileInfoExtensions.cs index 7c69bf30d..d46c2e0d7 100644 --- a/src/Cuemon.Extensions.Data.Integrity/FileInfoExtensions.cs +++ b/src/Cuemon.Extensions.Data.Integrity/FileInfoExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.Data.Integrity; using Cuemon.Security; diff --git a/src/Cuemon.Extensions.Data/DataReaderExtensions.cs b/src/Cuemon.Extensions.Data/DataReaderExtensions.cs index be7533815..0772d6a61 100644 --- a/src/Cuemon.Extensions.Data/DataReaderExtensions.cs +++ b/src/Cuemon.Extensions.Data/DataReaderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using Cuemon.Data; diff --git a/src/Cuemon.Extensions.Data/DbTypeExtensions.cs b/src/Cuemon.Extensions.Data/DbTypeExtensions.cs index 2f84d4bf8..67112f4d5 100644 --- a/src/Cuemon.Extensions.Data/DbTypeExtensions.cs +++ b/src/Cuemon.Extensions.Data/DbTypeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using Cuemon.Data; diff --git a/src/Cuemon.Extensions.Data/QueryFormatExtensions.cs b/src/Cuemon.Extensions.Data/QueryFormatExtensions.cs index 05079c90c..42938434a 100644 --- a/src/Cuemon.Extensions.Data/QueryFormatExtensions.cs +++ b/src/Cuemon.Extensions.Data/QueryFormatExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Data; diff --git a/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj b/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj index 8721be95d..26bf67baf 100644 --- a/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj +++ b/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj @@ -1,4 +1,4 @@ - + 040bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.DependencyInjection/GlobalSuppressions.cs b/src/Cuemon.Extensions.DependencyInjection/GlobalSuppressions.cs index 883b1b6c7..349ebb909 100644 --- a/src/Cuemon.Extensions.DependencyInjection/GlobalSuppressions.cs +++ b/src/Cuemon.Extensions.DependencyInjection/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Extensions.DependencyInjection/IDependencyInjectionMarker.cs b/src/Cuemon.Extensions.DependencyInjection/IDependencyInjectionMarker.cs index 43b89e83f..1ffed46b3 100644 --- a/src/Cuemon.Extensions.DependencyInjection/IDependencyInjectionMarker.cs +++ b/src/Cuemon.Extensions.DependencyInjection/IDependencyInjectionMarker.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection; +namespace Cuemon.Extensions.DependencyInjection; /// /// Defines a generic way to support multiple implementations of a given service for Microsoft Dependency Injection. /// diff --git a/src/Cuemon.Extensions.DependencyInjection/ServiceOptions.cs b/src/Cuemon.Extensions.DependencyInjection/ServiceOptions.cs index 6407cb1a8..56bb3ffca 100644 --- a/src/Cuemon.Extensions.DependencyInjection/ServiceOptions.cs +++ b/src/Cuemon.Extensions.DependencyInjection/ServiceOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Cuemon.Extensions.DependencyInjection; diff --git a/src/Cuemon.Extensions.DependencyInjection/TypeExtensions.cs b/src/Cuemon.Extensions.DependencyInjection/TypeExtensions.cs index 9cea6bb7c..1f28b3d30 100644 --- a/src/Cuemon.Extensions.DependencyInjection/TypeExtensions.cs +++ b/src/Cuemon.Extensions.DependencyInjection/TypeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; namespace Cuemon.Extensions.DependencyInjection; diff --git a/src/Cuemon.Extensions.DependencyInjection/TypeForwardServiceOptions.cs b/src/Cuemon.Extensions.DependencyInjection/TypeForwardServiceOptions.cs index 41feac160..860630a6f 100644 --- a/src/Cuemon.Extensions.DependencyInjection/TypeForwardServiceOptions.cs +++ b/src/Cuemon.Extensions.DependencyInjection/TypeForwardServiceOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Configuration; diff --git a/src/Cuemon.Extensions.Diagnostics/FileVersionInfoExtensions.cs b/src/Cuemon.Extensions.Diagnostics/FileVersionInfoExtensions.cs index a1473e854..dbfe49421 100644 --- a/src/Cuemon.Extensions.Diagnostics/FileVersionInfoExtensions.cs +++ b/src/Cuemon.Extensions.Diagnostics/FileVersionInfoExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using Cuemon.Reflection; diff --git a/src/Cuemon.Extensions.FileProviders.Physical/Cuemon.Extensions.FileProviders.Physical.csproj b/src/Cuemon.Extensions.FileProviders.Physical/Cuemon.Extensions.FileProviders.Physical.csproj index 49e65e900..c22582f59 100644 --- a/src/Cuemon.Extensions.FileProviders.Physical/Cuemon.Extensions.FileProviders.Physical.csproj +++ b/src/Cuemon.Extensions.FileProviders.Physical/Cuemon.Extensions.FileProviders.Physical.csproj @@ -1,4 +1,4 @@ - + 1e0bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj b/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj index 182741641..4d809ae7a 100644 --- a/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj +++ b/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj @@ -1,4 +1,4 @@ - + 1d0bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.Hosting/Environments.cs b/src/Cuemon.Extensions.Hosting/Environments.cs index ae8e9b128..8a4131941 100644 --- a/src/Cuemon.Extensions.Hosting/Environments.cs +++ b/src/Cuemon.Extensions.Hosting/Environments.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.Hosting; +namespace Cuemon.Extensions.Hosting; /// /// Provides a set of constants for commonly used environment names. /// diff --git a/src/Cuemon.Extensions.Hosting/HostBuilderExtensions.cs b/src/Cuemon.Extensions.Hosting/HostBuilderExtensions.cs index 413a5be38..0cd5d390f 100644 --- a/src/Cuemon.Extensions.Hosting/HostBuilderExtensions.cs +++ b/src/Cuemon.Extensions.Hosting/HostBuilderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Extensions.Collections.Generic; using Microsoft.Extensions.Configuration; diff --git a/src/Cuemon.Extensions.Hosting/HostEnvironmentExtensions.cs b/src/Cuemon.Extensions.Hosting/HostEnvironmentExtensions.cs index 3d1d1887d..b5ab8342a 100644 --- a/src/Cuemon.Extensions.Hosting/HostEnvironmentExtensions.cs +++ b/src/Cuemon.Extensions.Hosting/HostEnvironmentExtensions.cs @@ -1,4 +1,4 @@ -using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Hosting; namespace Cuemon.Extensions.Hosting; diff --git a/src/Cuemon.Extensions.IO/Cuemon.Extensions.IO.csproj b/src/Cuemon.Extensions.IO/Cuemon.Extensions.IO.csproj index c0de63fff..f565b191d 100644 --- a/src/Cuemon.Extensions.IO/Cuemon.Extensions.IO.csproj +++ b/src/Cuemon.Extensions.IO/Cuemon.Extensions.IO.csproj @@ -1,7 +1,7 @@  - net10.0;net9.0;netstandard2.1;netstandard2.0 + net11.0;net10.0;netstandard2.1;netstandard2.0 060bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.IO/StreamExtensions.cs b/src/Cuemon.Extensions.IO/StreamExtensions.cs index 322059186..3f621f58f 100644 --- a/src/Cuemon.Extensions.IO/StreamExtensions.cs +++ b/src/Cuemon.Extensions.IO/StreamExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.IO; using System.Text; @@ -196,7 +196,7 @@ public static Task ToEncodedStringAsync(this Stream value, Action /// Compresses the using the BROTLI algorithm. @@ -311,7 +311,7 @@ public static Task CompressGZipAsync(this Stream value, Action /// Decompresses the using the BROTLI data format specification. diff --git a/src/Cuemon.Extensions.IO/TextReaderExtensions.cs b/src/Cuemon.Extensions.IO/TextReaderExtensions.cs index 48c7af651..45cf9a059 100644 --- a/src/Cuemon.Extensions.IO/TextReaderExtensions.cs +++ b/src/Cuemon.Extensions.IO/TextReaderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; diff --git a/src/Cuemon.Extensions.Net/ByteArrayExtensions.cs b/src/Cuemon.Extensions.Net/ByteArrayExtensions.cs index 032dbd933..554509d2a 100644 --- a/src/Cuemon.Extensions.Net/ByteArrayExtensions.cs +++ b/src/Cuemon.Extensions.Net/ByteArrayExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Text; using Cuemon.Net; diff --git a/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj b/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj index ab802e531..e90c9dec4 100644 --- a/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj +++ b/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj @@ -1,4 +1,4 @@ - + 070bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.Net/DictionaryExtensions.cs b/src/Cuemon.Extensions.Net/DictionaryExtensions.cs index 0cd3988fc..8b0cdbf32 100644 --- a/src/Cuemon.Extensions.Net/DictionaryExtensions.cs +++ b/src/Cuemon.Extensions.Net/DictionaryExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Cuemon.Collections.Specialized; namespace Cuemon.Extensions.Net; diff --git a/src/Cuemon.Extensions.Net/GlobalSuppressions.cs b/src/Cuemon.Extensions.Net/GlobalSuppressions.cs index 141cc4b29..6e85a0338 100644 --- a/src/Cuemon.Extensions.Net/GlobalSuppressions.cs +++ b/src/Cuemon.Extensions.Net/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Extensions.Net/Http/ActiveHandler.cs b/src/Cuemon.Extensions.Net/Http/ActiveHandler.cs index 9fa311905..1b1e00544 100644 --- a/src/Cuemon.Extensions.Net/Http/ActiveHandler.cs +++ b/src/Cuemon.Extensions.Net/Http/ActiveHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions.Net.Http; internal sealed class ActiveHandler diff --git a/src/Cuemon.Extensions.Net/Http/ExpiredHandler.cs b/src/Cuemon.Extensions.Net/Http/ExpiredHandler.cs index e4bc14f46..4b682bd73 100644 --- a/src/Cuemon.Extensions.Net/Http/ExpiredHandler.cs +++ b/src/Cuemon.Extensions.Net/Http/ExpiredHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; namespace Cuemon.Extensions.Net.Http; diff --git a/src/Cuemon.Extensions.Net/Http/HttpManagerFactory.cs b/src/Cuemon.Extensions.Net/Http/HttpManagerFactory.cs index 8f368580e..c73957777 100644 --- a/src/Cuemon.Extensions.Net/Http/HttpManagerFactory.cs +++ b/src/Cuemon.Extensions.Net/Http/HttpManagerFactory.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; using Cuemon.Net.Http; namespace Cuemon.Extensions.Net.Http; diff --git a/src/Cuemon.Extensions.Net/Http/HttpMethodExtensions.cs b/src/Cuemon.Extensions.Net/Http/HttpMethodExtensions.cs index 0e98fa54f..852ef5eed 100644 --- a/src/Cuemon.Extensions.Net/Http/HttpMethodExtensions.cs +++ b/src/Cuemon.Extensions.Net/Http/HttpMethodExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using Cuemon.Net.Http; diff --git a/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactory.cs b/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactory.cs index c46008f2d..cb69d45d6 100644 --- a/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactory.cs +++ b/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactory.cs @@ -6,7 +6,7 @@ using Cuemon.Threading; namespace Cuemon.Extensions.Net.Http; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER /// /// Provides a simple and lightweight implementation of the interface. /// @@ -21,14 +21,14 @@ namespace Cuemon.Extensions.Net.Http; /// Inspiration taken from https://github.com/dotnet/runtime/blob/master/src/libraries/Microsoft.Extensions.Http/src/DefaultHttpClientFactory.cs #endif public class SlimHttpClientFactory : IHttpClientFactory -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER , IHttpMessageHandlerFactory #endif { private readonly ConcurrentDictionary> _activeHandlers = new(); private readonly ConcurrentQueue _expiredHandlers = new(); private readonly Func _handlerFactory; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactoryOptions.cs b/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactoryOptions.cs index 0d428af53..4f7105736 100644 --- a/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactoryOptions.cs +++ b/src/Cuemon.Extensions.Net/Http/SlimHttpClientFactoryOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using Cuemon.Configuration; diff --git a/src/Cuemon.Extensions.Net/Http/TrackingHttpMessageHandler.cs b/src/Cuemon.Extensions.Net/Http/TrackingHttpMessageHandler.cs index 736f11611..c45c621c8 100644 --- a/src/Cuemon.Extensions.Net/Http/TrackingHttpMessageHandler.cs +++ b/src/Cuemon.Extensions.Net/Http/TrackingHttpMessageHandler.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; namespace Cuemon.Extensions.Net.Http; internal sealed class TrackingHttpMessageHandler : DelegatingHandler diff --git a/src/Cuemon.Extensions.Net/Http/UriExtensions.cs b/src/Cuemon.Extensions.Net/Http/UriExtensions.cs index 0e076ac47..d776b2a35 100644 --- a/src/Cuemon.Extensions.Net/Http/UriExtensions.cs +++ b/src/Cuemon.Extensions.Net/Http/UriExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Net; using System.Net.Http; diff --git a/src/Cuemon.Extensions.Net/HttpStatusCodeExtensions.cs b/src/Cuemon.Extensions.Net/HttpStatusCodeExtensions.cs index 800571a43..6a94e2a50 100644 --- a/src/Cuemon.Extensions.Net/HttpStatusCodeExtensions.cs +++ b/src/Cuemon.Extensions.Net/HttpStatusCodeExtensions.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; namespace Cuemon.Extensions.Net; /// diff --git a/src/Cuemon.Extensions.Net/NameValueCollectionExtensions.cs b/src/Cuemon.Extensions.Net/NameValueCollectionExtensions.cs index e3239beb3..2f13d6302 100644 --- a/src/Cuemon.Extensions.Net/NameValueCollectionExtensions.cs +++ b/src/Cuemon.Extensions.Net/NameValueCollectionExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Specialized; +using System.Collections.Specialized; using Cuemon.Net; using Cuemon.Net.Collections.Specialized; diff --git a/src/Cuemon.Extensions.Net/Security/StringExtensions.cs b/src/Cuemon.Extensions.Net/Security/StringExtensions.cs index ff3b23e9e..c224d8c01 100644 --- a/src/Cuemon.Extensions.Net/Security/StringExtensions.cs +++ b/src/Cuemon.Extensions.Net/Security/StringExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Security; using Cuemon.Net; diff --git a/src/Cuemon.Extensions.Net/Security/UriExtensions.cs b/src/Cuemon.Extensions.Net/Security/UriExtensions.cs index e497edc86..487a58531 100644 --- a/src/Cuemon.Extensions.Net/Security/UriExtensions.cs +++ b/src/Cuemon.Extensions.Net/Security/UriExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security; namespace Cuemon.Extensions.Net.Security; diff --git a/src/Cuemon.Extensions.Net/StringExtensions.cs b/src/Cuemon.Extensions.Net/StringExtensions.cs index b238ec8f7..91865f701 100644 --- a/src/Cuemon.Extensions.Net/StringExtensions.cs +++ b/src/Cuemon.Extensions.Net/StringExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Net; using Cuemon.Text; diff --git a/src/Cuemon.Extensions.Reflection/AssemblyExtensions.cs b/src/Cuemon.Extensions.Reflection/AssemblyExtensions.cs index 89e98688c..0c0c09771 100644 --- a/src/Cuemon.Extensions.Reflection/AssemblyExtensions.cs +++ b/src/Cuemon.Extensions.Reflection/AssemblyExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Reflection; diff --git a/src/Cuemon.Extensions.Reflection/MemberInfoExtensions.cs b/src/Cuemon.Extensions.Reflection/MemberInfoExtensions.cs index 3af2d7a65..8635a81f1 100644 --- a/src/Cuemon.Extensions.Reflection/MemberInfoExtensions.cs +++ b/src/Cuemon.Extensions.Reflection/MemberInfoExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Reflection; diff --git a/src/Cuemon.Extensions.Reflection/PropertyInfoExtensions.cs b/src/Cuemon.Extensions.Reflection/PropertyInfoExtensions.cs index 9dc8b13e6..ad27a4626 100644 --- a/src/Cuemon.Extensions.Reflection/PropertyInfoExtensions.cs +++ b/src/Cuemon.Extensions.Reflection/PropertyInfoExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.Reflection; diff --git a/src/Cuemon.Extensions.Reflection/TypeExtensions.cs b/src/Cuemon.Extensions.Reflection/TypeExtensions.cs index 52baf89a5..2a0688de8 100644 --- a/src/Cuemon.Extensions.Reflection/TypeExtensions.cs +++ b/src/Cuemon.Extensions.Reflection/TypeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; diff --git a/src/Cuemon.Extensions.Runtime.Caching/CacheEnumerableExtensions.cs b/src/Cuemon.Extensions.Runtime.Caching/CacheEnumerableExtensions.cs index 003a30713..ce1467582 100644 --- a/src/Cuemon.Extensions.Runtime.Caching/CacheEnumerableExtensions.cs +++ b/src/Cuemon.Extensions.Runtime.Caching/CacheEnumerableExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -711,7 +711,7 @@ public static Func Memoize + a80adf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatter.cs b/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatter.cs index ea2375137..2b237246a 100644 --- a/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatter.cs +++ b/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Text.Json; using System.Text.Json.Serialization; @@ -48,7 +48,7 @@ public override Stream Serialize(object source, Type objectType) Validator.ThrowIfNull(source); Validator.ThrowIfNull(objectType); -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return StreamFactory.Create(writer => { diff --git a/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatterOptions.cs b/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatterOptions.cs index 36cdb0969..4665db3de 100644 --- a/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatterOptions.cs +++ b/src/Cuemon.Extensions.Text.Json/Formatters/JsonFormatterOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net.Http.Headers; using System.Text.Encodings.Web; @@ -15,7 +15,7 @@ namespace Cuemon.Extensions.Text.Json.Formatters; /// public class JsonFormatterOptions : IContentNegotiation, IExceptionDescriptorOptions, IValidatableParameterObject { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly System.Threading.Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Extensions.Text.Json/GlobalSuppressions.cs b/src/Cuemon.Extensions.Text.Json/GlobalSuppressions.cs index 5d5c3bb5b..ac8fb57f9 100644 --- a/src/Cuemon.Extensions.Text.Json/GlobalSuppressions.cs +++ b/src/Cuemon.Extensions.Text.Json/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Extensions.Text.Json/JsonNamingPolicyExtensions.cs b/src/Cuemon.Extensions.Text.Json/JsonNamingPolicyExtensions.cs index 69c457023..b077b32c7 100644 --- a/src/Cuemon.Extensions.Text.Json/JsonNamingPolicyExtensions.cs +++ b/src/Cuemon.Extensions.Text.Json/JsonNamingPolicyExtensions.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; namespace Cuemon.Extensions.Text.Json; /// diff --git a/src/Cuemon.Extensions.Text.Json/JsonSerializerOptionsExtensions.cs b/src/Cuemon.Extensions.Text.Json/JsonSerializerOptionsExtensions.cs index cbcfdf3c0..ea7bb4600 100644 --- a/src/Cuemon.Extensions.Text.Json/JsonSerializerOptionsExtensions.cs +++ b/src/Cuemon.Extensions.Text.Json/JsonSerializerOptionsExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text.Json; namespace Cuemon.Extensions.Text.Json; diff --git a/src/Cuemon.Extensions.Text.Json/Utf8JsonReaderFunc.cs b/src/Cuemon.Extensions.Text.Json/Utf8JsonReaderFunc.cs index e8b8e6579..8ba5aa6d3 100644 --- a/src/Cuemon.Extensions.Text.Json/Utf8JsonReaderFunc.cs +++ b/src/Cuemon.Extensions.Text.Json/Utf8JsonReaderFunc.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterAction.cs b/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterAction.cs index 95b210da8..31a12a059 100644 --- a/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterAction.cs +++ b/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterAction.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; using System.Text.Json.Serialization; namespace Cuemon.Extensions.Text.Json; diff --git a/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterExtensions.cs b/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterExtensions.cs index 276cd14d8..0ecf9e8e8 100644 --- a/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterExtensions.cs +++ b/src/Cuemon.Extensions.Text.Json/Utf8JsonWriterExtensions.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; namespace Cuemon.Extensions.Text.Json; /// diff --git a/src/Cuemon.Extensions.Text/EncodingOptionsExtensions.cs b/src/Cuemon.Extensions.Text/EncodingOptionsExtensions.cs index 93704d058..c7650e8aa 100644 --- a/src/Cuemon.Extensions.Text/EncodingOptionsExtensions.cs +++ b/src/Cuemon.Extensions.Text/EncodingOptionsExtensions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; using Cuemon.Text; diff --git a/src/Cuemon.Extensions.Text/StringExtensions.cs b/src/Cuemon.Extensions.Text/StringExtensions.cs index 340fae0d3..d69f77bab 100644 --- a/src/Cuemon.Extensions.Text/StringExtensions.cs +++ b/src/Cuemon.Extensions.Text/StringExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Text; namespace Cuemon.Extensions.Text; diff --git a/src/Cuemon.Extensions.Threading/Cuemon.Extensions.Threading.csproj b/src/Cuemon.Extensions.Threading/Cuemon.Extensions.Threading.csproj index 97daf2846..cdda66b11 100644 --- a/src/Cuemon.Extensions.Threading/Cuemon.Extensions.Threading.csproj +++ b/src/Cuemon.Extensions.Threading/Cuemon.Extensions.Threading.csproj @@ -1,4 +1,4 @@ - + 180bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.Extensions.Threading/Tasks/TaskExtensions.cs b/src/Cuemon.Extensions.Threading/Tasks/TaskExtensions.cs index 372839e80..a96d9bcd4 100644 --- a/src/Cuemon.Extensions.Threading/Tasks/TaskExtensions.cs +++ b/src/Cuemon.Extensions.Threading/Tasks/TaskExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace Cuemon.Extensions.Threading.Tasks; diff --git a/src/Cuemon.Extensions.Xml/ByteArrayExtensions.cs b/src/Cuemon.Extensions.Xml/ByteArrayExtensions.cs index 2ad2dc702..65e14276c 100644 --- a/src/Cuemon.Extensions.Xml/ByteArrayExtensions.cs +++ b/src/Cuemon.Extensions.Xml/ByteArrayExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; namespace Cuemon.Extensions.Xml; diff --git a/src/Cuemon.Extensions.Xml/DateTimeExtensions.cs b/src/Cuemon.Extensions.Xml/DateTimeExtensions.cs index 065ef7bf4..6864cb44e 100644 --- a/src/Cuemon.Extensions.Xml/DateTimeExtensions.cs +++ b/src/Cuemon.Extensions.Xml/DateTimeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; namespace Cuemon.Extensions.Xml; diff --git a/src/Cuemon.Extensions.Xml/Linq/StringExtensions.cs b/src/Cuemon.Extensions.Xml/Linq/StringExtensions.cs index 41e10638e..d96acedf3 100644 --- a/src/Cuemon.Extensions.Xml/Linq/StringExtensions.cs +++ b/src/Cuemon.Extensions.Xml/Linq/StringExtensions.cs @@ -1,4 +1,4 @@ -using System.Xml.Linq; +using System.Xml.Linq; using Cuemon.Xml.Linq; namespace Cuemon.Extensions.Xml.Linq; diff --git a/src/Cuemon.Extensions.Xml/Serialization/XmlSerializerOptionsExtensions.cs b/src/Cuemon.Extensions.Xml/Serialization/XmlSerializerOptionsExtensions.cs index 267fcb94f..e6cee8dca 100644 --- a/src/Cuemon.Extensions.Xml/Serialization/XmlSerializerOptionsExtensions.cs +++ b/src/Cuemon.Extensions.Xml/Serialization/XmlSerializerOptionsExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Xml.Serialization; namespace Cuemon.Extensions.Xml.Serialization; diff --git a/src/Cuemon.Extensions.Xml/StreamExtensions.cs b/src/Cuemon.Extensions.Xml/StreamExtensions.cs index 007462dbc..b60787d4a 100644 --- a/src/Cuemon.Extensions.Xml/StreamExtensions.cs +++ b/src/Cuemon.Extensions.Xml/StreamExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Text; using System.Xml; diff --git a/src/Cuemon.Extensions.Xml/StringExtensions.cs b/src/Cuemon.Extensions.Xml/StringExtensions.cs index ff32539b2..b6063cccb 100644 --- a/src/Cuemon.Extensions.Xml/StringExtensions.cs +++ b/src/Cuemon.Extensions.Xml/StringExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Xml; namespace Cuemon.Extensions.Xml; diff --git a/src/Cuemon.Extensions.Xml/UriExtensions.cs b/src/Cuemon.Extensions.Xml/UriExtensions.cs index 1a7657d55..39232318a 100644 --- a/src/Cuemon.Extensions.Xml/UriExtensions.cs +++ b/src/Cuemon.Extensions.Xml/UriExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; namespace Cuemon.Extensions.Xml; diff --git a/src/Cuemon.Extensions.Xml/XmlCopyOptions.cs b/src/Cuemon.Extensions.Xml/XmlCopyOptions.cs index ab8afcc36..f702ef97e 100644 --- a/src/Cuemon.Extensions.Xml/XmlCopyOptions.cs +++ b/src/Cuemon.Extensions.Xml/XmlCopyOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; namespace Cuemon.Extensions.Xml; diff --git a/src/Cuemon.Extensions.Xml/XmlReaderExtensions.cs b/src/Cuemon.Extensions.Xml/XmlReaderExtensions.cs index b3454a952..8e76031aa 100644 --- a/src/Cuemon.Extensions.Xml/XmlReaderExtensions.cs +++ b/src/Cuemon.Extensions.Xml/XmlReaderExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Xml; diff --git a/src/Cuemon.Extensions.Xml/XmlWriterExtensions.cs b/src/Cuemon.Extensions.Xml/XmlWriterExtensions.cs index fda4a6a18..9747cceee 100644 --- a/src/Cuemon.Extensions.Xml/XmlWriterExtensions.cs +++ b/src/Cuemon.Extensions.Xml/XmlWriterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; using Cuemon.Xml; using Cuemon.Xml.Serialization; diff --git a/src/Cuemon.IO/AsyncDisposableOptions.cs b/src/Cuemon.IO/AsyncDisposableOptions.cs index ab8860c0c..8037d6434 100644 --- a/src/Cuemon.IO/AsyncDisposableOptions.cs +++ b/src/Cuemon.IO/AsyncDisposableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Threading; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/AsyncStreamCompressionOptions.cs b/src/Cuemon.IO/AsyncStreamCompressionOptions.cs index 265ad05ab..f5be67f95 100644 --- a/src/Cuemon.IO/AsyncStreamCompressionOptions.cs +++ b/src/Cuemon.IO/AsyncStreamCompressionOptions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.IO.Compression; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/AsyncStreamCopyOptions.cs b/src/Cuemon.IO/AsyncStreamCopyOptions.cs index cf16148aa..90e5adee9 100644 --- a/src/Cuemon.IO/AsyncStreamCopyOptions.cs +++ b/src/Cuemon.IO/AsyncStreamCopyOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/AsyncStreamEncodingOptions.cs b/src/Cuemon.IO/AsyncStreamEncodingOptions.cs index 2fe09e59e..4c4fc0795 100644 --- a/src/Cuemon.IO/AsyncStreamEncodingOptions.cs +++ b/src/Cuemon.IO/AsyncStreamEncodingOptions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; using Cuemon.Text; diff --git a/src/Cuemon.IO/AsyncStreamReaderOptions.cs b/src/Cuemon.IO/AsyncStreamReaderOptions.cs index aa473594d..05f8bc813 100644 --- a/src/Cuemon.IO/AsyncStreamReaderOptions.cs +++ b/src/Cuemon.IO/AsyncStreamReaderOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.Text; diff --git a/src/Cuemon.IO/BufferWriterOptions.cs b/src/Cuemon.IO/BufferWriterOptions.cs index 18e385ccb..eb78a641a 100644 --- a/src/Cuemon.IO/BufferWriterOptions.cs +++ b/src/Cuemon.IO/BufferWriterOptions.cs @@ -1,4 +1,4 @@ -#if NETSTANDARD2_1_OR_GREATER || NET9_0_OR_GREATER +#if NETSTANDARD2_1_OR_GREATER || NET10_0_OR_GREATER using System.Buffers; using Cuemon.Text; diff --git a/src/Cuemon.IO/Cuemon.IO.csproj b/src/Cuemon.IO/Cuemon.IO.csproj index 8dfa5a5a3..d15b13f84 100644 --- a/src/Cuemon.IO/Cuemon.IO.csproj +++ b/src/Cuemon.IO/Cuemon.IO.csproj @@ -1,7 +1,7 @@  - net10.0;net9.0;netstandard2.1;netstandard2.0 + net11.0;net10.0;netstandard2.1;netstandard2.0 170bdf91-e7c7-4cb4-a39d-e1a5374c5602 diff --git a/src/Cuemon.IO/Extensions/StreamDecoratorExtensions.cs b/src/Cuemon.IO/Extensions/StreamDecoratorExtensions.cs index f667d4d8a..16100c1b4 100644 --- a/src/Cuemon.IO/Extensions/StreamDecoratorExtensions.cs +++ b/src/Cuemon.IO/Extensions/StreamDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.IO; using System.IO.Compression; @@ -113,7 +113,11 @@ private static async Task ToByteArrayAsyncCore(this IDecorator d { if (!options.LeaveOpen) { +#if NET10_0_OR_GREATER + if (decorator.Inner != null) { await decorator.Inner.DisposeAsync().ConfigureAwait(false); } +#else decorator.Inner.Dispose(); +#endif } } } @@ -203,7 +207,7 @@ private static async Task ToEncodedStringAsyncCore(this IDecorator /// Compress the enclosed of the specified using the Brotli algorithm. @@ -460,7 +464,7 @@ private static Task CompressAsync(IDecorator decorator, Async { return AsyncPatterns.SafeInvokeAsync(() => new MemoryStream(), async (target, ct) => { -#if NETSTANDARD2_1_OR_GREATER || NET9_0_OR_GREATER +#if NETSTANDARD2_1_OR_GREATER || NET10_0_OR_GREATER await using (var compressed = decompressor(target, options.Level, true)) { await Decorator.Enclose(decorator.Inner).CopyStreamAsync(compressed, options.BufferSize, ct: ct).ConfigureAwait(false); @@ -496,7 +500,7 @@ private static Task DecompressAsync(IDecorator decorator, Asy { return AsyncPatterns.SafeInvokeAsync(() => new MemoryStream(), async (target, ct) => { -#if NETSTANDARD2_1_OR_GREATER || NET9_0_OR_GREATER +#if NETSTANDARD2_1_OR_GREATER || NET10_0_OR_GREATER await using (var uncompressed = compressor(decorator.Inner, CompressionMode.Decompress, true)) { await Decorator.Enclose(uncompressed).CopyStreamAsync(target, options.BufferSize, ct: ct).ConfigureAwait(false); diff --git a/src/Cuemon.IO/Extensions/TextReaderDecoratorExtensions.cs b/src/Cuemon.IO/Extensions/TextReaderDecoratorExtensions.cs index 312f82562..4eeef8879 100644 --- a/src/Cuemon.IO/Extensions/TextReaderDecoratorExtensions.cs +++ b/src/Cuemon.IO/Extensions/TextReaderDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Threading.Tasks; diff --git a/src/Cuemon.IO/FileInfoOptions.cs b/src/Cuemon.IO/FileInfoOptions.cs index 3ed4c0971..d32e33283 100644 --- a/src/Cuemon.IO/FileInfoOptions.cs +++ b/src/Cuemon.IO/FileInfoOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.Configuration; diff --git a/src/Cuemon.IO/GlobalSuppressions.cs b/src/Cuemon.IO/GlobalSuppressions.cs index 64c2214da..6151ea393 100644 --- a/src/Cuemon.IO/GlobalSuppressions.cs +++ b/src/Cuemon.IO/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.IO/InternalStreamWriter.cs b/src/Cuemon.IO/InternalStreamWriter.cs index 966364081..a9b5f13bf 100644 --- a/src/Cuemon.IO/InternalStreamWriter.cs +++ b/src/Cuemon.IO/InternalStreamWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/StreamCompressionOptions.cs b/src/Cuemon.IO/StreamCompressionOptions.cs index 81dc65b21..7d63b4898 100644 --- a/src/Cuemon.IO/StreamCompressionOptions.cs +++ b/src/Cuemon.IO/StreamCompressionOptions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.IO.Compression; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/StreamCopyOptions.cs b/src/Cuemon.IO/StreamCopyOptions.cs index e80121660..74906ed16 100644 --- a/src/Cuemon.IO/StreamCopyOptions.cs +++ b/src/Cuemon.IO/StreamCopyOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/StreamEncodingOptions.cs b/src/Cuemon.IO/StreamEncodingOptions.cs index a549fb5a1..949e84c7e 100644 --- a/src/Cuemon.IO/StreamEncodingOptions.cs +++ b/src/Cuemon.IO/StreamEncodingOptions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; using Cuemon.Text; diff --git a/src/Cuemon.IO/StreamFactory.cs b/src/Cuemon.IO/StreamFactory.cs index 65b56f4d0..bd342e9d8 100644 --- a/src/Cuemon.IO/StreamFactory.cs +++ b/src/Cuemon.IO/StreamFactory.cs @@ -1,5 +1,5 @@ -using System; -#if NETSTANDARD2_1_OR_GREATER || NET9_0_OR_GREATER +using System; +#if NETSTANDARD2_1_OR_GREATER || NET10_0_OR_GREATER using System.Buffers; #endif using System.Collections.Generic; @@ -114,7 +114,7 @@ public static Stream Create(Action /// Creates and returns a by the specified delegate . diff --git a/src/Cuemon.IO/StreamReaderOptions.cs b/src/Cuemon.IO/StreamReaderOptions.cs index 57de8cdc7..e03b0f6c5 100644 --- a/src/Cuemon.IO/StreamReaderOptions.cs +++ b/src/Cuemon.IO/StreamReaderOptions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Cuemon.Text; namespace Cuemon.IO; diff --git a/src/Cuemon.IO/StreamWriterOptions.cs b/src/Cuemon.IO/StreamWriterOptions.cs index 981897fb4..7f1668527 100644 --- a/src/Cuemon.IO/StreamWriterOptions.cs +++ b/src/Cuemon.IO/StreamWriterOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.IO; using Cuemon.Text; diff --git a/src/Cuemon.Kernel/ArgumentReservedKeywordException.cs b/src/Cuemon.Kernel/ArgumentReservedKeywordException.cs index 7778e6cbb..59d8a34fe 100644 --- a/src/Cuemon.Kernel/ArgumentReservedKeywordException.cs +++ b/src/Cuemon.Kernel/ArgumentReservedKeywordException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/Condition.cs b/src/Cuemon.Kernel/Condition.cs index 0eea5050f..f5c1788e3 100644 --- a/src/Cuemon.Kernel/Condition.cs +++ b/src/Cuemon.Kernel/Condition.cs @@ -277,7 +277,7 @@ public static bool HasConsecutiveCharacters(string value, char character, int le public static bool IsBase64(string value) { if (string.IsNullOrEmpty(value)) { return false; } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return System.Buffers.Text.Base64.IsValid(value.AsSpan()); #else return Patterns.TryInvoke(() => Convert.FromBase64String(value), out _); @@ -884,7 +884,7 @@ public static bool HasDifference(string first, string second, out string differe { first ??= string.Empty; second ??= string.Empty; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return HasDifferenceCore(first, second, out difference); #else difference = string.Concat(second.Except(first)); @@ -892,7 +892,7 @@ public static bool HasDifference(string first, string second, out string differe #endif } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private static bool HasDifferenceCore(string first, string second, out string difference) { if (second.Length == 0) diff --git a/src/Cuemon.Kernel/ConditionalValue.cs b/src/Cuemon.Kernel/ConditionalValue.cs index 885a283ca..f6de02a8f 100644 --- a/src/Cuemon.Kernel/ConditionalValue.cs +++ b/src/Cuemon.Kernel/ConditionalValue.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/Configuration/IParameterObject.cs b/src/Cuemon.Kernel/Configuration/IParameterObject.cs index 71950a465..8f671212e 100644 --- a/src/Cuemon.Kernel/Configuration/IParameterObject.cs +++ b/src/Cuemon.Kernel/Configuration/IParameterObject.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Configuration; +namespace Cuemon.Configuration; /// /// A marker interface that denotes a Parameter Object. /// diff --git a/src/Cuemon.Kernel/Configuration/IPostConfigurableParameterObject.cs b/src/Cuemon.Kernel/Configuration/IPostConfigurableParameterObject.cs index 08b754440..794236819 100644 --- a/src/Cuemon.Kernel/Configuration/IPostConfigurableParameterObject.cs +++ b/src/Cuemon.Kernel/Configuration/IPostConfigurableParameterObject.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Configuration; +namespace Cuemon.Configuration; /// /// Denotes a Parameter Object that supports post-configuration logic after its public properties have been set. /// diff --git a/src/Cuemon.Kernel/Configuration/IValidatableParameterObject.cs b/src/Cuemon.Kernel/Configuration/IValidatableParameterObject.cs index 56dc5cc38..56dd23014 100644 --- a/src/Cuemon.Kernel/Configuration/IValidatableParameterObject.cs +++ b/src/Cuemon.Kernel/Configuration/IValidatableParameterObject.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Configuration; +namespace Cuemon.Configuration; /// /// Denotes a Parameter Object where one or more conditions can be verified that they are in a valid state. /// diff --git a/src/Cuemon.Kernel/Convertible.cs b/src/Cuemon.Kernel/Convertible.cs index f302a42f5..0dbd1893c 100644 --- a/src/Cuemon.Kernel/Convertible.cs +++ b/src/Cuemon.Kernel/Convertible.cs @@ -300,7 +300,7 @@ public static byte[] GetBytes(long input, Action setup = null) /// A byte array that represents . public static byte[] GetBytes(sbyte input, Action setup = null) { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return GetBytesCore(input, x => BitConverter.GetBytes((short)x), setup); #else return GetBytesCore(input, x => BitConverter.GetBytes(x), setup); diff --git a/src/Cuemon.Kernel/ConvertibleOptions.cs b/src/Cuemon.Kernel/ConvertibleOptions.cs index a63e6a8c5..29abff408 100644 --- a/src/Cuemon.Kernel/ConvertibleOptions.cs +++ b/src/Cuemon.Kernel/ConvertibleOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Configuration options for . /// diff --git a/src/Cuemon.Core/DateSpan.cs b/src/Cuemon.Kernel/DateSpan.cs similarity index 98% rename from src/Cuemon.Core/DateSpan.cs rename to src/Cuemon.Kernel/DateSpan.cs index 160b2c2ac..06b958334 100644 --- a/src/Cuemon.Core/DateSpan.cs +++ b/src/Cuemon.Kernel/DateSpan.cs @@ -1,8 +1,7 @@ -using System; +using System; using System.Globalization; using System.Linq; using Cuemon.Collections.Generic; -using Cuemon.Security; namespace Cuemon; /// @@ -14,8 +13,8 @@ namespace Cuemon; private readonly DateTime _upper; private readonly Calendar _calendar; private readonly ulong _calendarId; - private static readonly ulong Hash = (ulong)new FowlerNollVo64().OffsetBasis; - private static readonly ulong Prime = (ulong)new FowlerNollVo64().Prime; + private const ulong Hash = 14695981039346656037; + private const ulong Prime = 1099511628211; /// /// Initializes a new instance of the structure with a default value set to . @@ -217,7 +216,7 @@ public int GetWeeks() /// Returns a hash code for this instance. /// /// - /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// public override int GetHashCode() { @@ -322,7 +321,7 @@ public static DateSpan Parse(string start, string end, CultureInfo culture) /// Converts the value of the current object to its equivalent string representation. /// /// - /// The representation of the current value. + /// The representation of the current value. /// /// The returned string has the following format: y*:MM:dd:hh:mm:ss.f*, where y* is the actual calculated years and f* is the actual calculated milliseconds. public override string ToString() diff --git a/src/Cuemon.Core/DateTimeRange.cs b/src/Cuemon.Kernel/DateTimeRange.cs similarity index 98% rename from src/Cuemon.Core/DateTimeRange.cs rename to src/Cuemon.Kernel/DateTimeRange.cs index f55a1d3aa..4fa411c8a 100644 --- a/src/Cuemon.Core/DateTimeRange.cs +++ b/src/Cuemon.Kernel/DateTimeRange.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace Cuemon; diff --git a/src/Cuemon.Kernel/Decorator.cs b/src/Cuemon.Kernel/Decorator.cs index 0a270f41f..463ae62cb 100644 --- a/src/Cuemon.Kernel/Decorator.cs +++ b/src/Cuemon.Kernel/Decorator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; namespace Cuemon; diff --git a/src/Cuemon.Core/DelimitedString.cs b/src/Cuemon.Kernel/DelimitedString.cs similarity index 100% rename from src/Cuemon.Core/DelimitedString.cs rename to src/Cuemon.Kernel/DelimitedString.cs diff --git a/src/Cuemon.Core/DelimitedStringOptions.cs b/src/Cuemon.Kernel/DelimitedStringOptions.cs similarity index 99% rename from src/Cuemon.Core/DelimitedStringOptions.cs rename to src/Cuemon.Kernel/DelimitedStringOptions.cs index 7fb04e2d5..75636dd23 100644 --- a/src/Cuemon.Core/DelimitedStringOptions.cs +++ b/src/Cuemon.Kernel/DelimitedStringOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Cuemon.Configuration; diff --git a/src/Cuemon.Kernel/Disposable.cs b/src/Cuemon.Kernel/Disposable.cs index 9a5d01376..c02cbad40 100644 --- a/src/Cuemon.Kernel/Disposable.cs +++ b/src/Cuemon.Kernel/Disposable.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// @@ -7,7 +7,7 @@ namespace Cuemon; /// public abstract class Disposable : IDisposable { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly System.Threading.Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Kernel/DisposableOptions.cs b/src/Cuemon.Kernel/DisposableOptions.cs index 34fa60fee..4564e28ec 100644 --- a/src/Cuemon.Kernel/DisposableOptions.cs +++ b/src/Cuemon.Kernel/DisposableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon; diff --git a/src/Cuemon.Kernel/EndianOptions.cs b/src/Cuemon.Kernel/EndianOptions.cs index 504da0a1e..4e4eba604 100644 --- a/src/Cuemon.Kernel/EndianOptions.cs +++ b/src/Cuemon.Kernel/EndianOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon; diff --git a/src/Cuemon.Kernel/Endianness.cs b/src/Cuemon.Kernel/Endianness.cs index 67825678c..a338d89df 100644 --- a/src/Cuemon.Kernel/Endianness.cs +++ b/src/Cuemon.Kernel/Endianness.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Defines the order in which a sequence of bytes are represented. /// diff --git a/src/Cuemon.Kernel/ExceptionCondition.cs b/src/Cuemon.Kernel/ExceptionCondition.cs index a8146a77b..a31e24e03 100644 --- a/src/Cuemon.Kernel/ExceptionCondition.cs +++ b/src/Cuemon.Kernel/ExceptionCondition.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/FinalizeDisposable.cs b/src/Cuemon.Kernel/FinalizeDisposable.cs index 8316d1259..c56cede54 100644 --- a/src/Cuemon.Kernel/FinalizeDisposable.cs +++ b/src/Cuemon.Kernel/FinalizeDisposable.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Provides a mechanism for releasing both managed and unmanaged resources with focus on the latter. /// Implements the diff --git a/src/Cuemon.Core/FormattingOptions.cs b/src/Cuemon.Kernel/FormattingOptions.cs similarity index 98% rename from src/Cuemon.Core/FormattingOptions.cs rename to src/Cuemon.Kernel/FormattingOptions.cs index 2af4e5b3e..825d472e1 100644 --- a/src/Cuemon.Core/FormattingOptions.cs +++ b/src/Cuemon.Kernel/FormattingOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Cuemon.Configuration; diff --git a/src/Cuemon.Kernel/GlobalSuppressions.cs b/src/Cuemon.Kernel/GlobalSuppressions.cs index 7ce0509d8..00947b8da 100644 --- a/src/Cuemon.Kernel/GlobalSuppressions.cs +++ b/src/Cuemon.Kernel/GlobalSuppressions.cs @@ -5,5 +5,7 @@ using System.Diagnostics.CodeAnalysis; +[assembly: SuppressMessage("Major Code Smell", "S3881:\"IDisposable\" should be implemented correctly", Justification = "Dispose(bool) is intentionally non-virtual to centralize disposal state, synchronization, and cleanup exception handling; derived classes extend cleanup through OnDisposeManagedResources and OnDisposeUnmanagedResources.", Scope = "type", Target = "~T:Cuemon.Disposable")] +[assembly: SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "Delegates to the overload that explicitly uses CultureInfo.InvariantCulture; callers can specify a culture through the three-argument overload.", Scope = "member", Target = "~M:Cuemon.DateSpan.Parse(System.String)~Cuemon.DateSpan")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "By design.", Scope = "namespace", Target = "~N:System.Runtime.CompilerServices")] [assembly: SuppressMessage("Style", "IDE0130:Namespace does not match folder structure", Justification = "By design.", Scope = "namespace", Target = "~N:Cuemon.IO")] diff --git a/src/Cuemon.Kernel/GuidFormats.cs b/src/Cuemon.Kernel/GuidFormats.cs index 5c87f3ac2..d4633f804 100644 --- a/src/Cuemon.Kernel/GuidFormats.cs +++ b/src/Cuemon.Kernel/GuidFormats.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/IDecorator.cs b/src/Cuemon.Kernel/IDecorator.cs index 143e135c5..5d28c06cd 100644 --- a/src/Cuemon.Kernel/IDecorator.cs +++ b/src/Cuemon.Kernel/IDecorator.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Defines a decorator that exposes the inner wrapped type. /// diff --git a/src/Cuemon.Kernel/Patterns.cs b/src/Cuemon.Kernel/Patterns.cs index 129545cb4..0e1df96b4 100644 --- a/src/Cuemon.Kernel/Patterns.cs +++ b/src/Cuemon.Kernel/Patterns.cs @@ -148,9 +148,7 @@ public static Action ConfigureExchange(Action + initializer ??= (i, o) => { var match = false; var typeOfInput = typeof(TSource); @@ -172,7 +170,6 @@ public static Action ConfigureExchange(Action pi.Name))}) with {nameof(TResult)} ({string.Join(", ", ops.Select(pi => pi.Name))}); no match on public read-write properties.")); } }; - } return oo => initializer(io, oo); } diff --git a/src/Cuemon.Core/Range.cs b/src/Cuemon.Kernel/Range.cs similarity index 99% rename from src/Cuemon.Core/Range.cs rename to src/Cuemon.Kernel/Range.cs index 0d0cc049a..d8dedc0bf 100644 --- a/src/Cuemon.Core/Range.cs +++ b/src/Cuemon.Kernel/Range.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon; diff --git a/src/Cuemon.Kernel/SuccessfulValue.cs b/src/Cuemon.Kernel/SuccessfulValue.cs index 890fb07c9..ddcb6cf7d 100644 --- a/src/Cuemon.Kernel/SuccessfulValue.cs +++ b/src/Cuemon.Kernel/SuccessfulValue.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Provides a way to indicate a successful operation. This class cannot be inherited. /// diff --git a/src/Cuemon.Kernel/TesterFunc.cs b/src/Cuemon.Kernel/TesterFunc.cs index 2d246ed02..4bfe3899a 100644 --- a/src/Cuemon.Kernel/TesterFunc.cs +++ b/src/Cuemon.Kernel/TesterFunc.cs @@ -1,4 +1,4 @@ -namespace Cuemon; +namespace Cuemon; /// /// Encapsulates a method and returns a value that indicates success of the type specified by the parameter and returns a out result value of the type specified by the parameter. /// diff --git a/src/Cuemon.Kernel/Text/FallbackEncodingOptions.cs b/src/Cuemon.Kernel/Text/FallbackEncodingOptions.cs index c955aee5f..a173ceb87 100644 --- a/src/Cuemon.Kernel/Text/FallbackEncodingOptions.cs +++ b/src/Cuemon.Kernel/Text/FallbackEncodingOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; namespace Cuemon.Text; diff --git a/src/Cuemon.Kernel/Text/IEncodingOptions.cs b/src/Cuemon.Kernel/Text/IEncodingOptions.cs index 990e0c35b..9dedf669a 100644 --- a/src/Cuemon.Kernel/Text/IEncodingOptions.cs +++ b/src/Cuemon.Kernel/Text/IEncodingOptions.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; namespace Cuemon.Text; /// diff --git a/src/Cuemon.Kernel/Text/PreambleSequence.cs b/src/Cuemon.Kernel/Text/PreambleSequence.cs index c6e33ad37..14421c169 100644 --- a/src/Cuemon.Kernel/Text/PreambleSequence.cs +++ b/src/Cuemon.Kernel/Text/PreambleSequence.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Text; +namespace Cuemon.Text; /// /// Specifies what action to take in regards to encoding preamble sequences. /// diff --git a/src/Cuemon.Kernel/Threading/AsyncOptions.cs b/src/Cuemon.Kernel/Threading/AsyncOptions.cs index 233ea4177..8faa20b85 100644 --- a/src/Cuemon.Kernel/Threading/AsyncOptions.cs +++ b/src/Cuemon.Kernel/Threading/AsyncOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using Cuemon.Configuration; diff --git a/src/Cuemon.Kernel/Threading/Awaiter.cs b/src/Cuemon.Kernel/Threading/Awaiter.cs index 32535d265..c886d34fd 100644 --- a/src/Cuemon.Kernel/Threading/Awaiter.cs +++ b/src/Cuemon.Kernel/Threading/Awaiter.cs @@ -72,7 +72,7 @@ private static async Task RunUntilSuccessfulOrTimeoutCoreAsync attemptToken.ThrowIfCancellationRequested(); attemptCount++; TimeSpan retryDelay; - var stopAfterDelay = false; + bool stopAfterDelay; ConditionalValue conditionalValue; try @@ -134,7 +134,7 @@ private static bool TryGetRetryDelay(long startedAt, AsyncRunOptions options, in private static TimeSpan GetElapsedTime(long startedAt) { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER return Stopwatch.GetElapsedTime(startedAt); #else var elapsedTimestamp = Stopwatch.GetTimestamp() - startedAt; diff --git a/src/Cuemon.Core/TimeRange.cs b/src/Cuemon.Kernel/TimeRange.cs similarity index 65% rename from src/Cuemon.Core/TimeRange.cs rename to src/Cuemon.Kernel/TimeRange.cs index 71efb84c4..2460b723a 100644 --- a/src/Cuemon.Core/TimeRange.cs +++ b/src/Cuemon.Kernel/TimeRange.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace Cuemon; @@ -12,11 +12,8 @@ public class TimeRange : Range /// /// The start of a time range. /// The end of a time range. - public TimeRange(TimeSpan start, TimeSpan end) : this(start, end, () => end.Subtract(start)) - { - } - - internal TimeRange(TimeSpan start, TimeSpan end, Func duration) : base(start, end, duration) + /// A function delegate that returns the duration of the time range. If not provided, the duration is calculated as the difference between and . + public TimeRange(TimeSpan start, TimeSpan end, Func duration = null) : base(start, end, duration ?? (() => end.Subtract(start))) { } diff --git a/src/Cuemon.Core/TimeUnit.cs b/src/Cuemon.Kernel/TimeUnit.cs similarity index 97% rename from src/Cuemon.Core/TimeUnit.cs rename to src/Cuemon.Kernel/TimeUnit.cs index d72130f66..1b11290e0 100644 --- a/src/Cuemon.Core/TimeUnit.cs +++ b/src/Cuemon.Kernel/TimeUnit.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/TypeArgumentException.cs b/src/Cuemon.Kernel/TypeArgumentException.cs index 16f532684..18e04aa9f 100644 --- a/src/Cuemon.Kernel/TypeArgumentException.cs +++ b/src/Cuemon.Kernel/TypeArgumentException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/TypeArgumentOutOfRangeException.cs b/src/Cuemon.Kernel/TypeArgumentOutOfRangeException.cs index cbf863b6e..7d1bc96cc 100644 --- a/src/Cuemon.Kernel/TypeArgumentOutOfRangeException.cs +++ b/src/Cuemon.Kernel/TypeArgumentOutOfRangeException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/UnsuccessfulValue.cs b/src/Cuemon.Kernel/UnsuccessfulValue.cs index 341f5c8b4..9e438e990 100644 --- a/src/Cuemon.Kernel/UnsuccessfulValue.cs +++ b/src/Cuemon.Kernel/UnsuccessfulValue.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon; /// diff --git a/src/Cuemon.Kernel/Validator.cs b/src/Cuemon.Kernel/Validator.cs index 38b61476b..0882b0c5d 100644 --- a/src/Cuemon.Kernel/Validator.cs +++ b/src/Cuemon.Kernel/Validator.cs @@ -1183,7 +1183,7 @@ public static void ThrowWhen(Action> condi private static bool ContainsAny(string argument, char[] characters, StringComparison comparison) { if (argument == null) { return false; } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER var span = argument.AsSpan(); Span candidate = stackalloc char[1]; for (var j = 0; j < characters.Length; j++) diff --git a/src/Cuemon.Net/Extensions/ByteArrayDecoratorExtensions.cs b/src/Cuemon.Net/Extensions/ByteArrayDecoratorExtensions.cs index 1e5562619..cf7d25690 100644 --- a/src/Cuemon.Net/Extensions/ByteArrayDecoratorExtensions.cs +++ b/src/Cuemon.Net/Extensions/ByteArrayDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using Cuemon.IO; using Cuemon.Text; diff --git a/src/Cuemon.Net/Extensions/Collections/Specialized/NameValueCollectionDecoratorExtensions.cs b/src/Cuemon.Net/Extensions/Collections/Specialized/NameValueCollectionDecoratorExtensions.cs index 7f139a7d9..8723b47fc 100644 --- a/src/Cuemon.Net/Extensions/Collections/Specialized/NameValueCollectionDecoratorExtensions.cs +++ b/src/Cuemon.Net/Extensions/Collections/Specialized/NameValueCollectionDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Specialized; using System.ComponentModel; using System.Globalization; diff --git a/src/Cuemon.Net/Extensions/StringDecoratorExtensions.cs b/src/Cuemon.Net/Extensions/StringDecoratorExtensions.cs index 300cf4e65..ffa4a8452 100644 --- a/src/Cuemon.Net/Extensions/StringDecoratorExtensions.cs +++ b/src/Cuemon.Net/Extensions/StringDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Text; diff --git a/src/Cuemon.Net/FieldValueSeparator.cs b/src/Cuemon.Net/FieldValueSeparator.cs index 271c237e8..5292a57f3 100644 --- a/src/Cuemon.Net/FieldValueSeparator.cs +++ b/src/Cuemon.Net/FieldValueSeparator.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Net; +namespace Cuemon.Net; /// /// Specifies a range of key-value separators. /// diff --git a/src/Cuemon.Net/GlobalSuppressions.cs b/src/Cuemon.Net/GlobalSuppressions.cs index 5dd8343eb..24e5bc0a3 100644 --- a/src/Cuemon.Net/GlobalSuppressions.cs +++ b/src/Cuemon.Net/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. @@ -7,7 +7,6 @@ [assembly: SuppressMessage("Major Code Smell", "S3925:\"ISerializable\" should be implemented correctly", Justification = "PlatformNotSupportedException", Scope = "type", Target = "~T:Cuemon.Net.QueryStringCollection")] [assembly: SuppressMessage("Critical Code Smell", "S3776:Cognitive Complexity of methods should not be too high", Justification = "https://github.com/mono/mono/blob/da11592cbea4269971f4b1f9624769a85cc10660/mcs/class/System.Web/System.Web/HttpUtility.cs", Scope = "member", Target = "~M:Cuemon.Net.StringDecoratorExtensions.UrlDecode(Cuemon.IDecorator{System.String},System.Action{Cuemon.Text.EncodingOptions})~System.String")] -[assembly: SuppressMessage("Usage", "CA2249:Consider using 'string.Contains' instead of 'string.IndexOf'", Justification = "False-Positive. Contains does not support char.", Scope = "member", Target = "~M:Cuemon.Net.StringDecoratorExtensions.UrlDecode(Cuemon.IDecorator{System.String},System.Action{Cuemon.Text.EncodingOptions})~System.String")] [assembly: SuppressMessage("Major Bug", "S2259:Null pointers should not be dereferenced", Justification = "False-Positive; if hasUtcLastModified is false, hasEntityTag has to be true - otherwise an exception is thrown.", Scope = "member", Target = "~M:Cuemon.Net.Http.HttpWatcher.FetchUsingHttpHeadAsync(Cuemon.Net.Http.HttpManager)~System.Threading.Tasks.Task")] [assembly: SuppressMessage("Minor Code Smell", "S3236:Caller information arguments should not be provided explicitly", Justification = "By design.", Scope = "member", Target = "~M:Cuemon.Net.Mail.MailDistributor.SendOneAsync(System.Net.Mail.MailMessage,System.Func{System.Net.Mail.MailMessage,System.Boolean})~System.Threading.Tasks.Task")] [assembly: SuppressMessage("Minor Code Smell", "S3236:Caller information arguments should not be provided explicitly", Justification = "By design.", Scope = "member", Target = "~M:Cuemon.Net.Http.HttpManager.#ctor(System.Action{Cuemon.Net.Http.HttpManagerOptions})")] diff --git a/src/Cuemon.Net/Http/HttpDependency.cs b/src/Cuemon.Net/Http/HttpDependency.cs index b293a897f..71146f0b6 100644 --- a/src/Cuemon.Net/Http/HttpDependency.cs +++ b/src/Cuemon.Net/Http/HttpDependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Net/Http/HttpManagerOptions.cs b/src/Cuemon.Net/Http/HttpManagerOptions.cs index dd3ee1ccf..e89472add 100644 --- a/src/Cuemon.Net/Http/HttpManagerOptions.cs +++ b/src/Cuemon.Net/Http/HttpManagerOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net; using System.Net.Http; diff --git a/src/Cuemon.Net/Http/HttpMethodConverter.cs b/src/Cuemon.Net/Http/HttpMethodConverter.cs index f1f0713be..52bc2669e 100644 --- a/src/Cuemon.Net/Http/HttpMethodConverter.cs +++ b/src/Cuemon.Net/Http/HttpMethodConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; diff --git a/src/Cuemon.Net/Http/HttpMethods.cs b/src/Cuemon.Net/Http/HttpMethods.cs index 1064c9dd0..58b0257dd 100644 --- a/src/Cuemon.Net/Http/HttpMethods.cs +++ b/src/Cuemon.Net/Http/HttpMethods.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Net.Http; /// diff --git a/src/Cuemon.Net/Http/HttpRequestOptions.cs b/src/Cuemon.Net/Http/HttpRequestOptions.cs index b362856fa..cd53827fa 100644 --- a/src/Cuemon.Net/Http/HttpRequestOptions.cs +++ b/src/Cuemon.Net/Http/HttpRequestOptions.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; using Cuemon.Threading; namespace Cuemon.Net.Http; diff --git a/src/Cuemon.Net/Http/HttpWatcher.cs b/src/Cuemon.Net/Http/HttpWatcher.cs index 37037db96..9aefd44fc 100644 --- a/src/Cuemon.Net/Http/HttpWatcher.cs +++ b/src/Cuemon.Net/Http/HttpWatcher.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Net/Http/HttpWatcherOptions.cs b/src/Cuemon.Net/Http/HttpWatcherOptions.cs index 9b43377d8..730a32daa 100644 --- a/src/Cuemon.Net/Http/HttpWatcherOptions.cs +++ b/src/Cuemon.Net/Http/HttpWatcherOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using Cuemon.Configuration; diff --git a/src/Cuemon.Net/Infrastructure.cs b/src/Cuemon.Net/Infrastructure.cs index f5e23822f..37749b0e8 100644 --- a/src/Cuemon.Net/Infrastructure.cs +++ b/src/Cuemon.Net/Infrastructure.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Net; +namespace Cuemon.Net; internal static class Infrastructure { internal static bool NotEncoded(char c) diff --git a/src/Cuemon.Net/QueryStringCollection.cs b/src/Cuemon.Net/QueryStringCollection.cs index be3b4ec4d..3a6037bda 100644 --- a/src/Cuemon.Net/QueryStringCollection.cs +++ b/src/Cuemon.Net/QueryStringCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/Cuemon.Resilience/ActionTransientWorker.cs b/src/Cuemon.Resilience/ActionTransientWorker.cs index 2f2f87fd0..7c85be016 100644 --- a/src/Cuemon.Resilience/ActionTransientWorker.cs +++ b/src/Cuemon.Resilience/ActionTransientWorker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Threading; diff --git a/src/Cuemon.Resilience/AsyncActionTransientWorker.cs b/src/Cuemon.Resilience/AsyncActionTransientWorker.cs index 44e6247c5..dc7f60017 100644 --- a/src/Cuemon.Resilience/AsyncActionTransientWorker.cs +++ b/src/Cuemon.Resilience/AsyncActionTransientWorker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Resilience/AsyncFuncTransientWorker.cs b/src/Cuemon.Resilience/AsyncFuncTransientWorker.cs index cdf03dc44..451b110ba 100644 --- a/src/Cuemon.Resilience/AsyncFuncTransientWorker.cs +++ b/src/Cuemon.Resilience/AsyncFuncTransientWorker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Resilience/AsyncTransientOperationOptions.cs b/src/Cuemon.Resilience/AsyncTransientOperationOptions.cs index f8ee22243..72ebf67aa 100644 --- a/src/Cuemon.Resilience/AsyncTransientOperationOptions.cs +++ b/src/Cuemon.Resilience/AsyncTransientOperationOptions.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using Cuemon.Threading; namespace Cuemon.Resilience; diff --git a/src/Cuemon.Resilience/AsyncTransientWorker.cs b/src/Cuemon.Resilience/AsyncTransientWorker.cs index 26bad945c..39a2f48d6 100644 --- a/src/Cuemon.Resilience/AsyncTransientWorker.cs +++ b/src/Cuemon.Resilience/AsyncTransientWorker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Runtime.ExceptionServices; using System.Threading.Tasks; diff --git a/src/Cuemon.Resilience/FuncTransientWorker.cs b/src/Cuemon.Resilience/FuncTransientWorker.cs index 18fedf184..9e009b8c7 100644 --- a/src/Cuemon.Resilience/FuncTransientWorker.cs +++ b/src/Cuemon.Resilience/FuncTransientWorker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Threading; diff --git a/src/Cuemon.Resilience/GlobalSuppressions.cs b/src/Cuemon.Resilience/GlobalSuppressions.cs index c98996fbf..cb32af93d 100644 --- a/src/Cuemon.Resilience/GlobalSuppressions.cs +++ b/src/Cuemon.Resilience/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. @@ -9,7 +9,6 @@ [assembly: SuppressMessage("Major Code Smell", "S1854:Unused assignments should be removed", Justification = "False-positive; inside try block.", Scope = "member", Target = "~M:Cuemon.Resilience.TransientOperation.WithFuncCore``2(Cuemon.FuncFactory{``0,``1},System.Action{Cuemon.Resilience.TransientOperationOptions})~``1")] [assembly: SuppressMessage("Major Code Smell", "S1854:Unused assignments should be removed", Justification = "False-positive.", Scope = "member", Target = "~M:Cuemon.Resilience.ActionTransientWorker.ResilientAction(System.Action)")] [assembly: SuppressMessage("Major Code Smell", "S1854:Unused assignments should be removed", Justification = "False-positive.", Scope = "member", Target = "~M:Cuemon.Resilience.FuncTransientWorker`1.ResilientFunc(System.Func{`0})~`0")] -[assembly: SuppressMessage("Major Code Smell", "S3925:\"ISerializable\" should be implemented correctly", Justification = "MethodBase and Type are not serializable; hence the workaround.", Scope = "type", Target = "~T:Cuemon.Resilience.TransientFaultEvidence")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; generic typed parameters.", Scope = "member", Target = "~M:Cuemon.Resilience.TransientOperation.WithAction``4(System.Action{``0,``1,``2,``3},``0,``1,``2,``3,System.Action{Cuemon.Resilience.TransientOperationOptions})")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; generic typed parameters.", Scope = "member", Target = "~M:Cuemon.Resilience.TransientOperation.WithAction``5(System.Action{``0,``1,``2,``3,``4},``0,``1,``2,``3,``4,System.Action{Cuemon.Resilience.TransientOperationOptions})")] [assembly: SuppressMessage("Major Code Smell", "S2436:Types and methods should not have too many generic parameters", Justification = "By design; generic typed parameters.", Scope = "member", Target = "~M:Cuemon.Resilience.TransientOperation.WithFunc``4(System.Func{``0,``1,``2,``3},``0,``1,``2,System.Action{Cuemon.Resilience.TransientOperationOptions})~``3")] diff --git a/src/Cuemon.Resilience/LatencyException.cs b/src/Cuemon.Resilience/LatencyException.cs index 094a34bba..ccbbf86ad 100644 --- a/src/Cuemon.Resilience/LatencyException.cs +++ b/src/Cuemon.Resilience/LatencyException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Resilience; /// diff --git a/src/Cuemon.Resilience/Transient.cs b/src/Cuemon.Resilience/Transient.cs index c412b40b1..91b9c4dab 100644 --- a/src/Cuemon.Resilience/Transient.cs +++ b/src/Cuemon.Resilience/Transient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Reflection; using Cuemon.Collections.Generic; @@ -7,7 +7,7 @@ namespace Cuemon.Resilience; internal abstract class Transient where TOptions : TransientOperationOptions, new() { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER protected readonly System.Threading.Lock _lock = new(); #else protected readonly object _lock = new(); diff --git a/src/Cuemon.Resilience/TransientOperation.Async.cs b/src/Cuemon.Resilience/TransientOperation.Async.cs index 745471b0e..736df0f1b 100644 --- a/src/Cuemon.Resilience/TransientOperation.Async.cs +++ b/src/Cuemon.Resilience/TransientOperation.Async.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; using Cuemon.Threading; diff --git a/src/Cuemon.Resilience/TransientOperation.cs b/src/Cuemon.Resilience/TransientOperation.cs index 261018031..1af1ba0cb 100644 --- a/src/Cuemon.Resilience/TransientOperation.cs +++ b/src/Cuemon.Resilience/TransientOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Resilience; /// diff --git a/src/Cuemon.Resilience/TransientWorker.cs b/src/Cuemon.Resilience/TransientWorker.cs index 5f2b0caa8..f3ad9a082 100644 --- a/src/Cuemon.Resilience/TransientWorker.cs +++ b/src/Cuemon.Resilience/TransientWorker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Runtime.ExceptionServices; diff --git a/src/Cuemon.Runtime.Caching/CacheEntry.cs b/src/Cuemon.Runtime.Caching/CacheEntry.cs index be78a69d3..e4e1bc9fa 100644 --- a/src/Cuemon.Runtime.Caching/CacheEntry.cs +++ b/src/Cuemon.Runtime.Caching/CacheEntry.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Runtime.Caching; /// diff --git a/src/Cuemon.Runtime.Caching/CacheEntryEventArgs.cs b/src/Cuemon.Runtime.Caching/CacheEntryEventArgs.cs index 45da37f17..19cb0da86 100644 --- a/src/Cuemon.Runtime.Caching/CacheEntryEventArgs.cs +++ b/src/Cuemon.Runtime.Caching/CacheEntryEventArgs.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Runtime.Caching; /// diff --git a/src/Cuemon.Runtime.Caching/CacheInvalidation.cs b/src/Cuemon.Runtime.Caching/CacheInvalidation.cs index bdacc9032..ac9a6ede0 100644 --- a/src/Cuemon.Runtime.Caching/CacheInvalidation.cs +++ b/src/Cuemon.Runtime.Caching/CacheInvalidation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Runtime.Caching/CachingManager.cs b/src/Cuemon.Runtime.Caching/CachingManager.cs index 438e140b1..b2e783996 100644 --- a/src/Cuemon.Runtime.Caching/CachingManager.cs +++ b/src/Cuemon.Runtime.Caching/CachingManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; namespace Cuemon.Runtime.Caching; diff --git a/src/Cuemon.Runtime.Caching/ICacheEnumerable.cs b/src/Cuemon.Runtime.Caching/ICacheEnumerable.cs index 30a46332c..367193b15 100644 --- a/src/Cuemon.Runtime.Caching/ICacheEnumerable.cs +++ b/src/Cuemon.Runtime.Caching/ICacheEnumerable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Runtime.Caching; diff --git a/src/Cuemon.Runtime.Caching/SlimMemoryCacheOptions.cs b/src/Cuemon.Runtime.Caching/SlimMemoryCacheOptions.cs index 736b4e1ab..b2818295e 100644 --- a/src/Cuemon.Runtime.Caching/SlimMemoryCacheOptions.cs +++ b/src/Cuemon.Runtime.Caching/SlimMemoryCacheOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.Runtime.Caching; diff --git a/src/Cuemon.Security.Cryptography/AesCryptor.cs b/src/Cuemon.Security.Cryptography/AesCryptor.cs index 5ed239dbb..1c5716f91 100644 --- a/src/Cuemon.Security.Cryptography/AesCryptor.cs +++ b/src/Cuemon.Security.Cryptography/AesCryptor.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; using System.Text; using Cuemon.Text; diff --git a/src/Cuemon.Security.Cryptography/AesCryptorOptions.cs b/src/Cuemon.Security.Cryptography/AesCryptorOptions.cs index cf73938c7..cfe3c61a1 100644 --- a/src/Cuemon.Security.Cryptography/AesCryptorOptions.cs +++ b/src/Cuemon.Security.Cryptography/AesCryptorOptions.cs @@ -1,4 +1,4 @@ -using System.Security.Cryptography; +using System.Security.Cryptography; using Cuemon.Configuration; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/AesKeyOptions.cs b/src/Cuemon.Security.Cryptography/AesKeyOptions.cs index 3b95a6647..f64cb7469 100644 --- a/src/Cuemon.Security.Cryptography/AesKeyOptions.cs +++ b/src/Cuemon.Security.Cryptography/AesKeyOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using Cuemon.Configuration; diff --git a/src/Cuemon.Security.Cryptography/AesSize.cs b/src/Cuemon.Security.Cryptography/AesSize.cs index b24376724..6ddf12f2f 100644 --- a/src/Cuemon.Security.Cryptography/AesSize.cs +++ b/src/Cuemon.Security.Cryptography/AesSize.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security.Cryptography; +namespace Cuemon.Security.Cryptography; /// /// Specifies the size of the Advanced Encryption Standard (AES) symmetric algorithm. /// diff --git a/src/Cuemon.Security.Cryptography/GlobalSuppressions.cs b/src/Cuemon.Security.Cryptography/GlobalSuppressions.cs index cdbcbcd15..c7a4765a2 100644 --- a/src/Cuemon.Security.Cryptography/GlobalSuppressions.cs +++ b/src/Cuemon.Security.Cryptography/GlobalSuppressions.cs @@ -1,8 +1,8 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("Reliability", "CA2022:Avoid inexact read with 'Stream.Read'", Justification = "Worked since implementation; only method compatible with netstandard2.0.", Scope = "member", Target = "~M:Cuemon.Security.Cryptography.AesCryptor.CryptoTransformCore(System.Byte[],Cuemon.Security.Cryptography.AesCryptor.AesMode,System.Action{Cuemon.Security.Cryptography.AesCryptorOptions})~System.Byte[]")] +[assembly: SuppressMessage("Minor Code Smell", "S101:Types should be named in PascalCase", Justification = "Preserves the public API name and follows the SHA naming convention used by System.Security.Cryptography.", Scope = "type", Target = "~T:Cuemon.Security.Cryptography.SHA512256")] diff --git a/src/Cuemon.Security.Cryptography/HmacMessageDigest5.cs b/src/Cuemon.Security.Cryptography/HmacMessageDigest5.cs index 9c57eaca7..577aa06db 100644 --- a/src/Cuemon.Security.Cryptography/HmacMessageDigest5.cs +++ b/src/Cuemon.Security.Cryptography/HmacMessageDigest5.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm1.cs b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm1.cs index 6cdf2fe6e..de6483f14 100644 --- a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm1.cs +++ b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm1.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm256.cs b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm256.cs index aa7827f34..9718623d6 100644 --- a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm256.cs +++ b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm256.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm384.cs b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm384.cs index e257d98f0..b13d6e94e 100644 --- a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm384.cs +++ b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm384.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm512.cs b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm512.cs index fb5813c3a..fe3401069 100644 --- a/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm512.cs +++ b/src/Cuemon.Security.Cryptography/HmacSecureHashAlgorithm512.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/KeyedCryptoAlgorithm.cs b/src/Cuemon.Security.Cryptography/KeyedCryptoAlgorithm.cs index 9c0028dcf..14f53a60d 100644 --- a/src/Cuemon.Security.Cryptography/KeyedCryptoAlgorithm.cs +++ b/src/Cuemon.Security.Cryptography/KeyedCryptoAlgorithm.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security.Cryptography; +namespace Cuemon.Security.Cryptography; /// /// Specifies the different implementations for generating hash-based message authentication code values. /// diff --git a/src/Cuemon.Security.Cryptography/KeyedCryptoHash.cs b/src/Cuemon.Security.Cryptography/KeyedCryptoHash.cs index e26583388..640840c7a 100644 --- a/src/Cuemon.Security.Cryptography/KeyedCryptoHash.cs +++ b/src/Cuemon.Security.Cryptography/KeyedCryptoHash.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/KeyedHashFactory.cs b/src/Cuemon.Security.Cryptography/KeyedHashFactory.cs index 74e7845c2..1fb23151e 100644 --- a/src/Cuemon.Security.Cryptography/KeyedHashFactory.cs +++ b/src/Cuemon.Security.Cryptography/KeyedHashFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security.Cryptography; /// diff --git a/src/Cuemon.Security.Cryptography/MessageDigest5.cs b/src/Cuemon.Security.Cryptography/MessageDigest5.cs index 0660c4d67..efdcef1cb 100644 --- a/src/Cuemon.Security.Cryptography/MessageDigest5.cs +++ b/src/Cuemon.Security.Cryptography/MessageDigest5.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/SHA512256.cs b/src/Cuemon.Security.Cryptography/SHA512256.cs index 450a86b21..249a444fa 100644 --- a/src/Cuemon.Security.Cryptography/SHA512256.cs +++ b/src/Cuemon.Security.Cryptography/SHA512256.cs @@ -1,4 +1,4 @@ -// ----------------------------------------------------------------------------- +// ----------------------------------------------------------------------------- // SHA512/256 Implementation for .NET - Cuemon.Security.Cryptography // ----------------------------------------------------------------------------- // This implementation provides a pure .NET version of SHA-512/256 @@ -67,9 +67,9 @@ public sealed class SHA512256 : HashAlgorithm 0x2B0199FC2C85B8AA, 0x0EB72DDC81C52CA2 }; - private ulong[] _H = new ulong[8]; - private ulong[] _W = new ulong[80]; - private byte[] _buffer = new byte[BlockSize]; + private readonly ulong[] _H = new ulong[8]; + private readonly ulong[] _W = new ulong[80]; + private readonly byte[] _buffer = new byte[BlockSize]; private int _bufferPos; private ulong _bitCountHigh; private ulong _bitCountLow; diff --git a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm1.cs b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm1.cs index f819bb0a2..b8fc91d38 100644 --- a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm1.cs +++ b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm1.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm256.cs b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm256.cs index ea4970f90..bbe3f7398 100644 --- a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm256.cs +++ b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm256.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm384.cs b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm384.cs index 1484afe04..e943c210c 100644 --- a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm384.cs +++ b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm384.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512.cs b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512.cs index 6fd973920..de50ba9c5 100644 --- a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512.cs +++ b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512256.cs b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512256.cs index 15cba4d3d..3438dc970 100644 --- a/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512256.cs +++ b/src/Cuemon.Security.Cryptography/SecureHashAlgorithm512256.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security.Cryptography; /// diff --git a/src/Cuemon.Security.Cryptography/UnkeyedCryptoAlgorithm.cs b/src/Cuemon.Security.Cryptography/UnkeyedCryptoAlgorithm.cs index 104c961c1..df3d51fc6 100644 --- a/src/Cuemon.Security.Cryptography/UnkeyedCryptoAlgorithm.cs +++ b/src/Cuemon.Security.Cryptography/UnkeyedCryptoAlgorithm.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Security.Cryptography; +namespace Cuemon.Security.Cryptography; /// /// Specifies the different implementations of a cryptographic hashing algorithm. /// diff --git a/src/Cuemon.Security.Cryptography/UnkeyedCryptoHash.cs b/src/Cuemon.Security.Cryptography/UnkeyedCryptoHash.cs index bf99ac144..21fdafa41 100644 --- a/src/Cuemon.Security.Cryptography/UnkeyedCryptoHash.cs +++ b/src/Cuemon.Security.Cryptography/UnkeyedCryptoHash.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Cryptography; namespace Cuemon.Security.Cryptography; diff --git a/src/Cuemon.Security.Cryptography/UnkeyedHashFactory.cs b/src/Cuemon.Security.Cryptography/UnkeyedHashFactory.cs index 75599c9c7..aeee1e86d 100644 --- a/src/Cuemon.Security.Cryptography/UnkeyedHashFactory.cs +++ b/src/Cuemon.Security.Cryptography/UnkeyedHashFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Security.Cryptography; /// diff --git a/src/Cuemon.Threading/ActionForEachSynchronousLoop.cs b/src/Cuemon.Threading/ActionForEachSynchronousLoop.cs index 33730bcd3..f374d6448 100644 --- a/src/Cuemon.Threading/ActionForEachSynchronousLoop.cs +++ b/src/Cuemon.Threading/ActionForEachSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Threading/ActionForSynchronousLoop.cs b/src/Cuemon.Threading/ActionForSynchronousLoop.cs index 5eaa89555..b2ee888c9 100644 --- a/src/Cuemon.Threading/ActionForSynchronousLoop.cs +++ b/src/Cuemon.Threading/ActionForSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; internal sealed class ActionForSynchronousLoop : ForSynchronousLoop where TOperand : struct, IComparable, IEquatable, IConvertible diff --git a/src/Cuemon.Threading/ActionWhileSynchronousLoop.cs b/src/Cuemon.Threading/ActionWhileSynchronousLoop.cs index 7c61799a6..4141d7d8f 100644 --- a/src/Cuemon.Threading/ActionWhileSynchronousLoop.cs +++ b/src/Cuemon.Threading/ActionWhileSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; internal sealed class ActionWhileSynchronousLoop : WhileSynchronousLoop diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.For.cs b/src/Cuemon.Threading/AdvancedParallelFactory.For.cs index d59bd33c6..309cf0a8f 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.For.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.For.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; public static partial class AdvancedParallelFactory diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.ForAsync.cs b/src/Cuemon.Threading/AdvancedParallelFactory.ForAsync.cs index 284f48caa..aa8604c94 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.ForAsync.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.ForAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.ForResult.cs b/src/Cuemon.Threading/AdvancedParallelFactory.ForResult.cs index 5914feaf4..c58c9f96e 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.ForResult.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.ForResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.ForResultAsync.cs b/src/Cuemon.Threading/AdvancedParallelFactory.ForResultAsync.cs index 7e7f2027b..1465db10a 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.ForResultAsync.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.ForResultAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.While.cs b/src/Cuemon.Threading/AdvancedParallelFactory.While.cs index e809a8f52..4d8c1db70 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.While.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.While.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; public static partial class AdvancedParallelFactory diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.WhileAsync.cs b/src/Cuemon.Threading/AdvancedParallelFactory.WhileAsync.cs index b8f6cb7f9..3fc9f4bd1 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.WhileAsync.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.WhileAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.WhileResult.cs b/src/Cuemon.Threading/AdvancedParallelFactory.WhileResult.cs index 1062aea45..f53369e60 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.WhileResult.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.WhileResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Threading; diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.WhileResultAsync.cs b/src/Cuemon.Threading/AdvancedParallelFactory.WhileResultAsync.cs index bdbd366d8..2ae4575ff 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.WhileResultAsync.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.WhileResultAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Cuemon.Threading/AdvancedParallelFactory.cs b/src/Cuemon.Threading/AdvancedParallelFactory.cs index 9c0bc89e5..bd7c59ea2 100644 --- a/src/Cuemon.Threading/AdvancedParallelFactory.cs +++ b/src/Cuemon.Threading/AdvancedParallelFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; /// diff --git a/src/Cuemon.Threading/AsyncActionFactory.cs b/src/Cuemon.Threading/AsyncActionFactory.cs index 6051586cb..4e8f8027f 100644 --- a/src/Cuemon.Threading/AsyncActionFactory.cs +++ b/src/Cuemon.Threading/AsyncActionFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/AsyncForwardIterator.cs b/src/Cuemon.Threading/AsyncForwardIterator.cs index e399cc372..056d44510 100644 --- a/src/Cuemon.Threading/AsyncForwardIterator.cs +++ b/src/Cuemon.Threading/AsyncForwardIterator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; namespace Cuemon.Threading; diff --git a/src/Cuemon.Threading/AsyncFuncFactory.cs b/src/Cuemon.Threading/AsyncFuncFactory.cs index 6e93af030..ec00e9f95 100644 --- a/src/Cuemon.Threading/AsyncFuncFactory.cs +++ b/src/Cuemon.Threading/AsyncFuncFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/AsyncPatterns.cs b/src/Cuemon.Threading/AsyncPatterns.cs index 5ae923f75..d16165639 100644 --- a/src/Cuemon.Threading/AsyncPatterns.cs +++ b/src/Cuemon.Threading/AsyncPatterns.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/AsyncTaskFactoryOptions.cs b/src/Cuemon.Threading/AsyncTaskFactoryOptions.cs index 53a9c4115..3eec4b561 100644 --- a/src/Cuemon.Threading/AsyncTaskFactoryOptions.cs +++ b/src/Cuemon.Threading/AsyncTaskFactoryOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; namespace Cuemon.Threading; diff --git a/src/Cuemon.Threading/AsyncWorkloadOptions.cs b/src/Cuemon.Threading/AsyncWorkloadOptions.cs index 13739b9e8..7ffdac01e 100644 --- a/src/Cuemon.Threading/AsyncWorkloadOptions.cs +++ b/src/Cuemon.Threading/AsyncWorkloadOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; /// diff --git a/src/Cuemon.Threading/ForEachSynchronousLoop.cs b/src/Cuemon.Threading/ForEachSynchronousLoop.cs index 1d4a1bed4..c772bca5a 100644 --- a/src/Cuemon.Threading/ForEachSynchronousLoop.cs +++ b/src/Cuemon.Threading/ForEachSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Threading/ForLoopRuleset.cs b/src/Cuemon.Threading/ForLoopRuleset.cs index b47310e87..8dc9bef14 100644 --- a/src/Cuemon.Threading/ForLoopRuleset.cs +++ b/src/Cuemon.Threading/ForLoopRuleset.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; diff --git a/src/Cuemon.Threading/ForSynchronousLoop.cs b/src/Cuemon.Threading/ForSynchronousLoop.cs index 52e9c37d8..fe221e911 100644 --- a/src/Cuemon.Threading/ForSynchronousLoop.cs +++ b/src/Cuemon.Threading/ForSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/ForwardIterator.cs b/src/Cuemon.Threading/ForwardIterator.cs index 04e926c85..65536bcdb 100644 --- a/src/Cuemon.Threading/ForwardIterator.cs +++ b/src/Cuemon.Threading/ForwardIterator.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; internal sealed class ForwardIterator diff --git a/src/Cuemon.Threading/FuncForEachSynchronousLoop.cs b/src/Cuemon.Threading/FuncForEachSynchronousLoop.cs index 8245103fa..30c20a5dc 100644 --- a/src/Cuemon.Threading/FuncForEachSynchronousLoop.cs +++ b/src/Cuemon.Threading/FuncForEachSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Cuemon.Threading/FuncForSynchronousLoop.cs b/src/Cuemon.Threading/FuncForSynchronousLoop.cs index 10e3e559e..70375a9d7 100644 --- a/src/Cuemon.Threading/FuncForSynchronousLoop.cs +++ b/src/Cuemon.Threading/FuncForSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Cuemon.Threading/FuncWhileSynchronousLoop.cs b/src/Cuemon.Threading/FuncWhileSynchronousLoop.cs index ac0339484..282cf9355 100644 --- a/src/Cuemon.Threading/FuncWhileSynchronousLoop.cs +++ b/src/Cuemon.Threading/FuncWhileSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Cuemon.Threading/GlobalSuppressions.cs b/src/Cuemon.Threading/GlobalSuppressions.cs index 499e1b7f5..2a4f85cc6 100644 --- a/src/Cuemon.Threading/GlobalSuppressions.cs +++ b/src/Cuemon.Threading/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/src/Cuemon.Threading/Loop.cs b/src/Cuemon.Threading/Loop.cs index 31ef01c36..0db124500 100644 --- a/src/Cuemon.Threading/Loop.cs +++ b/src/Cuemon.Threading/Loop.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; internal abstract class Loop where TOptions : AsyncOptions, new() diff --git a/src/Cuemon.Threading/ParallelFactory.For.cs b/src/Cuemon.Threading/ParallelFactory.For.cs index 747fbcad8..c2a259dd3 100644 --- a/src/Cuemon.Threading/ParallelFactory.For.cs +++ b/src/Cuemon.Threading/ParallelFactory.For.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Threading; public static partial class ParallelFactory diff --git a/src/Cuemon.Threading/ParallelFactory.ForAsync.cs b/src/Cuemon.Threading/ParallelFactory.ForAsync.cs index 76f8df8c5..5ece53fb5 100644 --- a/src/Cuemon.Threading/ParallelFactory.ForAsync.cs +++ b/src/Cuemon.Threading/ParallelFactory.ForAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/ParallelFactory.ForEach.cs b/src/Cuemon.Threading/ParallelFactory.ForEach.cs index 13c74b1cf..d34e539d0 100644 --- a/src/Cuemon.Threading/ParallelFactory.ForEach.cs +++ b/src/Cuemon.Threading/ParallelFactory.ForEach.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Threading; diff --git a/src/Cuemon.Threading/ParallelFactory.ForEachAsync.cs b/src/Cuemon.Threading/ParallelFactory.ForEachAsync.cs index 01bc3edc0..9c9732bbe 100644 --- a/src/Cuemon.Threading/ParallelFactory.ForEachAsync.cs +++ b/src/Cuemon.Threading/ParallelFactory.ForEachAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/ParallelFactory.ForResult.cs b/src/Cuemon.Threading/ParallelFactory.ForResult.cs index c8848b5c9..655ed3107 100644 --- a/src/Cuemon.Threading/ParallelFactory.ForResult.cs +++ b/src/Cuemon.Threading/ParallelFactory.ForResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Cuemon.Threading; diff --git a/src/Cuemon.Threading/ParallelFactory.ForResultAsync.cs b/src/Cuemon.Threading/ParallelFactory.ForResultAsync.cs index 4b0cb579a..3b87e3a0a 100644 --- a/src/Cuemon.Threading/ParallelFactory.ForResultAsync.cs +++ b/src/Cuemon.Threading/ParallelFactory.ForResultAsync.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Threading/ParallelFactory.cs b/src/Cuemon.Threading/ParallelFactory.cs index 172c56449..dd5f6cedb 100644 --- a/src/Cuemon.Threading/ParallelFactory.cs +++ b/src/Cuemon.Threading/ParallelFactory.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Threading; +namespace Cuemon.Threading; /// /// Provides a factory based way to encapsulate and re-use existing code while adding support for typically long-running parallel loops and regions. /// diff --git a/src/Cuemon.Threading/RelationalOperator.cs b/src/Cuemon.Threading/RelationalOperator.cs index 456474e3f..a9e11d081 100644 --- a/src/Cuemon.Threading/RelationalOperator.cs +++ b/src/Cuemon.Threading/RelationalOperator.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Threading; +namespace Cuemon.Threading; /// /// Defines the most common numerical relational operators. /// diff --git a/src/Cuemon.Threading/SynchronousLoop.cs b/src/Cuemon.Threading/SynchronousLoop.cs index 231dfb201..a1d7d42a1 100644 --- a/src/Cuemon.Threading/SynchronousLoop.cs +++ b/src/Cuemon.Threading/SynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; diff --git a/src/Cuemon.Threading/WhileSynchronousLoop.cs b/src/Cuemon.Threading/WhileSynchronousLoop.cs index 2c19b74e4..8f64907e6 100644 --- a/src/Cuemon.Threading/WhileSynchronousLoop.cs +++ b/src/Cuemon.Threading/WhileSynchronousLoop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Cuemon.Xml/Extensions/Linq/StringDecoratorExtensions.cs b/src/Cuemon.Xml/Extensions/Linq/StringDecoratorExtensions.cs index 639711229..e34a55797 100644 --- a/src/Cuemon.Xml/Extensions/Linq/StringDecoratorExtensions.cs +++ b/src/Cuemon.Xml/Extensions/Linq/StringDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; using System.Xml.Linq; diff --git a/src/Cuemon.Xml/Extensions/Serialization/XmlSerializerOptionsDecoratorExtensions.cs b/src/Cuemon.Xml/Extensions/Serialization/XmlSerializerOptionsDecoratorExtensions.cs index 3389a3115..b9b55b504 100644 --- a/src/Cuemon.Xml/Extensions/Serialization/XmlSerializerOptionsDecoratorExtensions.cs +++ b/src/Cuemon.Xml/Extensions/Serialization/XmlSerializerOptionsDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Xml.Serialization; /// diff --git a/src/Cuemon.Xml/Extensions/StreamDecoratorExtensions.cs b/src/Cuemon.Xml/Extensions/StreamDecoratorExtensions.cs index 102cfdbe1..9b3c38f43 100644 --- a/src/Cuemon.Xml/Extensions/StreamDecoratorExtensions.cs +++ b/src/Cuemon.Xml/Extensions/StreamDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Text; using System.Xml; diff --git a/src/Cuemon.Xml/Extensions/StringDecoratorExtensions.cs b/src/Cuemon.Xml/Extensions/StringDecoratorExtensions.cs index d832f07da..c88c82360 100644 --- a/src/Cuemon.Xml/Extensions/StringDecoratorExtensions.cs +++ b/src/Cuemon.Xml/Extensions/StringDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/Cuemon.Xml/Extensions/XmlReaderDecoratorExtensions.cs b/src/Cuemon.Xml/Extensions/XmlReaderDecoratorExtensions.cs index 45814ce8e..7fb6702cd 100644 --- a/src/Cuemon.Xml/Extensions/XmlReaderDecoratorExtensions.cs +++ b/src/Cuemon.Xml/Extensions/XmlReaderDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Xml; diff --git a/src/Cuemon.Xml/Extensions/XmlWriterDecoratorExtensions.cs b/src/Cuemon.Xml/Extensions/XmlWriterDecoratorExtensions.cs index afa50d35d..5a7c02319 100644 --- a/src/Cuemon.Xml/Extensions/XmlWriterDecoratorExtensions.cs +++ b/src/Cuemon.Xml/Extensions/XmlWriterDecoratorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Xml; using Cuemon.Collections.Generic; diff --git a/src/Cuemon.Xml/Serialization/Converters/XmlConverter.cs b/src/Cuemon.Xml/Serialization/Converters/XmlConverter.cs index e6c6024af..3537a3fb3 100644 --- a/src/Cuemon.Xml/Serialization/Converters/XmlConverter.cs +++ b/src/Cuemon.Xml/Serialization/Converters/XmlConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml; namespace Cuemon.Xml.Serialization.Converters; diff --git a/src/Cuemon.Xml/Serialization/Formatters/XmlFormatter.cs b/src/Cuemon.Xml/Serialization/Formatters/XmlFormatter.cs index 05e8e2439..a0b01dd23 100644 --- a/src/Cuemon.Xml/Serialization/Formatters/XmlFormatter.cs +++ b/src/Cuemon.Xml/Serialization/Formatters/XmlFormatter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Xml; using Cuemon.Runtime.Serialization.Formatters; diff --git a/src/Cuemon.Xml/Serialization/Formatters/XmlFormatterOptions.cs b/src/Cuemon.Xml/Serialization/Formatters/XmlFormatterOptions.cs index a48bd75c7..ff175063d 100644 --- a/src/Cuemon.Xml/Serialization/Formatters/XmlFormatterOptions.cs +++ b/src/Cuemon.Xml/Serialization/Formatters/XmlFormatterOptions.cs @@ -13,7 +13,7 @@ namespace Cuemon.Xml.Serialization.Formatters; /// public class XmlFormatterOptions : IExceptionDescriptorOptions, IContentNegotiation, IValidatableParameterObject { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER private readonly System.Threading.Lock _lock = new(); #else private readonly object _lock = new(); diff --git a/src/Cuemon.Xml/Serialization/XmlConvert.cs b/src/Cuemon.Xml/Serialization/XmlConvert.cs index b8da7c4ed..116943d4e 100644 --- a/src/Cuemon.Xml/Serialization/XmlConvert.cs +++ b/src/Cuemon.Xml/Serialization/XmlConvert.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Xml.Serialization; /// diff --git a/src/Cuemon.Xml/Serialization/XmlQualifiedEntity.cs b/src/Cuemon.Xml/Serialization/XmlQualifiedEntity.cs index 91f1427cf..311a98b2c 100644 --- a/src/Cuemon.Xml/Serialization/XmlQualifiedEntity.cs +++ b/src/Cuemon.Xml/Serialization/XmlQualifiedEntity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Xml.Serialization; namespace Cuemon.Xml.Serialization; diff --git a/src/Cuemon.Xml/Serialization/XmlSerializer.cs b/src/Cuemon.Xml/Serialization/XmlSerializer.cs index b650d973b..35ca5754e 100644 --- a/src/Cuemon.Xml/Serialization/XmlSerializer.cs +++ b/src/Cuemon.Xml/Serialization/XmlSerializer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Xml; using Cuemon.Xml.Serialization.Converters; diff --git a/src/Cuemon.Xml/Serialization/XmlWrapper.cs b/src/Cuemon.Xml/Serialization/XmlWrapper.cs index 660e30296..a70641cb4 100644 --- a/src/Cuemon.Xml/Serialization/XmlWrapper.cs +++ b/src/Cuemon.Xml/Serialization/XmlWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Reflection; using System.Xml.Serialization; diff --git a/src/Cuemon.Xml/Serialization/XmlWrapperAttribute.cs b/src/Cuemon.Xml/Serialization/XmlWrapperAttribute.cs index bda8f9efe..b14757ac9 100644 --- a/src/Cuemon.Xml/Serialization/XmlWrapperAttribute.cs +++ b/src/Cuemon.Xml/Serialization/XmlWrapperAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Xml.Serialization; [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] diff --git a/src/Cuemon.Xml/XmlDocumentFactory.cs b/src/Cuemon.Xml/XmlDocumentFactory.cs index 6d94e4f95..d9b7f2199 100644 --- a/src/Cuemon.Xml/XmlDocumentFactory.cs +++ b/src/Cuemon.Xml/XmlDocumentFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Xml; diff --git a/src/Cuemon.Xml/XmlEncodingOptions.cs b/src/Cuemon.Xml/XmlEncodingOptions.cs index 3f22e39fc..a38378798 100644 --- a/src/Cuemon.Xml/XmlEncodingOptions.cs +++ b/src/Cuemon.Xml/XmlEncodingOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Text; +using Cuemon.Text; namespace Cuemon.Xml; /// diff --git a/src/Cuemon.Xml/XmlStreamFactory.cs b/src/Cuemon.Xml/XmlStreamFactory.cs index 2f4e3174b..22e7684ea 100644 --- a/src/Cuemon.Xml/XmlStreamFactory.cs +++ b/src/Cuemon.Xml/XmlStreamFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Xml; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Assets/ExceptionMiddleware.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Assets/ExceptionMiddleware.cs index 692c122aa..04fc5acc3 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Assets/ExceptionMiddleware.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Assets/ExceptionMiddleware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Builder; using Microsoft.AspNetCore.Builder; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Assets/FakeController.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Assets/FakeController.cs index 3f273f093..871717415 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Assets/FakeController.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Assets/FakeController.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/AuthenticationOptionsTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/AuthenticationOptionsTest.cs index 7ec3fd0c5..02582fca3 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/AuthenticationOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/AuthenticationOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Net; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/AuthorizationHeaderOptionsTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/AuthorizationHeaderOptionsTest.cs index e9373c2b3..00cb8ab4a 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/AuthorizationHeaderOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/AuthorizationHeaderOptionsTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using System; using Xunit; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs index ad61b5d9b..9eaaebc68 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; using System.Threading.Tasks; using Cuemon.AspNetCore.Authentication.Assets; using Cuemon.Collections.Generic; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthorizationHeaderBuilderTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthorizationHeaderBuilderTest.cs index 5441753bf..9e30f4c73 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthorizationHeaderBuilderTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthorizationHeaderBuilderTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/BasicAuthenticationOptionsTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/BasicAuthenticationOptionsTest.cs index c580dd768..1c23af979 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/BasicAuthenticationOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/BasicAuthenticationOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Claims; using Cuemon.AspNetCore.Authentication.Basic; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Cuemon.AspNetCore.Authentication.Tests.csproj b/test/Cuemon.AspNetCore.Authentication.Tests/Cuemon.AspNetCore.Authentication.Tests.csproj index 3c085ffa8..b7dd0361f 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Cuemon.AspNetCore.Authentication.Tests.csproj +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Cuemon.AspNetCore.Authentication.Tests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.AspNetCore.Authentication diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs index 9089109af..1305891ed 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; using System.Security.Claims; using System.Threading.Tasks; using Cuemon.AspNetCore.Authentication.Assets; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs index dfa40ca5f..538bf718c 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Security.Claims; using System.Threading.Tasks; using Cuemon.AspNetCore.Authentication.Assets; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/DigestAuthenticationOptionsTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/DigestAuthenticationOptionsTest.cs index 724f8d959..3bbb8e28d 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/DigestAuthenticationOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/DigestAuthenticationOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Claims; using Cuemon.AspNetCore.Authentication.Digest; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs index a5d4e8c48..b159d271f 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Claims; using System.Threading.Tasks; using Cuemon.AspNetCore.Authentication.Assets; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs index c69605b12..0c28299e5 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; using System.Threading.Tasks; using Cuemon.AspNetCore.Http; using Cuemon.Collections.Generic; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs index 3f3ba18a7..7aa998785 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Cuemon.Collections.Generic; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/HmacAuthenticationOptionsTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/HmacAuthenticationOptionsTest.cs index 88c487fee..09e90b3bc 100644 --- a/test/Cuemon.AspNetCore.Authentication.Tests/HmacAuthenticationOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Authentication.Tests/HmacAuthenticationOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security.Claims; using Cuemon.AspNetCore.Authentication.Hmac; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj b/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj index cbcfaa50e..59dfc0258 100644 --- a/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj +++ b/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.AspNetCore diff --git a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/SampleModel.cs b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/SampleModel.cs index 68648a030..e69c7a50f 100644 --- a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/SampleModel.cs +++ b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/SampleModel.cs @@ -1,4 +1,4 @@ -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; namespace Cuemon.AspNetCore.Mvc.Assets; public class SampleModel diff --git a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/StatusCodesController.cs b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/StatusCodesController.cs index d9fc05ced..4a70131c2 100644 --- a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/StatusCodesController.cs +++ b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Assets/StatusCodesController.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel.DataAnnotations; using System.Reflection; using Cuemon.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj index 858b203c7..968471a23 100644 --- a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj +++ b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.AspNetCore.Mvc diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/BearerThrottlingSentinelAttribute.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/BearerThrottlingSentinelAttribute.cs index 0583959f7..489f6a210 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/BearerThrottlingSentinelAttribute.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/BearerThrottlingSentinelAttribute.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Cuemon.AspNetCore.Mvc.Filters.Throttling; using Microsoft.AspNetCore.Http; using Microsoft.Net.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/ExceptionFilter.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/ExceptionFilter.cs index dbaf81dd2..60ecd632a 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/ExceptionFilter.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/ExceptionFilter.cs @@ -1,4 +1,4 @@ -using Cuemon.AspNetCore.Http; +using Cuemon.AspNetCore.Http; using Cuemon.AspNetCore.Http.Throttling; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/FakeController.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/FakeController.cs index 1a5cdbb30..2632bc138 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/FakeController.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/FakeController.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Cuemon.AspNetCore.Diagnostics; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/StatusCodesController.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/StatusCodesController.cs index 98efa1196..7229db0a8 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Assets/StatusCodesController.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Assets/StatusCodesController.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Cuemon.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectResultOptionsTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectResultOptionsTest.cs index 1b753a886..09a769bbc 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectResultOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectResultOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectTest.cs index b9f540f90..d5723c1fb 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/CacheableObjectTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Data.Integrity; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/ContentBasedObjectResultOptionsTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/ContentBasedObjectResultOptionsTest.cs index a2d14906c..935e85b13 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/ContentBasedObjectResultOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/ContentBasedObjectResultOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj b/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj index 4595db461..2e0820671 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.AspNetCore.Mvc diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs index 97a5f2d7e..27d9a0c05 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Mvc.Assets; using Cuemon.Extensions.AspNetCore.Mvc.Filters; using Cuemon.Extensions.AspNetCore.Mvc.Filters.Cacheable; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableOptionsTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableOptionsTest.cs index 18a408e3a..dda1e31f6 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs index 59679c6ed..142b0e113 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Http.Throttling; using Cuemon.AspNetCore.Mvc.Assets; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpStatusDescription.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpStatusDescription.cs index a515e5ede..2571412da 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpStatusDescription.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpStatusDescription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using Cuemon.Reflection; using Microsoft.AspNetCore.WebUtilities; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs index 9b68cdf89..10a75634b 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading.Tasks; using Cuemon.AspNetCore.Diagnostics; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs index 723a09993..4c8b7a611 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Net; using System.Threading.Tasks; using Cuemon.AspNetCore.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs index b6121a5f2..a17cca1a2 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Threading.Tasks; using Cuemon.AspNetCore.Http.Headers; using Cuemon.AspNetCore.Mvc.Assets; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs index 00eaa2a7e..a05b14752 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs index 3f835e66a..049156776 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Cuemon.AspNetCore.Http.Throttling; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs index 4d9a871ef..c47e11ee2 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/SeeOtherResultTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/SeeOtherResultTest.cs index bdf538c5e..469936e91 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/SeeOtherResultTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/SeeOtherResultTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Codebelt.Extensions.Xunit.Hosting; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/TimeBasedObjectResultOptionsTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/TimeBasedObjectResultOptionsTest.cs index 2dc9d7284..d94e55e72 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/TimeBasedObjectResultOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/TimeBasedObjectResultOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs index 083aa6062..037f55154 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs index 950833045..7e6ad8e5b 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs index 6b79dfbde..bad8123e8 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Assets/FakeCacheBusting.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Assets/FakeCacheBusting.cs index 726217b82..1b773a015 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Assets/FakeCacheBusting.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Assets/FakeCacheBusting.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Configuration; namespace Cuemon.AspNetCore.Razor.TagHelpers.Assets; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs index a8ec8e024..096656b59 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Razor.TagHelpers.Assets; using Cuemon.Extensions.AspNetCore.Configuration; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs index 89036aed9..e1f7247e2 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Razor.TagHelpers.Assets; using Cuemon.Extensions.AspNetCore.Configuration; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs index cf536755d..3b371b29f 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Razor.TagHelpers.Assets; using Cuemon.Extensions.AspNetCore.Configuration; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Cuemon.AspNetCore.Razor.TagHelpers.Tests.csproj b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Cuemon.AspNetCore.Razor.TagHelpers.Tests.csproj index 85f963dca..8d153e671 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Cuemon.AspNetCore.Razor.TagHelpers.Tests.csproj +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Cuemon.AspNetCore.Razor.TagHelpers.Tests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.AspNetCore.Razor.TagHelpers diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs index fdff81223..ab8a3aea1 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; using Cuemon.Extensions.AspNetCore.Mvc.Filters; diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/TagHelperTestFactory.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/TagHelperTestFactory.cs index 9812f7008..ce7cad25f 100644 --- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/TagHelperTestFactory.cs +++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/TagHelperTestFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Razor.TagHelpers.Assets; using Cuemon.Extensions.AspNetCore.Configuration; diff --git a/test/Cuemon.AspNetCore.Tests/Bootstrapper.cs b/test/Cuemon.AspNetCore.Tests/Bootstrapper.cs index dbceeee74..b0dcaade6 100644 --- a/test/Cuemon.AspNetCore.Tests/Bootstrapper.cs +++ b/test/Cuemon.AspNetCore.Tests/Bootstrapper.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using Cuemon.Extensions.AspNetCore.Text.Json.Converters; using Cuemon.Extensions.Text.Json.Converters; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj b/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj index 1c681bceb..e86fff79a 100644 --- a/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj +++ b/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.AspNetCore diff --git a/test/Cuemon.AspNetCore.Tests/Diagnostics/FaultDescriptorOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Diagnostics/FaultDescriptorOptionsTest.cs index f2b82b847..c10a72a0b 100644 --- a/test/Cuemon.AspNetCore.Tests/Diagnostics/FaultDescriptorOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Diagnostics/FaultDescriptorOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel.DataAnnotations; using Cuemon.AspNetCore.Http; using Cuemon.AspNetCore.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Tests/Diagnostics/HttpExceptionDescriptorResponseHandlerOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Diagnostics/HttpExceptionDescriptorResponseHandlerOptionsTest.cs index 0dc5d7ed6..f55842cad 100644 --- a/test/Cuemon.AspNetCore.Tests/Diagnostics/HttpExceptionDescriptorResponseHandlerOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Diagnostics/HttpExceptionDescriptorResponseHandlerOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs index d863dba03..b3faf87d1 100644 --- a/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Linq; using System.Threading; diff --git a/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingOptionsTest.cs index 3f839a0cd..ee73f7040 100644 --- a/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Diagnostics; using Codebelt.Extensions.Xunit; using Microsoft.Extensions.Logging; diff --git a/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentMiddlewareTest.cs index bd13ce15c..b25c158fb 100644 --- a/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentMiddlewareTest.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using System; diff --git a/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentOptionsTest.cs index bb743111c..53c1839ac 100644 --- a/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Hosting/HostingEnvironmentOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs index 39a2dd652..e7fcd4f74 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading.Tasks; using Cuemon.Diagnostics; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelOptionsTest.cs index c7b5913ec..69108090f 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using Codebelt.Extensions.Xunit; using Cuemon.Net.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs index 9e93001ee..eafc46c10 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Threading.Tasks; using Cuemon.Extensions.AspNetCore.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableOptionsTest.cs index f2e04f66d..b6b1c82c8 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierMiddlewareTest.cs index 52898b0cc..3dd93c78d 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading.Tasks; using Cuemon.Extensions.AspNetCore.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierOptionsTest.cs index 848df2da9..5ce20ee97 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/CorrelationIdentifierOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Cuemon.Net.Http; using Xunit; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierMiddlewareTest.cs index 59b21e435..54ccc3361 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading.Tasks; using Cuemon.Extensions.AspNetCore.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierOptionsTest.cs index d2ce5bf8a..d9dbb0d9e 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/RequestIdentifierOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Cuemon.Net.Http; using Xunit; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs index 36711f9cb..ca910c9da 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Threading.Tasks; using Cuemon.Extensions.AspNetCore.Diagnostics; using Cuemon.Extensions.AspNetCore.Http.Headers; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelOptionsTest.cs index b3e349b5a..cfaff6a42 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs index d7e1d76c2..91e0a36d2 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.Extensions.AspNetCore.Diagnostics; using Cuemon.Extensions.AspNetCore.Http.Throttling; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelOptionsTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelOptionsTest.cs index 14a8b3dc0..cfd19584a 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelOptionsTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Http.Headers; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Assets/ArgumentNullExceptionDescriptorAttribute.cs b/test/Cuemon.Core.Tests/Assets/ArgumentNullExceptionDescriptorAttribute.cs index 07422fe8b..fbb932d68 100644 --- a/test/Cuemon.Core.Tests/Assets/ArgumentNullExceptionDescriptorAttribute.cs +++ b/test/Cuemon.Core.Tests/Assets/ArgumentNullExceptionDescriptorAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Diagnostics; namespace Cuemon.Assets; diff --git a/test/Cuemon.Core.Tests/Assets/Book.cs b/test/Cuemon.Core.Tests/Assets/Book.cs index 13765757c..0d4c83591 100644 --- a/test/Cuemon.Core.Tests/Assets/Book.cs +++ b/test/Cuemon.Core.Tests/Assets/Book.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class Book { public Book() diff --git a/test/Cuemon.Core.Tests/Assets/ClampOptions.cs b/test/Cuemon.Core.Tests/Assets/ClampOptions.cs index 2de247067..b4857ad08 100644 --- a/test/Cuemon.Core.Tests/Assets/ClampOptions.cs +++ b/test/Cuemon.Core.Tests/Assets/ClampOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Assets; public class ClampOptions @@ -15,7 +15,7 @@ public int MaxConcurrentJobs get => _maxConcurrentJobs; set { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER _maxConcurrentJobs = Math.Clamp(value, 1, byte.MaxValue); #else _maxConcurrentJobs = Clamp(value, 1, byte.MaxValue); diff --git a/test/Cuemon.Core.Tests/Assets/ClassBase.cs b/test/Cuemon.Core.Tests/Assets/ClassBase.cs index 85ec2143e..43bd2267f 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassBase.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassBase.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Assets; public class ClassBase diff --git a/test/Cuemon.Core.Tests/Assets/ClassDerived.cs b/test/Cuemon.Core.Tests/Assets/ClassDerived.cs index 8285eb0a9..3b07f31fb 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassDerived.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassDerived.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Assets; public sealed class ClassDerived : ClassBase diff --git a/test/Cuemon.Core.Tests/Assets/ClassWithAmbiguousMethods.cs b/test/Cuemon.Core.Tests/Assets/ClassWithAmbiguousMethods.cs index 82358af49..a37dea0fa 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassWithAmbiguousMethods.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassWithAmbiguousMethods.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Assets; public class ClassWithAmbiguousMethods diff --git a/test/Cuemon.Core.Tests/Assets/ClassWithAttributes.cs b/test/Cuemon.Core.Tests/Assets/ClassWithAttributes.cs index d056da369..049c80dc9 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassWithAttributes.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassWithAttributes.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace Cuemon.Assets; diff --git a/test/Cuemon.Core.Tests/Assets/ClassWithCircularReference.cs b/test/Cuemon.Core.Tests/Assets/ClassWithCircularReference.cs index c8f0f2009..e1522204e 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassWithCircularReference.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassWithCircularReference.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class ClassWithCircularReference { public ClassWithCircularReference() diff --git a/test/Cuemon.Core.Tests/Assets/ClassWithDefaultValue.cs b/test/Cuemon.Core.Tests/Assets/ClassWithDefaultValue.cs index 9dc2f091e..9b9ba7dac 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassWithDefaultValue.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassWithDefaultValue.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Assets; public class ClassWithDefaultValue : IEquatable diff --git a/test/Cuemon.Core.Tests/Assets/ClassWithNoDefaultCtor.cs b/test/Cuemon.Core.Tests/Assets/ClassWithNoDefaultCtor.cs index 8b49227fe..486f888c7 100644 --- a/test/Cuemon.Core.Tests/Assets/ClassWithNoDefaultCtor.cs +++ b/test/Cuemon.Core.Tests/Assets/ClassWithNoDefaultCtor.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class ClassWithNoDefaultCtor { public ClassWithNoDefaultCtor(int id) diff --git a/test/Cuemon.Core.Tests/Assets/FacebookNotifierDecorator.cs b/test/Cuemon.Core.Tests/Assets/FacebookNotifierDecorator.cs index 399ef5c2f..ed65a28c4 100644 --- a/test/Cuemon.Core.Tests/Assets/FacebookNotifierDecorator.cs +++ b/test/Cuemon.Core.Tests/Assets/FacebookNotifierDecorator.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class FacebookNotifierDecorator : NotifierDecorator { public FacebookNotifierDecorator(INotifier notifier) : base(notifier) diff --git a/test/Cuemon.Core.Tests/Assets/HierarchyExample.cs b/test/Cuemon.Core.Tests/Assets/HierarchyExample.cs index 1da63a75b..d6a7f7d87 100644 --- a/test/Cuemon.Core.Tests/Assets/HierarchyExample.cs +++ b/test/Cuemon.Core.Tests/Assets/HierarchyExample.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Xml.Serialization; using Cuemon.Reflection; diff --git a/test/Cuemon.Core.Tests/Assets/INotifier.cs b/test/Cuemon.Core.Tests/Assets/INotifier.cs index c8aa84294..b183406b5 100644 --- a/test/Cuemon.Core.Tests/Assets/INotifier.cs +++ b/test/Cuemon.Core.Tests/Assets/INotifier.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public interface INotifier { string Send(string message); diff --git a/test/Cuemon.Core.Tests/Assets/ManagedDisposable.cs b/test/Cuemon.Core.Tests/Assets/ManagedDisposable.cs index 047e90e50..20761d6c0 100644 --- a/test/Cuemon.Core.Tests/Assets/ManagedDisposable.cs +++ b/test/Cuemon.Core.Tests/Assets/ManagedDisposable.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; namespace Cuemon.Assets; public class ManagedDisposable : Disposable diff --git a/test/Cuemon.Core.Tests/Assets/MimicAnonymousType.cs b/test/Cuemon.Core.Tests/Assets/MimicAnonymousType.cs index 9c5d6f649..c847e2787 100644 --- a/test/Cuemon.Core.Tests/Assets/MimicAnonymousType.cs +++ b/test/Cuemon.Core.Tests/Assets/MimicAnonymousType.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public sealed class MimicAnonymousType { public int Id { get; } = 1; diff --git a/test/Cuemon.Core.Tests/Assets/Notifier.cs b/test/Cuemon.Core.Tests/Assets/Notifier.cs index 9c97a822d..6fd805576 100644 --- a/test/Cuemon.Core.Tests/Assets/Notifier.cs +++ b/test/Cuemon.Core.Tests/Assets/Notifier.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class Notifier : INotifier { public Notifier() diff --git a/test/Cuemon.Core.Tests/Assets/NotifierDecorator.cs b/test/Cuemon.Core.Tests/Assets/NotifierDecorator.cs index 90fa231e9..ab9bfee87 100644 --- a/test/Cuemon.Core.Tests/Assets/NotifierDecorator.cs +++ b/test/Cuemon.Core.Tests/Assets/NotifierDecorator.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class NotifierDecorator : INotifier { private readonly INotifier _notifier; diff --git a/test/Cuemon.Core.Tests/Assets/NotifierDecoratorExtensions.cs b/test/Cuemon.Core.Tests/Assets/NotifierDecoratorExtensions.cs index 18558a112..624cce268 100644 --- a/test/Cuemon.Core.Tests/Assets/NotifierDecoratorExtensions.cs +++ b/test/Cuemon.Core.Tests/Assets/NotifierDecoratorExtensions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public static class NotifierDecoratorExtensions { public static string Send(this IDecorator decorator, bool facebook = false, bool slack = false, bool twitter = false) diff --git a/test/Cuemon.Core.Tests/Assets/SlackNotifierDecorator.cs b/test/Cuemon.Core.Tests/Assets/SlackNotifierDecorator.cs index b9de7c9af..93f4b8bee 100644 --- a/test/Cuemon.Core.Tests/Assets/SlackNotifierDecorator.cs +++ b/test/Cuemon.Core.Tests/Assets/SlackNotifierDecorator.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class SlackNotifierDecorator : NotifierDecorator { public SlackNotifierDecorator(INotifier notifier) : base(notifier) diff --git a/test/Cuemon.Core.Tests/Assets/SomeClass.cs b/test/Cuemon.Core.Tests/Assets/SomeClass.cs index ed95b0127..0a0b3ab7d 100644 --- a/test/Cuemon.Core.Tests/Assets/SomeClass.cs +++ b/test/Cuemon.Core.Tests/Assets/SomeClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Diagnostics; using Cuemon.Extensions.Collections.Generic; diff --git a/test/Cuemon.Core.Tests/Assets/TwitterNotifierDecorator .cs b/test/Cuemon.Core.Tests/Assets/TwitterNotifierDecorator .cs index e138ca314..b4c3f04e1 100644 --- a/test/Cuemon.Core.Tests/Assets/TwitterNotifierDecorator .cs +++ b/test/Cuemon.Core.Tests/Assets/TwitterNotifierDecorator .cs @@ -1,4 +1,4 @@ -namespace Cuemon.Assets; +namespace Cuemon.Assets; public class TwitterNotifierDecorator : NotifierDecorator { public TwitterNotifierDecorator(INotifier notifier) : base(notifier) diff --git a/test/Cuemon.Core.Tests/Assets/UnmanagedDisposable.cs b/test/Cuemon.Core.Tests/Assets/UnmanagedDisposable.cs index a19a4d14f..c75905b44 100644 --- a/test/Cuemon.Core.Tests/Assets/UnmanagedDisposable.cs +++ b/test/Cuemon.Core.Tests/Assets/UnmanagedDisposable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; #if NET48_OR_GREATER using NativeLibraryLoader; @@ -27,7 +27,7 @@ public delegate IntPtr CreateFileDelegate(string lpFileName, public UnmanagedDisposable() { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER if (Environment.OSVersion.Platform == PlatformID.Win32NT) { if (NativeLibrary.TryLoad("kernel32.dll", GetType().Assembly, DllImportSearchPath.System32, out _libHandle)) @@ -84,7 +84,7 @@ protected override void OnDisposeManagedResources() protected override void OnDisposeUnmanagedResources() { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER if (Environment.OSVersion.Platform == PlatformID.Win32NT) { if (_handle != IntPtr.Zero) diff --git a/test/Cuemon.Core.Tests/ByteArrayDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/ByteArrayDecoratorExtensionsTest.cs index 84610625c..8f1dc971a 100644 --- a/test/Cuemon.Core.Tests/ByteArrayDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/ByteArrayDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/CalculatorTest.cs b/test/Cuemon.Core.Tests/CalculatorTest.cs index 338c83f8f..6bfc0ae0f 100644 --- a/test/Cuemon.Core.Tests/CalculatorTest.cs +++ b/test/Cuemon.Core.Tests/CalculatorTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon; diff --git a/test/Cuemon.Core.Tests/CharDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/CharDecoratorExtensionsTest.cs index ef177348f..3d88b4393 100644 --- a/test/Cuemon.Core.Tests/CharDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/CharDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using AutoFixture; using Xunit; diff --git a/test/Cuemon.Core.Tests/Collections/Generic/DictionaryDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/Collections/Generic/DictionaryDecoratorExtensionsTest.cs index abb32c75d..b014f921e 100644 --- a/test/Cuemon.Core.Tests/Collections/Generic/DictionaryDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/Collections/Generic/DictionaryDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Xunit; diff --git a/test/Cuemon.Core.Tests/Collections/Generic/EnumerableSizeComparerTest.cs b/test/Cuemon.Core.Tests/Collections/Generic/EnumerableSizeComparerTest.cs index 2db40551a..1c306d2d5 100644 --- a/test/Cuemon.Core.Tests/Collections/Generic/EnumerableSizeComparerTest.cs +++ b/test/Cuemon.Core.Tests/Collections/Generic/EnumerableSizeComparerTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Collections/Generic/ReferenceComparerTest.cs b/test/Cuemon.Core.Tests/Collections/Generic/ReferenceComparerTest.cs index b8c8e1f84..32d6ca3ee 100644 --- a/test/Cuemon.Core.Tests/Collections/Generic/ReferenceComparerTest.cs +++ b/test/Cuemon.Core.Tests/Collections/Generic/ReferenceComparerTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj b/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj index ac0aa6943..6365b0bd5 100644 --- a/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj +++ b/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj @@ -1,4 +1,4 @@ - + Cuemon diff --git a/test/Cuemon.Core.Tests/DayPartTest.cs b/test/Cuemon.Core.Tests/DayPartTest.cs index 4594562e8..ee2c4fe4b 100644 --- a/test/Cuemon.Core.Tests/DayPartTest.cs +++ b/test/Cuemon.Core.Tests/DayPartTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/DecoratorTest.cs b/test/Cuemon.Core.Tests/DecoratorTest.cs index fc33a6656..574ce6ab4 100644 --- a/test/Cuemon.Core.Tests/DecoratorTest.cs +++ b/test/Cuemon.Core.Tests/DecoratorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Assets; using Xunit; diff --git a/test/Cuemon.Core.Tests/Diagnostics/ExceptionDescriptorTest.cs b/test/Cuemon.Core.Tests/Diagnostics/ExceptionDescriptorTest.cs index 87ca8f548..5ec6f3874 100644 --- a/test/Cuemon.Core.Tests/Diagnostics/ExceptionDescriptorTest.cs +++ b/test/Cuemon.Core.Tests/Diagnostics/ExceptionDescriptorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/test/Cuemon.Core.Tests/DisposableTest.cs b/test/Cuemon.Core.Tests/DisposableTest.cs index 0a53bdff9..97bd4f6e3 100644 --- a/test/Cuemon.Core.Tests/DisposableTest.cs +++ b/test/Cuemon.Core.Tests/DisposableTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Threading; using System.Threading.Tasks; diff --git a/test/Cuemon.Core.Tests/GenerateTest.cs b/test/Cuemon.Core.Tests/GenerateTest.cs index b97464316..a7389b582 100644 --- a/test/Cuemon.Core.Tests/GenerateTest.cs +++ b/test/Cuemon.Core.Tests/GenerateTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Core.Tests/Messaging/CorrelationTokenTest.cs b/test/Cuemon.Core.Tests/Messaging/CorrelationTokenTest.cs index 3694653e6..25183c71a 100644 --- a/test/Cuemon.Core.Tests/Messaging/CorrelationTokenTest.cs +++ b/test/Cuemon.Core.Tests/Messaging/CorrelationTokenTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Messaging/RequestTokenTest.cs b/test/Cuemon.Core.Tests/Messaging/RequestTokenTest.cs index f8cc3e812..8673d11aa 100644 --- a/test/Cuemon.Core.Tests/Messaging/RequestTokenTest.cs +++ b/test/Cuemon.Core.Tests/Messaging/RequestTokenTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/MutableTupleTest.cs b/test/Cuemon.Core.Tests/MutableTupleTest.cs index 467931fef..6ca49c486 100644 --- a/test/Cuemon.Core.Tests/MutableTupleTest.cs +++ b/test/Cuemon.Core.Tests/MutableTupleTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon; diff --git a/test/Cuemon.Core.Tests/Net/Http/MediaTypeHeaderTest.cs b/test/Cuemon.Core.Tests/Net/Http/MediaTypeHeaderTest.cs index 0184c56d7..5ff79fe6b 100644 --- a/test/Cuemon.Core.Tests/Net/Http/MediaTypeHeaderTest.cs +++ b/test/Cuemon.Core.Tests/Net/Http/MediaTypeHeaderTest.cs @@ -1,4 +1,4 @@ -using System.Net.Http.Headers; +using System.Net.Http.Headers; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/ObjectDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/ObjectDecoratorExtensionsTest.cs index f39c8f542..84adcee6a 100644 --- a/test/Cuemon.Core.Tests/ObjectDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/ObjectDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Reflection/ActivatorFactoryTest.cs b/test/Cuemon.Core.Tests/Reflection/ActivatorFactoryTest.cs index 8e2e50355..b3333c7ba 100644 --- a/test/Cuemon.Core.Tests/Reflection/ActivatorFactoryTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/ActivatorFactoryTest.cs @@ -1,4 +1,4 @@ -using Xunit; +using Xunit; namespace Cuemon.Reflection; public class ActivatorFactoryTest diff --git a/test/Cuemon.Core.Tests/Reflection/AssemblyContextOptionsTest.cs b/test/Cuemon.Core.Tests/Reflection/AssemblyContextOptionsTest.cs index 03d32e5d6..1acab1d61 100644 --- a/test/Cuemon.Core.Tests/Reflection/AssemblyContextOptionsTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/AssemblyContextOptionsTest.cs @@ -116,7 +116,7 @@ public void DefaultAssemblyFilter_ShouldReturnSameResult_WhenCalledMultipleTimes Assert.Equal(second, third); } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void DefaultAssemblyFilter_ShouldIncludeNonSystemNonMicrosoftAssemblies() { diff --git a/test/Cuemon.Core.Tests/Reflection/AssemblyDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/Reflection/AssemblyDecoratorExtensionsTest.cs index c060fcf16..3e0a0b259 100644 --- a/test/Cuemon.Core.Tests/Reflection/AssemblyDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/AssemblyDecoratorExtensionsTest.cs @@ -40,7 +40,7 @@ public void GetTypes_ShouldReturnAllTypesFromCuemonCore() TestOutput.WriteLine(disposableTypes.ToDelimitedString()); TestOutput.WriteLine(threadingTypes.ToDelimitedString()); - Assert.InRange(allTypesCount, 250, 300); // range because of tooling on CI adding dynamic types and high range of refactoring + Assert.InRange(allTypesCount, 240, 290); // range because of tooling on CI adding dynamic types and high range of refactoring Assert.Equal(3, disposableTypesCount); Assert.Equal(4, configurationTypesCount); } @@ -53,7 +53,7 @@ public void GetAssemblyVersion_ShouldReturnAssemblyVersion() TestOutput.WriteLine(v.ToString()); - Assert.Equal("10.0.0.0", v.ToString()); + Assert.Equal("11.0.0.0", v.ToString()); Assert.False(v.HasAlphanumericVersion); Assert.False(v.IsSemanticVersion()); } diff --git a/test/Cuemon.Core.Tests/Reflection/MethodInfoDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/Reflection/MethodInfoDecoratorExtensionsTest.cs index 19ffdf2f0..896c16f3c 100644 --- a/test/Cuemon.Core.Tests/Reflection/MethodInfoDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/MethodInfoDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Assets; +using Cuemon.Assets; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Reflection/PropertyInfoDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/Reflection/PropertyInfoDecoratorExtensionsTest.cs index 7f0f7e290..7db22de04 100644 --- a/test/Cuemon.Core.Tests/Reflection/PropertyInfoDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/PropertyInfoDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Assets; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Reflection/TargetFrameworkMonikerTest.cs b/test/Cuemon.Core.Tests/Reflection/TargetFrameworkMonikerTest.cs index c202b3ffe..fb3de508a 100644 --- a/test/Cuemon.Core.Tests/Reflection/TargetFrameworkMonikerTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/TargetFrameworkMonikerTest.cs @@ -165,10 +165,10 @@ private static Assembly CreateDynamicAssembly(string frameworkName) private static string GetExpectedTargetFrameworkMoniker() { -#if NET10_0 +#if NET11_0 + return "net11.0"; +#elif NET10_0 return "net10.0"; -#elif NET9_0 - return "net9.0"; #elif NET48 return "net48"; #else diff --git a/test/Cuemon.Core.Tests/Reflection/VersionResultTest.cs b/test/Cuemon.Core.Tests/Reflection/VersionResultTest.cs index d1b8d79a1..5f6959f8a 100644 --- a/test/Cuemon.Core.Tests/Reflection/VersionResultTest.cs +++ b/test/Cuemon.Core.Tests/Reflection/VersionResultTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Runtime/FileDependencyTest.cs b/test/Cuemon.Core.Tests/Runtime/FileDependencyTest.cs index 8aa030169..2d63ca7bb 100644 --- a/test/Cuemon.Core.Tests/Runtime/FileDependencyTest.cs +++ b/test/Cuemon.Core.Tests/Runtime/FileDependencyTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.IO; using System.Threading; diff --git a/test/Cuemon.Core.Tests/Runtime/Serialization/HierarchySerializerTest.cs b/test/Cuemon.Core.Tests/Runtime/Serialization/HierarchySerializerTest.cs index 11f7468f9..fb16f2fca 100644 --- a/test/Cuemon.Core.Tests/Runtime/Serialization/HierarchySerializerTest.cs +++ b/test/Cuemon.Core.Tests/Runtime/Serialization/HierarchySerializerTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Assets; +using Cuemon.Assets; using Codebelt.Extensions.Xunit; using Cuemon.Extensions.Runtime.Serialization; using Xunit; diff --git a/test/Cuemon.Core.Tests/Security/CyclicRedundancyCheck64Test.cs b/test/Cuemon.Core.Tests/Security/CyclicRedundancyCheck64Test.cs index 26e726447..7f88cd3db 100644 --- a/test/Cuemon.Core.Tests/Security/CyclicRedundancyCheck64Test.cs +++ b/test/Cuemon.Core.Tests/Security/CyclicRedundancyCheck64Test.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using System.Text; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Core.Tests/Security/HashFactoryTest.cs b/test/Cuemon.Core.Tests/Security/HashFactoryTest.cs index 3f0cfc089..88e6dadb5 100644 --- a/test/Cuemon.Core.Tests/Security/HashFactoryTest.cs +++ b/test/Cuemon.Core.Tests/Security/HashFactoryTest.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/StringDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/StringDecoratorExtensionsTest.cs index 3c6098122..ff16ce8da 100644 --- a/test/Cuemon.Core.Tests/StringDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/StringDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; diff --git a/test/Cuemon.Core.Tests/StringReplacePairTest.cs b/test/Cuemon.Core.Tests/StringReplacePairTest.cs index 490a7240b..714da7f7a 100644 --- a/test/Cuemon.Core.Tests/StringReplacePairTest.cs +++ b/test/Cuemon.Core.Tests/StringReplacePairTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.Extensions; using Cuemon.Extensions.IO; diff --git a/test/Cuemon.Core.Tests/Text/ParserFactoryTest.cs b/test/Cuemon.Core.Tests/Text/ParserFactoryTest.cs index 01da6f157..35421dc86 100644 --- a/test/Cuemon.Core.Tests/Text/ParserFactoryTest.cs +++ b/test/Cuemon.Core.Tests/Text/ParserFactoryTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using Codebelt.Extensions.Xunit; @@ -81,7 +81,7 @@ public void ParserFactory_ShouldConvertString_ToTypeConverterImplementation() var sg = Guid.NewGuid(); Assert.Equal(sg, ParserFactory.FromObject().Parse(sg.ToString())); -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER var v = new Version(); Assert.Equal(v, ParserFactory.FromObject().Parse(v.ToString(), typeof(Version))); #endif diff --git a/test/Cuemon.Core.Tests/Text/UriStringOptionsTest.cs b/test/Cuemon.Core.Tests/Text/UriStringOptionsTest.cs index 205785496..34efcb901 100644 --- a/test/Cuemon.Core.Tests/Text/UriStringOptionsTest.cs +++ b/test/Cuemon.Core.Tests/Text/UriStringOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/Threading/AsyncOptionsTest.cs b/test/Cuemon.Core.Tests/Threading/AsyncOptionsTest.cs deleted file mode 100644 index 585ef5afb..000000000 --- a/test/Cuemon.Core.Tests/Threading/AsyncOptionsTest.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Threading; -using System.Threading.Tasks; -using Cuemon.Extensions; -using Codebelt.Extensions.Xunit; -using Xunit; - -namespace Cuemon.Threading; -public class AsyncOptionsTest : Test -{ - public AsyncOptionsTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void Ctor_ShouldInitializeCancellationTokenToDefault() - { - var sut = new AsyncOptions(); - - Assert.Equal(sut.CancellationToken, CancellationToken.None); - } - - [Fact] - public async Task AsyncOptions_ShouldThrow_OperationCanceledException() - { - var cts = new CancellationTokenSource(); - cts.CancelAfter(250); - await Assert.ThrowsAsync(async () => await SomeMethod(o => o.CancellationToken = cts.Token)); - } - - private async Task SomeMethod(Action setup) - { - var options = setup.Configure(); - while (!options.CancellationToken.IsCancellationRequested) - { - await Task.Delay(50); - } - options.CancellationToken.ThrowIfCancellationRequested(); - TestOutput.WriteLine(options.CancellationToken.IsCancellationRequested.ToString()); - } -} diff --git a/test/Cuemon.Core.Tests/Threading/AwaiterTest.cs b/test/Cuemon.Core.Tests/Threading/AwaiterTest.cs deleted file mode 100644 index 72916adfd..000000000 --- a/test/Cuemon.Core.Tests/Threading/AwaiterTest.cs +++ /dev/null @@ -1,542 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using Codebelt.Extensions.Xunit; -using Xunit; - -namespace Cuemon.Threading; -public class AsyncRunOptionsTest : Test -{ - public AsyncRunOptionsTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void Constructor_ShouldInitializeDefaults() - { - var sut = new AsyncRunOptions(); - - Assert.Equal(TimeSpan.FromSeconds(5), sut.Timeout); - Assert.Equal(TimeSpan.FromMilliseconds(100), sut.Delay); - Assert.Equal(0, sut.MaximumAttempts); - Assert.False(sut.CancellationToken.CanBeCanceled); - } - - [Fact] - public void ValidateOptions_ShouldThrowArgumentException_WhenTimeoutIsNegative() - { - var sut = new AsyncRunOptions - { - Timeout = TimeSpan.FromMilliseconds(-1) - }; - - var ex = Assert.Throws(() => Validator.ThrowIfInvalidOptions(sut)); - - Assert.Equal("sut", ex.ParamName); - Assert.IsType(ex.InnerException); - Assert.Contains("Timeout cannot be negative.", ex.InnerException.Message); - } - - [Fact] - public void ValidateOptions_ShouldThrowArgumentException_WhenDelayIsNegative() - { - var sut = new AsyncRunOptions - { - Delay = TimeSpan.FromMilliseconds(-1) - }; - - var ex = Assert.Throws(() => Validator.ThrowIfInvalidOptions(sut)); - - Assert.Equal("sut", ex.ParamName); - Assert.IsType(ex.InnerException); - Assert.Contains("Delay cannot be negative.", ex.InnerException.Message); - } - - [Fact] - public void ValidateOptions_ShouldAllowZeroDelay_WhenMaximumAttemptsIsPositive() - { - var sut = new AsyncRunOptions - { - Delay = TimeSpan.Zero, - MaximumAttempts = 1 - }; - - Validator.ThrowIfInvalidOptions(sut); - - Assert.Equal(1, sut.MaximumAttempts); - } - - [Fact] - public void ValidateOptions_ShouldThrowArgumentException_WhenMaximumAttemptsIsNegative() - { - var sut = new AsyncRunOptions - { - MaximumAttempts = -1 - }; - - var ex = Assert.Throws(() => Validator.ThrowIfInvalidOptions(sut)); - - Assert.Equal("sut", ex.ParamName); - Assert.IsType(ex.InnerException); - Assert.Contains("MaximumAttempts cannot be negative.", ex.InnerException.Message); - } - - [Fact] - public void ValidateOptions_ShouldThrowArgumentException_WhenDelayIsZeroAndMaximumAttemptsIsNotPositive() - { - var sut = new AsyncRunOptions - { - Delay = TimeSpan.Zero - }; - - var ex = Assert.Throws(() => Validator.ThrowIfInvalidOptions(sut)); - - Assert.Equal("sut", ex.ParamName); - Assert.IsType(ex.InnerException); - Assert.Contains("MaximumAttempts must be configured with a positive value", ex.InnerException.Message); - } -} - -public class AwaiterTest : Test -{ - private static readonly TimeSpan AttemptDuration = TimeSpan.FromMilliseconds(20); - private static readonly TimeSpan RetryDelay = TimeSpan.FromMilliseconds(20); - - public AwaiterTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void RunUntilSuccessfulOrTimeoutAsync_ShouldThrowArgumentNullException_WhenMethodIsNullBeforeSetupIsEvaluated() - { - var setupCalls = 0; - - Assert.Throws((Action)(() => Awaiter.RunUntilSuccessfulOrTimeoutAsync(null, o => { setupCalls++; }))); - - Assert.Equal(0, setupCalls); - } - - [Fact] - public void RunUntilSuccessfulOrTimeoutAsync_ShouldThrowArgumentException_WhenSetupConfiguresInvalidOptions() - { - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(new SuccessfulValue()); - } - - var ex = Assert.Throws((Action)(() => Awaiter.RunUntilSuccessfulOrTimeoutAsync(Method, o => { o.Timeout = TimeSpan.FromMilliseconds(-1); }))); - - Assert.Equal("setup", ex.ParamName); - Assert.Equal(0, callCount); - Assert.IsType(ex.InnerException); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldThrowInvalidOperationException_WhenDelegateReturnsNullConditionalValue() - { - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(null); - } - - var ex = await Assert.ThrowsAsync(() => Run(Method, TimeSpan.FromSeconds(1), RetryDelay)); - - Assert.Equal(1, callCount); - Assert.Contains("null ConditionalValue", ex.Message); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnOriginalConditionalValue_WhenFirstAttemptSucceeds() - { - var expected = new SuccessfulValue(); - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(expected); - } - - var result = await Run(Method, TimeSpan.FromSeconds(1), RetryDelay); - - Assert.Same(expected, result); - Assert.Equal(1, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldRetryAfterUnsuccessfulResultUntilSuccess() - { - var expected = new SuccessfulValue(); - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(callCount == 1 ? new UnsuccessfulValue() : expected); - } - - var result = await Run(Method, TimeSpan.FromSeconds(1), RetryDelay); - - Assert.Same(expected, result); - Assert.Equal(2, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnDefaultUnsuccessful_WhenRepeatedResultsRemainUnsuccessfulUntilTimeout() - { - Task Method() - { - return Task.FromResult(new UnsuccessfulValue()); - } - - var unsuccessful = Assert.IsType(await Run(Method, TimeSpan.FromMilliseconds(80), RetryDelay)); - - Assert.False(unsuccessful.Succeeded); - Assert.Null(unsuccessful.Failure); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldRetryAfterExceptionUntilSuccess() - { - var expected = new SuccessfulValue(); - var failure = new InvalidOperationException("fail"); - var callCount = 0; - - Task Method() - { - callCount++; - if (callCount == 1) { throw failure; } - return Task.FromResult(expected); - } - - var result = await Run(Method, TimeSpan.FromSeconds(1), RetryDelay); - - Assert.Same(expected, result); - Assert.Null(result.Failure); - Assert.Equal(2, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnSingleRetainedException_WhenTimeoutElapsesAfterCaughtException() - { - var expected = new InvalidOperationException("fail"); - var callCount = 0; - - Task Method() - { - callCount++; - return ThrowAfterAsync(expected, AttemptDuration); - } - - var result = await Run(Method, TimeSpan.FromMilliseconds(5), RetryDelay); - - Assert.False(result.Succeeded); - Assert.Same(expected, result.Failure); - Assert.Equal(1, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnAggregateExceptionInEncounterOrder_WhenTimeoutElapsesAfterMultipleCaughtExceptions() - { - var first = new InvalidOperationException("first"); - var second = new ArgumentException("second"); - var third = new ApplicationException("third"); - var callCount = 0; - - Task Method() - { - callCount++; - if (callCount == 1) { throw first; } - if (callCount == 2) { throw second; } - return ThrowAfterAsync(third, AttemptDuration); - } - - var result = await Run(Method, TimeSpan.FromMilliseconds(10), TimeSpan.Zero, maximumAttempts: 3); - var aggregate = Assert.IsType(result.Failure); - - Assert.False(result.Succeeded); - Assert.Equal(3, callCount); - Assert.Equal(3, aggregate.InnerExceptions.Count); - Assert.Same(first, aggregate.InnerExceptions[0]); - Assert.Same(second, aggregate.InnerExceptions[1]); - Assert.Same(third, aggregate.InnerExceptions[2]); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldThrowOperationCanceledException_WhenCancellationIsRequestedBeforeInitialAttempt() - { - var cancellationSource = new CancellationTokenSource(); - cancellationSource.Cancel(); - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(new SuccessfulValue()); - } - - var ex = await Assert.ThrowsAnyAsync(() => Run(Method, TimeSpan.FromSeconds(1), RetryDelay, cancellationToken: cancellationSource.Token)); - - Assert.Equal(0, callCount); - Assert.Equal(cancellationSource.Token, ex.CancellationToken); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldPropagateOperationCanceledException_WhenDelegateCancels() - { - var delegateSource = new CancellationTokenSource(); - delegateSource.Cancel(); - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromCanceled(delegateSource.Token); - } - - var ex = await Assert.ThrowsAnyAsync(() => Run(Method, TimeSpan.FromSeconds(1), RetryDelay)); - - Assert.Equal(1, callCount); - Assert.Equal(delegateSource.Token, ex.CancellationToken); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldUseResolvedCancellationTokenForRetryDelay() - { - var attemptSource = new CancellationTokenSource(); - var delaySource = new CancellationTokenSource(); - var resolvedTokens = new Queue(new[] { attemptSource.Token, delaySource.Token }); - var attemptCompleted = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); - var callCount = 0; - - Task Method() - { - callCount++; - attemptCompleted.TrySetResult(null); - return Task.FromResult(new UnsuccessfulValue()); - } - - var task = Run(Method, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1), cancellationTokenProvider: () => resolvedTokens.Dequeue()); - - await attemptCompleted.Task; - await Task.Delay(TimeSpan.FromMilliseconds(30)); - delaySource.Cancel(); - - var ex = await Assert.ThrowsAnyAsync(() => task); - - Assert.Equal(1, callCount); - Assert.Equal(delaySource.Token, ex.CancellationToken); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldResolveCancellationTokenProviderBeforeEveryAttempt() - { - var activeSource = new CancellationTokenSource(); - var canceledSource = new CancellationTokenSource(); - canceledSource.Cancel(); - var resolvedTokens = new Queue(new[] { activeSource.Token, canceledSource.Token }); - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(new UnsuccessfulValue()); - } - - var ex = await Assert.ThrowsAnyAsync(() => Run(Method, TimeSpan.FromSeconds(1), TimeSpan.Zero, maximumAttempts: 2, cancellationTokenProvider: () => resolvedTokens.Dequeue())); - - Assert.Equal(1, callCount); - Assert.Equal(canceledSource.Token, ex.CancellationToken); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldSucceedOnFinalAllowedAttempt_WhenDelayIsZero() - { - var expected = new SuccessfulValue(); - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(callCount < 3 ? new UnsuccessfulValue() : expected); - } - - var result = await Run(Method, TimeSpan.FromSeconds(1), TimeSpan.Zero, maximumAttempts: 3); - - Assert.Same(expected, result); - Assert.Equal(3, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnUnsuccessfulAfterMaximumAttempts_WhenDelayIsZero() - { - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(new UnsuccessfulValue()); - } - - var result = await Run(Method, TimeSpan.FromSeconds(1), TimeSpan.Zero, maximumAttempts: 3); - - Assert.False(result.Succeeded); - Assert.Null(result.Failure); - Assert.Equal(3, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnAggregateExceptionAfterMaximumAttempts_WhenDelayIsZeroAndMultipleExceptionsAreCaught() - { - var first = new InvalidOperationException("first"); - var second = new ArgumentException("second"); - var third = new ApplicationException("third"); - var callCount = 0; - - Task Method() - { - callCount++; - if (callCount == 1) { throw first; } - if (callCount == 2) { throw second; } - throw third; - } - - var result = await Run(Method, TimeSpan.FromSeconds(1), TimeSpan.Zero, maximumAttempts: 3); - var aggregate = Assert.IsType(result.Failure); - - Assert.False(result.Succeeded); - Assert.Equal(3, callCount); - Assert.Equal(3, aggregate.InnerExceptions.Count); - Assert.Same(first, aggregate.InnerExceptions[0]); - Assert.Same(second, aggregate.InnerExceptions[1]); - Assert.Same(third, aggregate.InnerExceptions[2]); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldAllowExactlyOneAttempt_WhenTimeoutIsZero() - { - var callCount = 0; - - Task Method() - { - callCount++; - return Task.FromResult(new UnsuccessfulValue()); - } - - var result = await Run(Method, TimeSpan.Zero, RetryDelay); - - Assert.False(result.Succeeded); - Assert.Null(result.Failure); - Assert.Equal(1, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldNotRetryAfterTimeoutElapses() - { - var callCount = 0; - - Task Method() - { - callCount++; - return ReturnAfterAsync(new UnsuccessfulValue(), AttemptDuration); - } - - var result = await Run(Method, TimeSpan.FromMilliseconds(5), TimeSpan.FromMilliseconds(200)); - - Assert.False(result.Succeeded); - Assert.Null(result.Failure); - Assert.Equal(1, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldCapDelayToRemainingTimeoutWindow() - { - var callCount = 0; - using var cancellationSource = new CancellationTokenSource(); - cancellationSource.CancelAfter(TimeSpan.FromSeconds(2)); - - Task Method() - { - callCount++; - return Task.FromResult(new UnsuccessfulValue()); - } - - var result = await Run(Method, TimeSpan.FromMilliseconds(40), TimeSpan.FromSeconds(5), cancellationToken: cancellationSource.Token); - - Assert.False(result.Succeeded); - Assert.Null(result.Failure); - Assert.Equal(1, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnSuccess_WhenInFlightAttemptCompletesAfterTimeout() - { - var expected = new SuccessfulValue(); - var callCount = 0; - - Task Method() - { - callCount++; - return ReturnAfterAsync(expected, AttemptDuration); - } - - var result = await Run(Method, TimeSpan.FromMilliseconds(5), RetryDelay); - - Assert.Same(expected, result); - Assert.Equal(1, callCount); - } - - [Fact] - public async Task RunUntilSuccessfulOrTimeoutAsync_ShouldReturnUnsuccessful_WhenInFlightAttemptCompletesAfterTimeout() - { - var callCount = 0; - - Task Method() - { - callCount++; - return ReturnAfterAsync(new UnsuccessfulValue(), AttemptDuration); - } - - var result = await Run(Method, TimeSpan.FromMilliseconds(5), RetryDelay); - - Assert.False(result.Succeeded); - Assert.Null(result.Failure); - Assert.Equal(1, callCount); - } - - private static Task Run(Func> method, TimeSpan timeout, TimeSpan delay, int maximumAttempts = 0, CancellationToken? cancellationToken = null, Func cancellationTokenProvider = null) - { - return Awaiter.RunUntilSuccessfulOrTimeoutAsync(method, Configure(timeout, delay, maximumAttempts, cancellationToken, cancellationTokenProvider)); - } - - private static Action Configure(TimeSpan timeout, TimeSpan delay, int maximumAttempts = 0, CancellationToken? cancellationToken = null, Func cancellationTokenProvider = null) - { - return o => - { - o.Timeout = timeout; - o.Delay = delay; - o.MaximumAttempts = maximumAttempts; - if (cancellationToken.HasValue) { o.CancellationToken = cancellationToken.Value; } - if (cancellationTokenProvider != null) { o.CancellationTokenProvider = cancellationTokenProvider; } - }; - } - - private static async Task ReturnAfterAsync(ConditionalValue result, TimeSpan delay) - { - await Task.Delay(delay).ConfigureAwait(false); - return result; - } - - private static async Task ThrowAfterAsync(Exception exception, TimeSpan delay) - { - await Task.Delay(delay).ConfigureAwait(false); - throw exception; - } -} diff --git a/test/Cuemon.Core.Tests/TweakerTest.cs b/test/Cuemon.Core.Tests/TweakerTest.cs index c62f5a8c3..a53d65dec 100644 --- a/test/Cuemon.Core.Tests/TweakerTest.cs +++ b/test/Cuemon.Core.Tests/TweakerTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Assets; +using Cuemon.Assets; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Core.Tests/TypeDecoratorExtensionsTest.cs b/test/Cuemon.Core.Tests/TypeDecoratorExtensionsTest.cs index f2aac157c..c71074f08 100644 --- a/test/Cuemon.Core.Tests/TypeDecoratorExtensionsTest.cs +++ b/test/Cuemon.Core.Tests/TypeDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/test/Cuemon.Data.SqlClient.Tests/Assets/UserSecretsHostFixture.cs b/test/Cuemon.Data.SqlClient.Tests/Assets/UserSecretsHostFixture.cs index 3ba052b1b..84633aff6 100644 --- a/test/Cuemon.Data.SqlClient.Tests/Assets/UserSecretsHostFixture.cs +++ b/test/Cuemon.Data.SqlClient.Tests/Assets/UserSecretsHostFixture.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Cuemon.Collections.Generic; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting; diff --git a/test/Cuemon.Data.SqlClient.Tests/Cuemon.Data.SqlClient.Tests.csproj b/test/Cuemon.Data.SqlClient.Tests/Cuemon.Data.SqlClient.Tests.csproj index bc2879c89..d43b3330a 100644 --- a/test/Cuemon.Data.SqlClient.Tests/Cuemon.Data.SqlClient.Tests.csproj +++ b/test/Cuemon.Data.SqlClient.Tests/Cuemon.Data.SqlClient.Tests.csproj @@ -1,4 +1,4 @@ - + Cuemon.Data.SqlClient diff --git a/test/Cuemon.Data.SqlClient.Tests/SqlDataManagerTest.cs b/test/Cuemon.Data.SqlClient.Tests/SqlDataManagerTest.cs index 575f145ed..678772cf5 100644 --- a/test/Cuemon.Data.SqlClient.Tests/SqlDataManagerTest.cs +++ b/test/Cuemon.Data.SqlClient.Tests/SqlDataManagerTest.cs @@ -1,5 +1,4 @@ using System; -using System.Data; using Microsoft.Data.SqlClient; using System.Linq; using Cuemon.Collections.Generic; @@ -7,7 +6,6 @@ using Cuemon.Extensions; using Cuemon.Extensions.Data; using Codebelt.Extensions.Xunit.Hosting; -using Microsoft.Data.SqlClient; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/test/Cuemon.Data.SqlClient.Tests/SqlInOperatorTest.cs b/test/Cuemon.Data.SqlClient.Tests/SqlInOperatorTest.cs index d2fa50a24..99b09b4fc 100644 --- a/test/Cuemon.Data.SqlClient.Tests/SqlInOperatorTest.cs +++ b/test/Cuemon.Data.SqlClient.Tests/SqlInOperatorTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Cuemon.Collections.Generic; using Cuemon.Data.SqlClient.Assets; using Cuemon.Extensions.Data; diff --git a/test/Cuemon.Data.SqlClient.Tests/SqlQueryBuilderTest.cs b/test/Cuemon.Data.SqlClient.Tests/SqlQueryBuilderTest.cs index 5928e223f..85cfb545c 100644 --- a/test/Cuemon.Data.SqlClient.Tests/SqlQueryBuilderTest.cs +++ b/test/Cuemon.Data.SqlClient.Tests/SqlQueryBuilderTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Cuemon.Data.SqlClient.Assets; using Cuemon.Extensions.Data; diff --git a/test/Cuemon.Data.Tests/Assets/FakeDataManager.cs b/test/Cuemon.Data.Tests/Assets/FakeDataManager.cs index 6b2019404..511b2e4bf 100644 --- a/test/Cuemon.Data.Tests/Assets/FakeDataManager.cs +++ b/test/Cuemon.Data.Tests/Assets/FakeDataManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.Reflection; diff --git a/test/Cuemon.Data.Tests/DataManagerTest.cs b/test/Cuemon.Data.Tests/DataManagerTest.cs index a65638619..256071af9 100644 --- a/test/Cuemon.Data.Tests/DataManagerTest.cs +++ b/test/Cuemon.Data.Tests/DataManagerTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading.Tasks; using Cuemon.Collections.Generic; @@ -161,7 +161,7 @@ public void ExecuteScalarAsSByte_ShouldReturnTheFirstValueOfTheFirstRow() public void ExecuteScalarAsDecimal_ShouldReturnTheFirstValueOfTheFirstRow() { var sut = _manager.ExecuteScalarAs("SELECT ListPrice, Size FROM Product WHERE ProductID > 780"); - Assert.Equal(2319.99m, sut); + Assert.Equal(2319.99m, decimal.Round(sut, 2)); Assert.IsType(sut); } @@ -328,7 +328,7 @@ public async Task ExecuteScalarAsSByteAsync_ShouldReturnTheFirstValueOfTheFirstR public async Task ExecuteScalarAsDecimalAsync_ShouldReturnTheFirstValueOfTheFirstRow() { var sut = await _manager.ExecuteScalarAsAsync("SELECT ListPrice, Size FROM Product WHERE ProductID > 780"); - Assert.Equal(2319.99m, sut); + Assert.Equal(2319.99m, decimal.Round(sut, 2)); Assert.IsType(sut); } @@ -386,7 +386,7 @@ public override void ConfigureServices(IServiceCollection services) { o.LeaveConnectionOpen = true; // never release our connection as it will be closed and our in-mem database will be removed (for normal dbs - always leave false) o.LeaveCommandOpen = true; // do not release our command as it will trigger errors from data readers (for normal dbs - always leave false) - o.ConnectionString = "Data Source=InMemory;Mode=Memory;Cache=Shared"; + o.ConnectionString = $"Data Source=InMemory-{Guid.NewGuid():N};Mode=Memory;Cache=Shared"; }); SqliteDatabase.Create(manager, TestOutput); services.AddSingleton(manager); diff --git a/test/Cuemon.Data.Tests/DataReaderDecoratorExtensionsTest.cs b/test/Cuemon.Data.Tests/DataReaderDecoratorExtensionsTest.cs index 56f9e6350..235d11bb4 100644 --- a/test/Cuemon.Data.Tests/DataReaderDecoratorExtensionsTest.cs +++ b/test/Cuemon.Data.Tests/DataReaderDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using System.IO; using System.Linq; diff --git a/test/Cuemon.Data.Tests/DbTypeDecoratorExtensionsTest.cs b/test/Cuemon.Data.Tests/DbTypeDecoratorExtensionsTest.cs index be8480f69..c78ac3f31 100644 --- a/test/Cuemon.Data.Tests/DbTypeDecoratorExtensionsTest.cs +++ b/test/Cuemon.Data.Tests/DbTypeDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Data.Tests/DsvDataReaderTest.cs b/test/Cuemon.Data.Tests/DsvDataReaderTest.cs index a79a37da2..d20cfc89b 100644 --- a/test/Cuemon.Data.Tests/DsvDataReaderTest.cs +++ b/test/Cuemon.Data.Tests/DsvDataReaderTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Threading.Tasks; diff --git a/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs b/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs index 4d8f78ad7..c55f110b0 100644 --- a/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs +++ b/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Extensions.IO; +using Cuemon.Extensions.IO; using Codebelt.Extensions.Xunit; using Cuemon.Extensions.Text.Json.Formatters; using Xunit; diff --git a/test/Cuemon.Data.Tests/Xml/XmlDataReaderTest.cs b/test/Cuemon.Data.Tests/Xml/XmlDataReaderTest.cs index 48d809421..d263b4156 100644 --- a/test/Cuemon.Data.Tests/Xml/XmlDataReaderTest.cs +++ b/test/Cuemon.Data.Tests/Xml/XmlDataReaderTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Text; diff --git a/test/Cuemon.Diagnostics.Tests/Cuemon.Diagnostics.Tests.csproj b/test/Cuemon.Diagnostics.Tests/Cuemon.Diagnostics.Tests.csproj index addfcb75c..a7f9c6ad1 100644 --- a/test/Cuemon.Diagnostics.Tests/Cuemon.Diagnostics.Tests.csproj +++ b/test/Cuemon.Diagnostics.Tests/Cuemon.Diagnostics.Tests.csproj @@ -1,4 +1,4 @@ - + Cuemon.Diagnostics diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs index 7e7f30e8a..2d65a1176 100644 --- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Security.Claims; using Cuemon.AspNetCore.Authentication.Basic; using Cuemon.AspNetCore.Authentication.Digest; diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs index b0699dc6f..d4476d628 100644 --- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; using Cuemon.AspNetCore.Authentication.Basic; using Cuemon.AspNetCore.Authentication.Digest; using Cuemon.AspNetCore.Authentication.Hmac; diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj index 8dc114d1b..8aed2b0cc 100644 --- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.AspNetCore.Authentication diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Assets/FakeController.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Assets/FakeController.cs index 644ea387f..1cfc83d8a 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Assets/FakeController.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Assets/FakeController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Assets; [ApiController] diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs index aed7ad830..cb204216f 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.AspNetCore.Diagnostics; using Cuemon.Collections.Generic; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests.csproj index 354d7beba..c446fcda1 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs index 9bfaec6c0..0f60a5510 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs index 3969d6cf3..b87dc15b9 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; using System.Text; using System.Threading.Tasks; using Cuemon.AspNetCore.Mvc.Filters.Diagnostics; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Assets/FakeController.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Assets/FakeController.cs index 9b9bce21f..f2221c1f3 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Assets/FakeController.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Assets/FakeController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Assets; [ApiController] diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests.csproj index 2cbae3999..08e5b0e7f 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs index 8327d9ed1..9d9f1dd70 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Net.Http; using System.Text; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs index 982bd66e3..a941b9959 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; using System.Text; using System.Threading.Tasks; using Cuemon.AspNetCore.Mvc.Filters.Diagnostics; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Assets/FakeCacheBusting.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Assets/FakeCacheBusting.cs index 90ddb13bd..c566ade7b 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Assets/FakeCacheBusting.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Assets/FakeCacheBusting.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Configuration; namespace Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Assets; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests.csproj index cc5f43d91..10851956d 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.AspNetCore.Mvc.RazorPages diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs index afd226fd5..e7036fb66 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Razor.TagHelpers; using Cuemon.Extensions.AspNetCore.Configuration; using Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Assets; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableFilter.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableFilter.cs index ba620ff26..b576dedf1 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableFilter.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; using Cuemon.Configuration; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableOptions.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableOptions.cs index e828a9f3c..97f7fea59 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableOptions.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeCacheableOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.Extensions.AspNetCore.Mvc.Assets; public class FakeCacheableOptions : IParameterObject diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeController.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeController.cs index 8f1137ede..e22c8e102 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeController.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Assets/FakeController.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNetCore.Mvc; namespace Cuemon.Extensions.AspNetCore.Mvc.Assets; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/CacheableObjectResultExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/CacheableObjectResultExtensionsTest.cs index 473049cbe..021df7f80 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/CacheableObjectResultExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/CacheableObjectResultExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.AspNetCore.Mvc; using Cuemon.Data.Integrity; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/HomeController.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/HomeController.cs index 7aa5b3272..78b802c8b 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/HomeController.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/HomeController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; namespace Cuemon.Extensions.AspNetCore.Mvc.Controllers; public class HomeController : Controller diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/RegionController.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/RegionController.cs index 6672325ba..91f513563 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/RegionController.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Controllers/RegionController.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Cuemon.Collections.Generic; using Cuemon.Extensions.AspNetCore.Mvc.Models; using Microsoft.AspNetCore.Mvc; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Cuemon.Extensions.AspNetCore.Mvc.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Cuemon.Extensions.AspNetCore.Mvc.Tests.csproj index 38bbda6ac..d20880e11 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Cuemon.Extensions.AspNetCore.Mvc.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Cuemon.Extensions.AspNetCore.Mvc.Tests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.AspNetCore.Mvc true diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Cacheable/CacheableAsyncResultFilterExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Cacheable/CacheableAsyncResultFilterExtensionsTest.cs index 133290b95..fdc9a04a6 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Cacheable/CacheableAsyncResultFilterExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Cacheable/CacheableAsyncResultFilterExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.AspNetCore.Mvc.Filters.Cacheable; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpFaultResolverExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpFaultResolverExtensionsTest.cs index 2b0ec8488..731c95969 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpFaultResolverExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Filters/Diagnostics/HttpFaultResolverExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.AspNetCore.Diagnostics; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs index 970749e0c..3858454ad 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Models/RegionModel.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Models/RegionModel.cs index 54367b2e2..5ae433ed2 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Models/RegionModel.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Models/RegionModel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace Cuemon.Extensions.AspNetCore.Mvc.Models; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Index.cshtml.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Index.cshtml.cs index 937e1667a..76b0792b7 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Index.cshtml.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Index.cshtml.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Cuemon.Extensions.AspNetCore.Mvc.Pages; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/Culture.cshtml.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/Culture.cshtml.cs index 89a187321..4f80f3e4a 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/Culture.cshtml.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/Culture.cshtml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/CultureCollection.cshtml.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/CultureCollection.cshtml.cs index 39e980309..11606e247 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/CultureCollection.cshtml.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/Regions/CultureCollection.cshtml.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/_ViewStart.cshtml b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/_ViewStart.cshtml index a5f10045d..820a2f6e0 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/_ViewStart.cshtml +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Pages/_ViewStart.cshtml @@ -1,3 +1,3 @@ -@{ +@{ Layout = "_Layout"; } diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs index 3890405fb..472910503 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Threading.Tasks; using Cuemon.Extensions.AspNetCore.Configuration; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Views/_ViewStart.cshtml b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Views/_ViewStart.cshtml index a5f10045d..820a2f6e0 100644 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Views/_ViewStart.cshtml +++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Views/_ViewStart.cshtml @@ -1,3 +1,3 @@ -@{ +@{ Layout = "_Layout"; } diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/AssemblyCacheBustingTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/AssemblyCacheBustingTest.cs index 67dd817b7..96d60b395 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/AssemblyCacheBustingTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/AssemblyCacheBustingTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; using System.Linq; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/ServiceCollectionExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/ServiceCollectionExtensionsTest.cs index b05e73e5a..3040ee45c 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/ServiceCollectionExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Configuration/ServiceCollectionExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Cuemon.AspNetCore.Configuration; using Codebelt.Extensions.Xunit; using Microsoft.Extensions.DependencyInjection; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj index d3e712352..56ea40cd6 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@ - + - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.AspNetCore diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/CacheValidatorExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/CacheValidatorExtensionsTest.cs index 35afbca9b..77122d3da 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/CacheValidatorExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/CacheValidatorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Cuemon.Data.Integrity; using Codebelt.Extensions.Xunit; using Cuemon.Security; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/ChecksumBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/ChecksumBuilderExtensionsTest.cs index ab32714fd..2af74ec25 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/ChecksumBuilderExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Data/Integrity/ChecksumBuilderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Cuemon.Data.Integrity; using Codebelt.Extensions.Xunit; using Cuemon.Security; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceCollectionExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceCollectionExtensionsTest.cs index 06896736a..dd9d1c7ea 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceCollectionExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceCollectionExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.AspNetCore.Diagnostics; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs index d6afe1e32..6da8f0ab4 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Net.Http; using Cuemon.AspNetCore.Diagnostics; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs index 4dbf751dd..a964bc9df 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Cuemon.AspNetCore.Hosting; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HeaderDictionaryExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HeaderDictionaryExtensionsTest.cs index 776d62a20..8e8827ce4 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HeaderDictionaryExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HeaderDictionaryExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs index 5f97ac016..3d63dc858 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; using Cuemon.Data.Integrity; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpResponseExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpResponseExtensionsTest.cs index 78a932e39..02320708a 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpResponseExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpResponseExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Http/Int32ExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Http/Int32ExtensionsTest.cs index 3161c2e52..e333efa25 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Http/Int32ExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Http/Int32ExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/ActionExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/ActionExtensionsTest.cs index bc3fa636e..9434ffa56 100644 --- a/test/Cuemon.Extensions.Core.Tests/ActionExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/ActionExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/Assets/GenericClass.cs b/test/Cuemon.Extensions.Core.Tests/Assets/GenericClass.cs index df96d1fc8..fab09ed7a 100644 --- a/test/Cuemon.Extensions.Core.Tests/Assets/GenericClass.cs +++ b/test/Cuemon.Extensions.Core.Tests/Assets/GenericClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/test/Cuemon.Extensions.Core.Tests/ByteExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/ByteExtensionsTest.cs index f9db9f8d1..35c1258be 100644 --- a/test/Cuemon.Extensions.Core.Tests/ByteExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/ByteExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using Codebelt.Extensions.Xunit; using Cuemon.Text; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/CharExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/CharExtensionsTest.cs index 6cb148591..c35eff49b 100644 --- a/test/Cuemon.Extensions.Core.Tests/CharExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/CharExtensionsTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon.Extensions; diff --git a/test/Cuemon.Extensions.Core.Tests/DateTimeExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/DateTimeExtensionsTest.cs index 45865d00f..366ec3809 100644 --- a/test/Cuemon.Extensions.Core.Tests/DateTimeExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/DateTimeExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/DoubleExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/DoubleExtensionsTest.cs index 78dbc840b..634af1d35 100644 --- a/test/Cuemon.Extensions.Core.Tests/DoubleExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/DoubleExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Collections.Generic; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/ExceptionExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/ExceptionExtensionsTest.cs index 133bccea0..5f1e8092a 100644 --- a/test/Cuemon.Extensions.Core.Tests/ExceptionExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/ExceptionExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Reflection; using Cuemon.Collections.Generic; diff --git a/test/Cuemon.Extensions.Core.Tests/IntegerExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/IntegerExtensionsTest.cs index 1643e26d8..889049067 100644 --- a/test/Cuemon.Extensions.Core.Tests/IntegerExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/IntegerExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/MutableTupleFactoryTest.cs b/test/Cuemon.Extensions.Core.Tests/MutableTupleFactoryTest.cs index 82bfde8e1..de56d9558 100644 --- a/test/Cuemon.Extensions.Core.Tests/MutableTupleFactoryTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/MutableTupleFactoryTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon.Extensions; diff --git a/test/Cuemon.Extensions.Core.Tests/ObjectExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/ObjectExtensionsTest.cs index 10e8dc77b..7f75ed69d 100644 --- a/test/Cuemon.Extensions.Core.Tests/ObjectExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/ObjectExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Cuemon.Collections.Generic; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/StringExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/StringExtensionsTest.cs index 292811b4c..ce47df67a 100644 --- a/test/Cuemon.Extensions.Core.Tests/StringExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/StringExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/test/Cuemon.Extensions.Core.Tests/TimeSpanExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/TimeSpanExtensionsTest.cs index 65c30e872..ddb010c8c 100644 --- a/test/Cuemon.Extensions.Core.Tests/TimeSpanExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/TimeSpanExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Core.Tests/TypeExtensionsTest.cs b/test/Cuemon.Extensions.Core.Tests/TypeExtensionsTest.cs index 1c6115636..c2cebe3f7 100644 --- a/test/Cuemon.Extensions.Core.Tests/TypeExtensionsTest.cs +++ b/test/Cuemon.Extensions.Core.Tests/TypeExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.Tracing; diff --git a/test/Cuemon.Extensions.Data.Integrity.Tests/DateTimeExtensionsTest.cs b/test/Cuemon.Extensions.Data.Integrity.Tests/DateTimeExtensionsTest.cs index eec7e0231..c439db818 100644 --- a/test/Cuemon.Extensions.Data.Integrity.Tests/DateTimeExtensionsTest.cs +++ b/test/Cuemon.Extensions.Data.Integrity.Tests/DateTimeExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Data.Integrity; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Data.Tests/DataReaderExtensionsTest.cs b/test/Cuemon.Extensions.Data.Tests/DataReaderExtensionsTest.cs index 749407c58..f8401ee5d 100644 --- a/test/Cuemon.Extensions.Data.Tests/DataReaderExtensionsTest.cs +++ b/test/Cuemon.Extensions.Data.Tests/DataReaderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Linq; using Cuemon.Data; using Cuemon.Extensions.Reflection; diff --git a/test/Cuemon.Extensions.Data.Tests/DbTypeExtensionsTest.cs b/test/Cuemon.Extensions.Data.Tests/DbTypeExtensionsTest.cs index 4bbb026c8..3bb54de73 100644 --- a/test/Cuemon.Extensions.Data.Tests/DbTypeExtensionsTest.cs +++ b/test/Cuemon.Extensions.Data.Tests/DbTypeExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Data; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Data.Tests/QueryFormatExtensionsTest.cs b/test/Cuemon.Extensions.Data.Tests/QueryFormatExtensionsTest.cs index 269fc3510..684c480e3 100644 --- a/test/Cuemon.Extensions.Data.Tests/QueryFormatExtensionsTest.cs +++ b/test/Cuemon.Extensions.Data.Tests/QueryFormatExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using Cuemon.Data; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/DefaultService.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/DefaultService.cs index 93a3dad5e..3d1fbc0a5 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/DefaultService.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/DefaultService.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public class DefaultService : IService { public DefaultService() diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeOptions.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeOptions.cs index 368a47811..7adb113bd 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeOptions.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public class FakeOptions { public FakeOptions() diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeService.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeService.cs index 4d1f7efb0..534a74355 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeService.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeService.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.Extensions.Options; namespace Cuemon.Extensions.DependencyInjection.Assets; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScoped.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScoped.cs index 659be3ce6..bb1cfdcfc 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScoped.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScoped.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.Extensions.Options; namespace Cuemon.Extensions.DependencyInjection.Assets; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScopedOptions.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScopedOptions.cs index edffd4271..e7feb3ae7 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScopedOptions.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceScopedOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public class FakeServiceScopedOptions : FakeOptions { public FakeServiceScopedOptions() diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingleton.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingleton.cs index c7bdc25a8..579d94ef6 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingleton.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingleton.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.Extensions.Options; namespace Cuemon.Extensions.DependencyInjection.Assets; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingletonOptions.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingletonOptions.cs index 03d171bab..1f1d19039 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingletonOptions.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceSingletonOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public class FakeServiceSingletonOptions : FakeOptions { public FakeServiceSingletonOptions() diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransient.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransient.cs index b8bfb83d5..c2f68a080 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransient.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransient.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.Extensions.Options; namespace Cuemon.Extensions.DependencyInjection.Assets; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransientOptions.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransientOptions.cs index e9e99820b..3c5d62835 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransientOptions.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/FakeServiceTransientOptions.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public class FakeServiceTransientOptions : FakeOptions { public FakeServiceTransientOptions() diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/Foo.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/Foo.cs index 7af080fac..a226f8175 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/Foo.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/Foo.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public class Foo : IFoo, IBar { } diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IBar.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IBar.cs index f5fc9362b..fe506a95f 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IBar.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IBar.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public interface IBar { diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IFoo.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IFoo.cs index ecaafadf5..295d3fb84 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IFoo.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IFoo.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public interface IFoo { diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IService.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IService.cs index 88c45f36f..ea645d820 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IService.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Assets/IService.cs @@ -1,4 +1,4 @@ -namespace Cuemon.Extensions.DependencyInjection.Assets; +namespace Cuemon.Extensions.DependencyInjection.Assets; public interface IService { string ServiceType { get; } diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj b/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj index 6f0d70187..9d07b1a0c 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj @@ -10,7 +10,7 @@ - + diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs index 1f986516a..c986e35ba 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs @@ -1,11 +1,11 @@ -using System; +using System; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Cuemon.Configuration; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER using Cuemon.AspNetCore.Diagnostics; using Cuemon.AspNetCore.Mvc.Filters.Diagnostics; using Cuemon.Extensions.Text.Json.Formatters; @@ -1327,7 +1327,7 @@ public void TryAdd_ShouldAddServiceToServiceCollectionUsingFactoryWithSpecifiedL Assert.Null(sut9); } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void TryConfigure_ShouldAddConfigureOptions() diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceOptionsTest.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceOptionsTest.cs index a5f5cddc0..4de2f2042 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceOptionsTest.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/TypeExtensionsTest.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/TypeExtensionsTest.cs index d4a40fd23..18421c657 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/TypeExtensionsTest.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/TypeExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Extensions.DependencyInjection.Assets; using Codebelt.Extensions.Xunit; using Microsoft.Extensions.DependencyInjection; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/TypeForwardingServiceOptionsTest.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/TypeForwardingServiceOptionsTest.cs index 3a0f53a61..4292b93b9 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/TypeForwardingServiceOptionsTest.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/TypeForwardingServiceOptionsTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs b/test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs index 742aa65fb..a6023eb5f 100644 --- a/test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs +++ b/test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Hosting.Tests/Cuemon.Extensions.Hosting.Tests.csproj b/test/Cuemon.Extensions.Hosting.Tests/Cuemon.Extensions.Hosting.Tests.csproj index 319f8a526..67bb3a59f 100644 --- a/test/Cuemon.Extensions.Hosting.Tests/Cuemon.Extensions.Hosting.Tests.csproj +++ b/test/Cuemon.Extensions.Hosting.Tests/Cuemon.Extensions.Hosting.Tests.csproj @@ -1,4 +1,4 @@ - + Cuemon.Extensions.Hosting diff --git a/test/Cuemon.Extensions.Hosting.Tests/HostEnvironmentExtensionsTest.cs b/test/Cuemon.Extensions.Hosting.Tests/HostEnvironmentExtensionsTest.cs index e4a7bcafa..b37b4f8f2 100644 --- a/test/Cuemon.Extensions.Hosting.Tests/HostEnvironmentExtensionsTest.cs +++ b/test/Cuemon.Extensions.Hosting.Tests/HostEnvironmentExtensionsTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit.Hosting; +using Codebelt.Extensions.Xunit.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Xunit; @@ -22,7 +22,7 @@ public override void ConfigureServices(IServiceCollection services) [Fact] public void IsLocalDevelopment_VerifyEnvironmentEqualsLocalDevelopment() { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER Assert.True(Environment.IsLocalDevelopment()); Assert.False(Environment.IsProduction()); Assert.False(Environment.IsStaging()); @@ -39,7 +39,7 @@ public void IsLocalDevelopment_VerifyEnvironmentEqualsLocalDevelopment() [Fact] public void IsLocalDevelopment_VerifyEnvironmentIsNonProduction() { -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER Assert.True(Environment.IsNonProduction()); Assert.False(Environment.IsProduction()); #else diff --git a/test/Cuemon.Extensions.IO.Tests/ByteArrayExtensionsTest.cs b/test/Cuemon.Extensions.IO.Tests/ByteArrayExtensionsTest.cs index 24eb8a0ef..df881e7c3 100644 --- a/test/Cuemon.Extensions.IO.Tests/ByteArrayExtensionsTest.cs +++ b/test/Cuemon.Extensions.IO.Tests/ByteArrayExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.IO.Tests/StreamExtensionsTest.cs b/test/Cuemon.Extensions.IO.Tests/StreamExtensionsTest.cs index 20fb23cfe..4d85466a8 100644 --- a/test/Cuemon.Extensions.IO.Tests/StreamExtensionsTest.cs +++ b/test/Cuemon.Extensions.IO.Tests/StreamExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Text; using System.Threading; @@ -217,7 +217,7 @@ public async Task ToEncodedStringAsync_ShouldConvertStreamToUnicodeEncodedString Assert.Equal(636, sut6.Length); } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void CompressBrotli_ShouldCompressAndDecompress() diff --git a/test/Cuemon.Extensions.IO.Tests/StringExtensionsTest.cs b/test/Cuemon.Extensions.IO.Tests/StringExtensionsTest.cs index 9745c2105..54c4fd62a 100644 --- a/test/Cuemon.Extensions.IO.Tests/StringExtensionsTest.cs +++ b/test/Cuemon.Extensions.IO.Tests/StringExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.IO.Tests/TextReaderExtensionsTest.cs b/test/Cuemon.Extensions.IO.Tests/TextReaderExtensionsTest.cs index 3bd18244f..7b278c6fb 100644 --- a/test/Cuemon.Extensions.IO.Tests/TextReaderExtensionsTest.cs +++ b/test/Cuemon.Extensions.IO.Tests/TextReaderExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Linq; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; @@ -24,7 +24,7 @@ public async Task CopyToAsync_ShouldCopyContentOfReaderToWriter() sut2.Dispose(); -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER await sut3.DisposeAsync(); await sut4.DisposeAsync(); #else diff --git a/test/Cuemon.Extensions.Net.Tests/Http/SlimHttpClientFactoryTest.cs b/test/Cuemon.Extensions.Net.Tests/Http/SlimHttpClientFactoryTest.cs index f7bbc3eb3..02683d0bc 100644 --- a/test/Cuemon.Extensions.Net.Tests/Http/SlimHttpClientFactoryTest.cs +++ b/test/Cuemon.Extensions.Net.Tests/Http/SlimHttpClientFactoryTest.cs @@ -36,7 +36,7 @@ public void SlimHttpClientFactory_ShouldCreateClientsAndExposeOptions() Assert.NotNull(client); } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void SlimHttpClientFactory_ShouldReuseHandlersAndProtectInnerHandlerOnDispose() { diff --git a/test/Cuemon.Extensions.Net.Tests/Security/StringExtensionsTest.cs b/test/Cuemon.Extensions.Net.Tests/Security/StringExtensionsTest.cs index 2f8b3b52e..4b76e54f0 100644 --- a/test/Cuemon.Extensions.Net.Tests/Security/StringExtensionsTest.cs +++ b/test/Cuemon.Extensions.Net.Tests/Security/StringExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Security; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Extensions.Reflection.Tests/AssemblyExtensionsTest.cs b/test/Cuemon.Extensions.Reflection.Tests/AssemblyExtensionsTest.cs index 5234ee017..cf19d2ee8 100644 --- a/test/Cuemon.Extensions.Reflection.Tests/AssemblyExtensionsTest.cs +++ b/test/Cuemon.Extensions.Reflection.Tests/AssemblyExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using Codebelt.Extensions.Xunit; using Xunit; @@ -18,7 +18,7 @@ public void GetAssemblyVersion_ShouldReturnAssemblyVersion() TestOutput.WriteLine(sut2.ToString()); - Assert.Equal("10.0.0.0", sut2.ToString()); + Assert.Equal("11.0.0.0", sut2.ToString()); Assert.False(sut2.HasAlphanumericVersion); Assert.False(sut2.IsSemanticVersion()); } diff --git a/test/Cuemon.Extensions.Reflection.Tests/Assets/ClassWithAttributeDecorations.cs b/test/Cuemon.Extensions.Reflection.Tests/Assets/ClassWithAttributeDecorations.cs index 2b3e03db2..3b89982d6 100644 --- a/test/Cuemon.Extensions.Reflection.Tests/Assets/ClassWithAttributeDecorations.cs +++ b/test/Cuemon.Extensions.Reflection.Tests/Assets/ClassWithAttributeDecorations.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using System.Xml.Serialization; diff --git a/test/Cuemon.Extensions.Reflection.Tests/Assets/CustomException.cs b/test/Cuemon.Extensions.Reflection.Tests/Assets/CustomException.cs index 0acf3ae92..d9b067dee 100644 --- a/test/Cuemon.Extensions.Reflection.Tests/Assets/CustomException.cs +++ b/test/Cuemon.Extensions.Reflection.Tests/Assets/CustomException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Extensions.Reflection.Assets; public class CustomException : AggregateException diff --git a/test/Cuemon.Extensions.Reflection.Tests/MemberInfoExtensionsTest.cs b/test/Cuemon.Extensions.Reflection.Tests/MemberInfoExtensionsTest.cs index 3dc166703..c0ffa3aa9 100644 --- a/test/Cuemon.Extensions.Reflection.Tests/MemberInfoExtensionsTest.cs +++ b/test/Cuemon.Extensions.Reflection.Tests/MemberInfoExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Xml.Serialization; using Cuemon.Extensions.Reflection.Assets; diff --git a/test/Cuemon.Extensions.Reflection.Tests/PropertyInfoExtensionsTest.cs b/test/Cuemon.Extensions.Reflection.Tests/PropertyInfoExtensionsTest.cs index 52a640552..5c8a25375 100644 --- a/test/Cuemon.Extensions.Reflection.Tests/PropertyInfoExtensionsTest.cs +++ b/test/Cuemon.Extensions.Reflection.Tests/PropertyInfoExtensionsTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Extensions.Reflection.Assets; +using Cuemon.Extensions.Reflection.Assets; using Codebelt.Extensions.Xunit; using Cuemon.Reflection; using Xunit; diff --git a/test/Cuemon.Extensions.Reflection.Tests/TypeExtensionsTest.cs b/test/Cuemon.Extensions.Reflection.Tests/TypeExtensionsTest.cs index a099497e6..52cf78592 100644 --- a/test/Cuemon.Extensions.Reflection.Tests/TypeExtensionsTest.cs +++ b/test/Cuemon.Extensions.Reflection.Tests/TypeExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Reflection; @@ -135,6 +135,13 @@ public void GetAllMethods_ShouldIncludeFullInheritanceChainOfMethods() expected = 49; #endif +#if NET11_0_OR_GREATER + if (OperatingSystem.IsLinux()) // apparently ms decided to remove GetHelpContext on linux + { + expected = 39; + } +#endif + TestOutput.WriteLines(methods); Assert.Equal(expected, methods.Count()); @@ -164,7 +171,7 @@ public void GetAllFields_ShouldIncludeFullInheritanceChainOfFields() expected = 21; actualValueName = "m_actualValue"; #endif -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER expected = 16; #endif diff --git a/test/Cuemon.Extensions.Runtime.Caching.Tests/Assets/CountdownDependency.cs b/test/Cuemon.Extensions.Runtime.Caching.Tests/Assets/CountdownDependency.cs index 7f4fa5228..cc1238934 100644 --- a/test/Cuemon.Extensions.Runtime.Caching.Tests/Assets/CountdownDependency.cs +++ b/test/Cuemon.Extensions.Runtime.Caching.Tests/Assets/CountdownDependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; diff --git a/test/Cuemon.Extensions.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs b/test/Cuemon.Extensions.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs index ba363f74b..b9a0f9257 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs +++ b/test/Cuemon.Extensions.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; diff --git a/test/Cuemon.Extensions.Text.Json.Tests/Cuemon.Extensions.Text.Json.Tests.csproj b/test/Cuemon.Extensions.Text.Json.Tests/Cuemon.Extensions.Text.Json.Tests.csproj index ce9ee0993..29b46473c 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/Cuemon.Extensions.Text.Json.Tests.csproj +++ b/test/Cuemon.Extensions.Text.Json.Tests/Cuemon.Extensions.Text.Json.Tests.csproj @@ -1,7 +1,7 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.Extensions.Text.Json diff --git a/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterOptionsTest.cs b/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterOptionsTest.cs index 62010b68a..c72cd70de 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterOptionsTest.cs +++ b/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; diff --git a/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterTest.cs b/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterTest.cs index 434fe4ff3..37b419753 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterTest.cs +++ b/test/Cuemon.Extensions.Text.Json.Tests/Formatters/JsonFormatterTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Reflection; diff --git a/test/Cuemon.Extensions.Text.Json.Tests/Resilience/TransientFaultExceptionTest.cs b/test/Cuemon.Extensions.Text.Json.Tests/Resilience/TransientFaultExceptionTest.cs index 899081ded..84eb17e5f 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/Resilience/TransientFaultExceptionTest.cs +++ b/test/Cuemon.Extensions.Text.Json.Tests/Resilience/TransientFaultExceptionTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Reflection; using Cuemon.Extensions.IO; diff --git a/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentExceptionTest.cs b/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentExceptionTest.cs index 4b70fcf82..016976bed 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentExceptionTest.cs +++ b/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentExceptionTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using Cuemon.Extensions.IO; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentOutOfRangeExceptionTest.cs b/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentOutOfRangeExceptionTest.cs index 1dd51b723..a922a8c35 100644 --- a/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentOutOfRangeExceptionTest.cs +++ b/test/Cuemon.Extensions.Text.Json.Tests/TypeArgumentOutOfRangeExceptionTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using Cuemon.Extensions.IO; using Cuemon.Extensions.Text.Json.Formatters; diff --git a/test/Cuemon.Extensions.Threading.Tests/Tasks/TaskExtensionsTest.cs b/test/Cuemon.Extensions.Threading.Tests/Tasks/TaskExtensionsTest.cs index cea3cd157..d4ab29efa 100644 --- a/test/Cuemon.Extensions.Threading.Tests/Tasks/TaskExtensionsTest.cs +++ b/test/Cuemon.Extensions.Threading.Tests/Tasks/TaskExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using System.Threading.Tasks; using Codebelt.Extensions.Xunit; using Cuemon.Reflection; @@ -21,7 +21,7 @@ public void ContinueWithCapturedContext_ShouldHaveTaskAwaiterSetToTrue() var sut = task.ContinueWithCapturedContext(); var configuredTaskAwaiter = sut.GetType().GetField("m_configuredTaskAwaiter", MemberReflection.Everything).GetValue(sut).As(); var continueOnCapturedContext = false; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_options", MemberReflection.Everything)?.GetValue(configuredTaskAwaiter)?.As() == ConfigureAwaitOptions.ContinueOnCapturedContext; #else continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_continueOnCapturedContext", MemberReflection.Everything).GetValue(configuredTaskAwaiter).As(); @@ -43,7 +43,7 @@ public void ContinueWithSuppressedContext_ShouldHaveTaskAwaiterSetToFalse() var sut = task.ContinueWithSuppressedContext(); var configuredTaskAwaiter = sut.GetType().GetField("m_configuredTaskAwaiter", MemberReflection.Everything).GetValue(sut).As(); var continueOnCapturedContext = true; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_options", MemberReflection.Everything)?.GetValue(configuredTaskAwaiter)?.As() == ConfigureAwaitOptions.ContinueOnCapturedContext; #else continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_continueOnCapturedContext", MemberReflection.Everything).GetValue(configuredTaskAwaiter).As(); @@ -63,7 +63,7 @@ public void ContinueWithCapturedContextOfResult_ShouldHaveTaskAwaiterSetToTrue() var awaitableTask = sut.ContinueWithCapturedContext(); var configuredTaskAwaiter = awaitableTask.GetType().GetField("m_configuredTaskAwaiter", MemberReflection.Everything).GetValue(awaitableTask).As.ConfiguredTaskAwaiter>(); var continueOnCapturedContext = false; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_options", MemberReflection.Everything)?.GetValue(configuredTaskAwaiter)?.As() == ConfigureAwaitOptions.ContinueOnCapturedContext; #else continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_continueOnCapturedContext", MemberReflection.Everything).GetValue(configuredTaskAwaiter).As(); @@ -83,7 +83,7 @@ public void ContinueWithSuppressedContextOfResult_ShouldHaveTaskAwaiterSetToFals var sut = task.ContinueWithSuppressedContext(); var configuredTaskAwaiter = sut.GetType().GetField("m_configuredTaskAwaiter", MemberReflection.Everything).GetValue(sut).As.ConfiguredTaskAwaiter>(); var continueOnCapturedContext = true; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_options", MemberReflection.Everything)?.GetValue(configuredTaskAwaiter)?.As() == ConfigureAwaitOptions.ContinueOnCapturedContext; #else continueOnCapturedContext = configuredTaskAwaiter.GetType().GetField("m_continueOnCapturedContext", MemberReflection.Everything).GetValue(configuredTaskAwaiter).As(); diff --git a/test/Cuemon.Extensions.Xml.Tests/Assets/HierarchyExample.cs b/test/Cuemon.Extensions.Xml.Tests/Assets/HierarchyExample.cs index 50f709cb5..f4e4f0ee4 100644 --- a/test/Cuemon.Extensions.Xml.Tests/Assets/HierarchyExample.cs +++ b/test/Cuemon.Extensions.Xml.Tests/Assets/HierarchyExample.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Xml.Serialization; using Cuemon.Reflection; diff --git a/test/Cuemon.Extensions.Xml.Tests/StreamExtensionsTest.cs b/test/Cuemon.Extensions.Xml.Tests/StreamExtensionsTest.cs index 42c72415a..f6896b67e 100644 --- a/test/Cuemon.Extensions.Xml.Tests/StreamExtensionsTest.cs +++ b/test/Cuemon.Extensions.Xml.Tests/StreamExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Text; using Cuemon.Extensions.IO; using Cuemon.Extensions.Reflection; diff --git a/test/Cuemon.Extensions.Xml.Tests/StringExtensionsTest.cs b/test/Cuemon.Extensions.Xml.Tests/StringExtensionsTest.cs index 8143757bb..52d8e125c 100644 --- a/test/Cuemon.Extensions.Xml.Tests/StringExtensionsTest.cs +++ b/test/Cuemon.Extensions.Xml.Tests/StringExtensionsTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Extensions.IO; +using Cuemon.Extensions.IO; using Cuemon.Extensions.Xml.Assets; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; diff --git a/test/Cuemon.Extensions.Xml.Tests/XmlWriterExtensionsTest.cs b/test/Cuemon.Extensions.Xml.Tests/XmlWriterExtensionsTest.cs index 9801b8845..5522c27b7 100644 --- a/test/Cuemon.Extensions.Xml.Tests/XmlWriterExtensionsTest.cs +++ b/test/Cuemon.Extensions.Xml.Tests/XmlWriterExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Extensions.IO; using Codebelt.Extensions.Xunit; using Cuemon.Xml; diff --git a/test/Cuemon.IO.Tests/StreamDecoratorExtensionsTest.cs b/test/Cuemon.IO.Tests/StreamDecoratorExtensionsTest.cs index 39647aeb6..3cf2a02aa 100644 --- a/test/Cuemon.IO.Tests/StreamDecoratorExtensionsTest.cs +++ b/test/Cuemon.IO.Tests/StreamDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Text; @@ -15,7 +15,7 @@ public StreamDecoratorExtensionsTest(ITestOutputHelper output) : base(output) { } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void CompressBrotli_ShouldCompressAndDecompress() diff --git a/test/Cuemon.IO.Tests/StreamFactoryTest.cs b/test/Cuemon.IO.Tests/StreamFactoryTest.cs index 133a8bb10..500e45f72 100644 --- a/test/Cuemon.IO.Tests/StreamFactoryTest.cs +++ b/test/Cuemon.IO.Tests/StreamFactoryTest.cs @@ -2,7 +2,7 @@ using System.Globalization; using System.IO; using System.Linq; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER using System.Buffers; #endif using System.Text; @@ -106,7 +106,7 @@ public void Create_ShouldWrapExceptionsFromWriterDelegate() Assert.Equal("boom", ex.InnerException.Message); } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void Create_ShouldWriteContent_WhenUsingActionOfBufferWriter() diff --git a/test/Cuemon.IO.Tests/StreamOptionsTest.cs b/test/Cuemon.IO.Tests/StreamOptionsTest.cs index 82a85e9b5..289e2b691 100644 --- a/test/Cuemon.IO.Tests/StreamOptionsTest.cs +++ b/test/Cuemon.IO.Tests/StreamOptionsTest.cs @@ -1,6 +1,6 @@ using System; using System.Globalization; -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER using System.Buffers; #endif using System.IO; @@ -82,7 +82,7 @@ public void StreamReaderOptions_ShouldHaveExpectedDefaultsAndAllowCustomization( Assert.Equal(PreambleSequence.Remove, sut.Preamble); } -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER [Fact] public void BufferWriterOptions_ShouldHaveExpectedDefaultsAndAllowCustomization() diff --git a/test/Cuemon.Kernel.Tests/Assets/EssentialOptions.cs b/test/Cuemon.Kernel.Tests/Assets/EssentialOptions.cs index c221effd5..642841591 100644 --- a/test/Cuemon.Kernel.Tests/Assets/EssentialOptions.cs +++ b/test/Cuemon.Kernel.Tests/Assets/EssentialOptions.cs @@ -1,4 +1,4 @@ -using Cuemon.Configuration; +using Cuemon.Configuration; namespace Cuemon.Assets; public class EssentialOptions : IParameterObject diff --git a/test/Cuemon.Kernel.Tests/Assets/FailPostConfigurableOptions.cs b/test/Cuemon.Kernel.Tests/Assets/FailPostConfigurableOptions.cs index 69136ce22..099579ae4 100644 --- a/test/Cuemon.Kernel.Tests/Assets/FailPostConfigurableOptions.cs +++ b/test/Cuemon.Kernel.Tests/Assets/FailPostConfigurableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Cuemon.Assets; public class FailPostConfigurableOptions : PostConfigurableOptions diff --git a/test/Cuemon.Kernel.Tests/Assets/PostConfigurableOptions.cs b/test/Cuemon.Kernel.Tests/Assets/PostConfigurableOptions.cs index 10421763e..3b86f428c 100644 --- a/test/Cuemon.Kernel.Tests/Assets/PostConfigurableOptions.cs +++ b/test/Cuemon.Kernel.Tests/Assets/PostConfigurableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.Assets; diff --git a/test/Cuemon.Kernel.Tests/Assets/ValidatableOptions.cs b/test/Cuemon.Kernel.Tests/Assets/ValidatableOptions.cs index baccdfdab..52153ce72 100644 --- a/test/Cuemon.Kernel.Tests/Assets/ValidatableOptions.cs +++ b/test/Cuemon.Kernel.Tests/Assets/ValidatableOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using Cuemon.Configuration; namespace Cuemon.Assets; diff --git a/test/Cuemon.Kernel.Tests/Cuemon.Kernel.Tests.csproj b/test/Cuemon.Kernel.Tests/Cuemon.Kernel.Tests.csproj index 6658abe12..b97e228ce 100644 --- a/test/Cuemon.Kernel.Tests/Cuemon.Kernel.Tests.csproj +++ b/test/Cuemon.Kernel.Tests/Cuemon.Kernel.Tests.csproj @@ -1,4 +1,4 @@ - + Cuemon diff --git a/test/Cuemon.Core.Tests/DateSpanTest.cs b/test/Cuemon.Kernel.Tests/DateSpanTest.cs similarity index 55% rename from test/Cuemon.Core.Tests/DateSpanTest.cs rename to test/Cuemon.Kernel.Tests/DateSpanTest.cs index b06973a9a..e90ac3867 100644 --- a/test/Cuemon.Core.Tests/DateSpanTest.cs +++ b/test/Cuemon.Kernel.Tests/DateSpanTest.cs @@ -1,5 +1,6 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using System; +using System.Collections.Generic; using System.Globalization; using Xunit; @@ -218,7 +219,14 @@ public void Parse_ShouldGetNineMonthOfDifference_UsingIso8601String() public void DateSpan_ShouldHandleOverlapInMonthAndDays() { var sut0 = new DateTime(2020, 5, 12); - var sut1 = Generate.RangeOf(5, i => new DateTime(2021, 5, i + 10)); + var sut1 = new[] + { + new DateTime(2021, 5, 10), + new DateTime(2021, 5, 11), + new DateTime(2021, 5, 12), + new DateTime(2021, 5, 13), + new DateTime(2021, 5, 14) + }; Assert.Collection(sut1, dt => Assert.Equal("0:11:363:00:00:00.0", new DateSpan(sut0, dt).ToString()), @@ -344,4 +352,242 @@ public void Parse_ShouldGetTwelveMonthOfDifferenceWithinLeapYear_UsingIso8601Str TestOutput.WriteLine(span.ToString()); } + + [Fact] + public void Constructor_ShouldThrowArgumentNullExceptionWhenCalendarIsNull() + { + Assert.Throws(() => new DateSpan(DateTime.UtcNow, DateTime.UtcNow, null)); + } + + [Fact] + public void Constructor_WithSingleDate_ShouldUseTodayAsUpperBoundary() + { + var today = DateTime.Today; + var sut = new DateSpan(today); + var expected = new DateSpan(today, today); + + Assert.Equal(expected, sut); + Assert.Equal(0, sut.Years); + Assert.Equal(0, sut.Months); + Assert.Equal(0, sut.Days); + } + + [Fact] + public void Constructor_ShouldNormalizeReversedRange() + { + var earlier = new DateTime(2021, 3, 5); + var later = new DateTime(2021, 4, 5); + + var sut = new DateSpan(later, earlier); + var expected = new DateSpan(earlier, later); + + Assert.Equal(expected, sut); + Assert.True(sut == expected); + Assert.False(sut != expected); + } + + [Fact] + public void Constructor_ShouldAdjustYearWhenFullYearHasNotElapsed() + { + var sut = new DateSpan(new DateTime(2020, 3, 1), new DateTime(2021, 2, 28)); + + Assert.Equal(0, sut.Years); + Assert.Equal(11, sut.Months); + Assert.Equal(364, sut.Days); + } + + [Fact] + public void Constructor_ShouldCapturePartialMonthTimeDifference() + { + var sut = new DateSpan(new DateTime(2021, 1, 31, 23, 0, 0, 0), new DateTime(2021, 2, 1, 22, 0, 0, 500)); + + Assert.Equal(0, sut.Years); + Assert.Equal(0, sut.Months); + Assert.Equal(0, sut.Days); + Assert.Equal(23, sut.Hours); + Assert.Equal(0, sut.Minutes); + Assert.Equal(0, sut.Seconds); + Assert.Equal(500, sut.Milliseconds); + Assert.Equal(TimeSpan.FromHours(23).Add(TimeSpan.FromMilliseconds(500)).Ticks, sut.Ticks); + } + + [Fact] + public void Parse_WithSingleDate_ShouldUseTodayAsUpperBoundary() + { + var today = DateTime.Today; + var sut = DateSpan.Parse(today.ToString("s", CultureInfo.InvariantCulture)); + var expected = new DateSpan(today, today); + + Assert.Equal(expected, sut); + } + + [Fact] + public void Parse_WithCulture_ShouldUseProvidedCultureCalendar() + { + var culture = CultureInfo.InvariantCulture; + var start = new DateTime(2021, 3, 5).ToString("s", culture); + var end = new DateTime(2021, 4, 5).ToString("s", culture); + + var sut = DateSpan.Parse(start, end, culture); + var expected = new DateSpan(new DateTime(2021, 3, 5), new DateTime(2021, 4, 5), culture.Calendar); + + Assert.Equal(expected, sut); + } + + [Fact] + public void Equals_ShouldReturnFalseForNonDateSpanObject() + { + Assert.False(new DateSpan().Equals("DateSpan")); + } + + [Fact] + public void Equals_ShouldReturnFalseForDifferentCalendarTypes() + { + var start = new DateTime(2021, 3, 5); + var end = new DateTime(2021, 4, 5); + var left = new DateSpan(start, end, new GregorianCalendar()); + var right = new DateSpan(start, end, new JulianCalendar()); + + Assert.False(left.Equals(right)); + Assert.True(left != right); + } + + [Theory] + [InlineData(2021, 3, 1, 2021, 3, 3, 2)] + [InlineData(2021, 3, 5, 2021, 3, 7, 2)] + public void GetWeeks_ShouldHandleShortRanges(int startYear, int startMonth, int startDay, int endYear, int endMonth, int endDay, int expected) + { + var sut = new DateSpan(new DateTime(startYear, startMonth, startDay), new DateTime(endYear, endMonth, endDay)); + + Assert.Equal(expected, sut.GetWeeks()); + } + + [Theory] + [MemberData(nameof(GetSupportedCalendars))] + public void Constructor_ShouldSupportCalendarImplementations(DateTime start, DateTime end, Func calendarFactory) + { + var sut = new DateSpan(start, end, calendarFactory()); + var expected = new DateSpan(start, end, calendarFactory()); + + Assert.Equal(expected, sut); + Assert.Equal(1, sut.Days); + } + + public static IEnumerable GetSupportedCalendars() + { + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new ChineseLunisolarCalendar()) }; + yield return new object[] { new DateTime(31, 3, 5), new DateTime(31, 3, 6), (Func)(() => new JapaneseLunisolarCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new KoreanLunisolarCalendar()) }; + yield return new object[] { new DateTime(100, 3, 5), new DateTime(100, 3, 6), (Func)(() => new TaiwanLunisolarCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new GregorianCalendar()) }; + yield return new object[] { new DateTime(5343, 3, 5), new DateTime(5343, 3, 6), (Func)(() => new HebrewCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new HijriCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new JapaneseCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new JulianCalendar()) }; + yield return new object[] { new DateTime(2334, 3, 5), new DateTime(2334, 3, 6), (Func)(() => new KoreanCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new PersianCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new TaiwanCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new ThaiBuddhistCalendar()) }; + yield return new object[] { new DateTime(1400, 3, 5), new DateTime(1400, 3, 6), (Func)(() => new UmAlQuraCalendar()) }; + yield return new object[] { new DateTime(2021, 3, 5), new DateTime(2021, 3, 6), (Func)(() => new DelegatingCalendar()) }; + } + + private sealed class DelegatingCalendar : Calendar + { + private readonly GregorianCalendar _inner = new GregorianCalendar(); + + public override DateTime MinSupportedDateTime => _inner.MinSupportedDateTime; + + public override DateTime MaxSupportedDateTime => _inner.MaxSupportedDateTime; + + public override CalendarAlgorithmType AlgorithmType => _inner.AlgorithmType; + + public override int[] Eras => _inner.Eras; + + public override int TwoDigitYearMax + { + get => _inner.TwoDigitYearMax; + set => _inner.TwoDigitYearMax = value; + } + + public override DateTime AddMonths(DateTime time, int months) + { + return _inner.AddMonths(time, months); + } + + public override DateTime AddYears(DateTime time, int years) + { + return _inner.AddYears(time, years); + } + + public override int GetDayOfMonth(DateTime time) + { + return _inner.GetDayOfMonth(time); + } + + public override DayOfWeek GetDayOfWeek(DateTime time) + { + return _inner.GetDayOfWeek(time); + } + + public override int GetDayOfYear(DateTime time) + { + return _inner.GetDayOfYear(time); + } + + public override int GetDaysInMonth(int year, int month, int era) + { + return _inner.GetDaysInMonth(year, month, era); + } + + public override int GetDaysInYear(int year, int era) + { + return _inner.GetDaysInYear(year, era); + } + + public override int GetEra(DateTime time) + { + return _inner.GetEra(time); + } + + public override int GetMonth(DateTime time) + { + return _inner.GetMonth(time); + } + + public override int GetMonthsInYear(int year, int era) + { + return _inner.GetMonthsInYear(year, era); + } + + public override int GetYear(DateTime time) + { + return _inner.GetYear(time); + } + + public override bool IsLeapDay(int year, int month, int day, int era) + { + return _inner.IsLeapDay(year, month, day, era); + } + + public override bool IsLeapMonth(int year, int month, int era) + { + return _inner.IsLeapMonth(year, month, era); + } + + public override bool IsLeapYear(int year, int era) + { + return _inner.IsLeapYear(year, era); + } + + public override DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) + { + return _inner.ToDateTime(year, month, day, hour, minute, second, millisecond, era); + } + + public override int ToFourDigitYear(int year) + { + return _inner.ToFourDigitYear(year); + } + } } diff --git a/test/Cuemon.Core.Tests/DelimitedStringTest.cs b/test/Cuemon.Kernel.Tests/DelimitedStringTest.cs similarity index 97% rename from test/Cuemon.Core.Tests/DelimitedStringTest.cs rename to test/Cuemon.Kernel.Tests/DelimitedStringTest.cs index 1ad896157..f49307233 100644 --- a/test/Cuemon.Core.Tests/DelimitedStringTest.cs +++ b/test/Cuemon.Kernel.Tests/DelimitedStringTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon; diff --git a/test/Cuemon.Kernel.Tests/RangeTest.cs b/test/Cuemon.Kernel.Tests/RangeTest.cs new file mode 100644 index 000000000..b3093ca3d --- /dev/null +++ b/test/Cuemon.Kernel.Tests/RangeTest.cs @@ -0,0 +1,103 @@ +using System; +using System.Globalization; +using Codebelt.Extensions.Xunit; +using Xunit; + +namespace Cuemon; + +public class RangeTest : Test +{ + public RangeTest(ITestOutputHelper output) : base(output) + { + } + + [Fact] + public void Equals_ShouldHandleReferenceAndNullCases() + { + var start = new DateTime(2021, 3, 5, 6, 7, 8); + var end = new DateTime(2021, 3, 6, 8, 10, 12); + var sut = new DateTimeRange(start, end); + + Assert.True(sut.Equals(sut, sut)); + Assert.False(sut.Equals(null, sut)); + Assert.False(sut.Equals(sut, null)); + } + + [Fact] + public void Equals_ShouldReturnFalseForDifferentDerivedTypes() + { + var start = new DateTime(2021, 3, 5, 6, 7, 8); + var end = new DateTime(2021, 3, 6, 8, 10, 12); + Range left = new DateTimeRange(start, end); + Range right = new DateTimeRangeStub(start, end); + + Assert.False(left.Equals(left, right)); + } + + [Fact] + public void Equals_ShouldCompareBoundaries() + { + var start = new DateTime(2021, 3, 5, 6, 7, 8); + var end = new DateTime(2021, 3, 6, 8, 10, 12); + var comparer = new DateTimeRange(start, end); + var left = new DateTimeRange(start, end); + var equal = new DateTimeRange(start, end); + var different = new DateTimeRange(start, end.AddSeconds(1)); + + Assert.True(comparer.Equals(left, equal)); + Assert.False(comparer.Equals(left, different)); + } + + [Fact] + public void GetHashCode_ShouldXorBoundaries() + { + var start = new DateTime(2021, 3, 5, 6, 7, 8); + var end = new DateTime(2021, 3, 6, 8, 10, 12); + var sut = new DateTimeRange(start, end); + + Assert.Equal(start.GetHashCode() ^ end.GetHashCode(), sut.GetHashCode(sut)); + } + + [Fact] + public void DateTimeRange_ShouldExposeDurationAndFormatUsingSortablePattern() + { + var start = new DateTime(2021, 3, 5, 6, 7, 8); + var end = new DateTime(2021, 3, 6, 8, 10, 12); + var sut = new DateTimeRange(start, end); + + Assert.Equal(start, sut.Start); + Assert.Equal(end, sut.End); + Assert.Equal(new TimeSpan(1, 2, 3, 4), sut.Duration); + Assert.Equal("A duration of 01.02:03:04 between 2021-03-05T06:07:08 and 2021-03-06T08:10:12.", sut.ToString("s", CultureInfo.InvariantCulture)); + Assert.Equal("A duration of 01.02:03:04 between 2021-03-05T06:07:08 and 2021-03-06T08:10:12.", sut.ToString()); + } + + [Fact] + public void TimeRange_ShouldUseDefaultDurationAndConstantPattern() + { + var start = new TimeSpan(6, 7, 8); + var end = new TimeSpan(8, 10, 12); + var sut = new TimeRange(start, end); + + Assert.Equal(start, sut.Start); + Assert.Equal(end, sut.End); + Assert.Equal(new TimeSpan(2, 3, 4), sut.Duration); + Assert.Equal("A duration of 00.02:03:04 between 06:07:08 and 08:10:12.", sut.ToString("c", CultureInfo.InvariantCulture)); + Assert.Equal("A duration of 00.02:03:04 between 06:07:08 and 08:10:12.", sut.ToString()); + } + + [Fact] + public void TimeRange_ShouldUseCustomDurationResolverWhenProvided() + { + var sut = new TimeRange(TimeSpan.FromHours(1), TimeSpan.FromHours(2), () => TimeSpan.FromHours(3)); + + Assert.Equal(TimeSpan.FromHours(3), sut.Duration); + } + + private sealed class DateTimeRangeStub : Range + { + public DateTimeRangeStub(DateTime start, DateTime end) : base(start, end, () => end.Subtract(start)) + { + } + } +} diff --git a/test/Cuemon.Kernel.Tests/Threading/AwaiterTest.cs b/test/Cuemon.Kernel.Tests/Threading/AwaiterTest.cs index 72916adfd..4a6e7d9b7 100644 --- a/test/Cuemon.Kernel.Tests/Threading/AwaiterTest.cs +++ b/test/Cuemon.Kernel.Tests/Threading/AwaiterTest.cs @@ -255,10 +255,10 @@ Task Method() callCount++; if (callCount == 1) { throw first; } if (callCount == 2) { throw second; } - return ThrowAfterAsync(third, AttemptDuration); + return ThrowAfterAsync(third, TimeSpan.FromMilliseconds(200)); } - var result = await Run(Method, TimeSpan.FromMilliseconds(10), TimeSpan.Zero, maximumAttempts: 3); + var result = await Run(Method, TimeSpan.FromMilliseconds(100), TimeSpan.Zero, maximumAttempts: 3); var aggregate = Assert.IsType(result.Failure); Assert.False(result.Succeeded); diff --git a/test/Cuemon.Net.Tests/Cuemon.Net.Tests.csproj b/test/Cuemon.Net.Tests/Cuemon.Net.Tests.csproj index a386cc819..0410c29fd 100644 --- a/test/Cuemon.Net.Tests/Cuemon.Net.Tests.csproj +++ b/test/Cuemon.Net.Tests/Cuemon.Net.Tests.csproj @@ -1,4 +1,4 @@ - + Cuemon.Net diff --git a/test/Cuemon.Net.Tests/Http/HttpManagerOptionsTest.cs b/test/Cuemon.Net.Tests/Http/HttpManagerOptionsTest.cs index 68bd3af5d..68b056de3 100644 --- a/test/Cuemon.Net.Tests/Http/HttpManagerOptionsTest.cs +++ b/test/Cuemon.Net.Tests/Http/HttpManagerOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Net.Tests/Http/HttpWatcherOptionsTest.cs b/test/Cuemon.Net.Tests/Http/HttpWatcherOptionsTest.cs index 8039fd38b..c237dd1e2 100644 --- a/test/Cuemon.Net.Tests/Http/HttpWatcherOptionsTest.cs +++ b/test/Cuemon.Net.Tests/Http/HttpWatcherOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Net.Tests/QueryStringCollectionTest.cs b/test/Cuemon.Net.Tests/QueryStringCollectionTest.cs index 300f6408a..afd1470ca 100644 --- a/test/Cuemon.Net.Tests/QueryStringCollectionTest.cs +++ b/test/Cuemon.Net.Tests/QueryStringCollectionTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon.Net; diff --git a/test/Cuemon.Net.Tests/StringDecoratorExtensionsTest.cs b/test/Cuemon.Net.Tests/StringDecoratorExtensionsTest.cs index 438a9d2f9..eca3a8ba9 100644 --- a/test/Cuemon.Net.Tests/StringDecoratorExtensionsTest.cs +++ b/test/Cuemon.Net.Tests/StringDecoratorExtensionsTest.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Resilience.Tests/Assets/ActionTransientOperation.cs b/test/Cuemon.Resilience.Tests/Assets/ActionTransientOperation.cs index fe8393078..eec13f517 100644 --- a/test/Cuemon.Resilience.Tests/Assets/ActionTransientOperation.cs +++ b/test/Cuemon.Resilience.Tests/Assets/ActionTransientOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Net.Http; using System.Threading; diff --git a/test/Cuemon.Resilience.Tests/Assets/AsyncActionTransientOperation.cs b/test/Cuemon.Resilience.Tests/Assets/AsyncActionTransientOperation.cs index 75c277084..a878734f5 100644 --- a/test/Cuemon.Resilience.Tests/Assets/AsyncActionTransientOperation.cs +++ b/test/Cuemon.Resilience.Tests/Assets/AsyncActionTransientOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Net.Http; using System.Threading; diff --git a/test/Cuemon.Resilience.Tests/Assets/AsyncFuncTransientOperation.cs b/test/Cuemon.Resilience.Tests/Assets/AsyncFuncTransientOperation.cs index 3905e7ea3..eed22594a 100644 --- a/test/Cuemon.Resilience.Tests/Assets/AsyncFuncTransientOperation.cs +++ b/test/Cuemon.Resilience.Tests/Assets/AsyncFuncTransientOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Net.Http; using System.Threading; diff --git a/test/Cuemon.Resilience.Tests/Assets/FuncTransientOperation.cs b/test/Cuemon.Resilience.Tests/Assets/FuncTransientOperation.cs index a68990cde..a9b668f93 100644 --- a/test/Cuemon.Resilience.Tests/Assets/FuncTransientOperation.cs +++ b/test/Cuemon.Resilience.Tests/Assets/FuncTransientOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Net.Http; using System.Threading; diff --git a/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs b/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs index faeff7f4d..82d438002 100644 --- a/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs +++ b/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs @@ -1,4 +1,4 @@ -using Cuemon.Extensions.IO; +using Cuemon.Extensions.IO; using Codebelt.Extensions.Xunit; using Cuemon.Extensions.Text.Json.Formatters; using Xunit; diff --git a/test/Cuemon.Resilience.Tests/TransientOperationOptionsTest.cs b/test/Cuemon.Resilience.Tests/TransientOperationOptionsTest.cs index f3583769c..7ea8b51f5 100644 --- a/test/Cuemon.Resilience.Tests/TransientOperationOptionsTest.cs +++ b/test/Cuemon.Resilience.Tests/TransientOperationOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Resilience.Tests/TransientOperationTest.cs b/test/Cuemon.Resilience.Tests/TransientOperationTest.cs index f89f790d8..5b81f65de 100644 --- a/test/Cuemon.Resilience.Tests/TransientOperationTest.cs +++ b/test/Cuemon.Resilience.Tests/TransientOperationTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Linq; using System.Net.Http; diff --git a/test/Cuemon.Runtime.Caching.Tests/Assets/CountdownDependency.cs b/test/Cuemon.Runtime.Caching.Tests/Assets/CountdownDependency.cs index 7db5c4cec..479b5e08a 100644 --- a/test/Cuemon.Runtime.Caching.Tests/Assets/CountdownDependency.cs +++ b/test/Cuemon.Runtime.Caching.Tests/Assets/CountdownDependency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; diff --git a/test/Cuemon.Runtime.Caching.Tests/CachingManagerTest.cs b/test/Cuemon.Runtime.Caching.Tests/CachingManagerTest.cs index 071af2c35..b50dd6dc3 100644 --- a/test/Cuemon.Runtime.Caching.Tests/CachingManagerTest.cs +++ b/test/Cuemon.Runtime.Caching.Tests/CachingManagerTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/test/Cuemon.Runtime.Caching.Tests/Cuemon.Runtime.Caching.Tests.csproj b/test/Cuemon.Runtime.Caching.Tests/Cuemon.Runtime.Caching.Tests.csproj index 23f01c3eb..8ae494144 100644 --- a/test/Cuemon.Runtime.Caching.Tests/Cuemon.Runtime.Caching.Tests.csproj +++ b/test/Cuemon.Runtime.Caching.Tests/Cuemon.Runtime.Caching.Tests.csproj @@ -2,14 +2,10 @@ - net10.0;net9.0 + net11.0;net10.0 Cuemon.Runtime.Caching - - - - diff --git a/test/Cuemon.Runtime.Caching.Tests/PriorityTestMethodOrderer.cs b/test/Cuemon.Runtime.Caching.Tests/PriorityTestMethodOrderer.cs new file mode 100644 index 000000000..bcba7cf25 --- /dev/null +++ b/test/Cuemon.Runtime.Caching.Tests/PriorityTestMethodOrderer.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using Xunit.Sdk; +using Xunit.v3; + +namespace Cuemon.Runtime.Caching; + +/// +/// Orders test methods by their Priority trait, with unprioritized methods last. +/// +public sealed class PriorityTestMethodOrderer : ITestMethodOrderer +{ + /// + /// Orders test methods by numeric priority and then by method name. + /// + /// The type of test method. + /// The test methods to order. + /// The test methods in execution order. + public IReadOnlyCollection OrderTestMethods(IReadOnlyCollection testMethods) + where TTestMethod : notnull, ITestMethod + { + return testMethods + .OrderBy(testMethod => GetPriority(testMethod)) + .ThenBy(testMethod => testMethod.MethodName, StringComparer.Ordinal) + .ToArray(); + } + + private static int GetPriority(ITestMethod testMethod) + { + if (testMethod.Traits.TryGetValue("Priority", out var values) && + int.TryParse(values.FirstOrDefault(), NumberStyles.Integer, CultureInfo.InvariantCulture, out var priority)) + { + return priority; + } + + return int.MaxValue; + } +} diff --git a/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheOptionsTest.cs b/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheOptionsTest.cs index e6323760d..05c9b8920 100644 --- a/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheOptionsTest.cs +++ b/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; diff --git a/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs b/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs index ab372d29d..0c48b2cbb 100644 --- a/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs +++ b/test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Linq; using System.Threading; @@ -7,10 +7,9 @@ using Cuemon.Runtime.Caching.Assets; using Microsoft.Extensions.DependencyInjection; using Xunit; -using Xunit.v3.Priority; namespace Cuemon.Runtime.Caching; -[TestCaseOrderer(typeof(PriorityOrderer))] +[TestMethodOrderer(typeof(PriorityTestMethodOrderer))] public class SlimMemoryCacheTest : HostTest { private readonly SlimMemoryCache _cache; @@ -31,7 +30,7 @@ public SlimMemoryCacheTest(ManagedHostFixture hostFixture, ITestOutputHelper out _cache = hostFixture.Host.Services.GetRequiredService(); } - [Fact, Priority(-1)] + [Fact, Trait("Priority", "-1")] public void Add_ShouldBeThreadSafeWhenAddingSameKeyInParallel() { var items = NumberOfItemsToCache; @@ -58,7 +57,7 @@ public void Add_ShouldBeThreadSafeWhenAddingSameKeyInParallel() Assert.Equal(0, _cache.ToList().Count); } - [Fact, Priority(0)] + [Fact, Trait("Priority", "0")] public void Add_ShouldUpdateUsingPropertyIndexer() { var key = "cuemon"; @@ -79,7 +78,7 @@ public void Add_ShouldUpdateUsingPropertyIndexer() Assert.False(_cache.Contains(key)); } - [Fact, Priority(1)] + [Fact, Trait("Priority", "1")] public void Clear_ShouldRemoveAllCacheEntriesBothLogicalAndActual() { var values = Enumerable.Range(0, 10000).ToList(); @@ -99,7 +98,7 @@ public void Clear_ShouldRemoveAllCacheEntriesBothLogicalAndActual() Assert.Equal(0, _cache.ToList().Count); } - [Fact, Priority(2)] + [Fact, Trait("Priority", "2")] public void Add_ShouldHandleLargeLoadWithoutCollisionUsingSlidingExpirationOfOneMinute() { var items = NumberOfItemsToCache; @@ -120,7 +119,7 @@ public void Add_ShouldHandleLargeLoadWithoutCollisionUsingSlidingExpirationOfOne Assert.True(bag.OrderBy(l => l).SequenceEqual(_cache.Where(pair => pair.Value.Namespace == Sliding60Namespace).Select(pair => pair.Key).OrderBy(l => l))); // insure thread safety validation } - [Fact, Priority(3)] + [Fact, Trait("Priority", "3")] public void Add_ShouldHandleLargeLoadWithoutCollisionUsingSlidingExpirationOfThirtySecondsWithNamespaceSpecification() { var items = NumberOfItemsToCache; @@ -141,7 +140,7 @@ public void Add_ShouldHandleLargeLoadWithoutCollisionUsingSlidingExpirationOfThi Assert.True(bag.OrderBy(l => l).SequenceEqual(_cache.Where(pair => pair.Value.Namespace == Sliding30Namespace).Select(pair => pair.Key).OrderBy(l => l))); // insure thread safety validation } - [Fact, Priority(4)] + [Fact, Trait("Priority", "4")] public void Add_ShouldHandleLargeLoadWithoutCollisionUsingAbsoluteExpirationOfOneMinute() { var items = NumberOfItemsToCache; @@ -162,7 +161,7 @@ public void Add_ShouldHandleLargeLoadWithoutCollisionUsingAbsoluteExpirationOfOn Assert.True(bag.OrderBy(l => l).SequenceEqual(_cache.Where(pair => pair.Value.Namespace == Absolute60Namespace).Select(pair => pair.Key).OrderBy(l => l))); // insure thread safety validation } - [Fact, Priority(5)] + [Fact, Trait("Priority", "5")] public void Add_ShouldHandleLargeLoadWithoutCollisionUsingAbsoluteExpirationOfThirtySecondsWithNamespaceSpecification() { var items = NumberOfItemsToCache; @@ -183,7 +182,7 @@ public void Add_ShouldHandleLargeLoadWithoutCollisionUsingAbsoluteExpirationOfTh Assert.True(bag.OrderBy(l => l).SequenceEqual(_cache.Where(pair => pair.Value.Namespace == Absolute30Namespace).Select(pair => pair.Key).OrderBy(l => l))); // insure thread safety validation } - [Fact, Priority(6)] + [Fact, Trait("Priority", "6")] public void Add_ShouldHandleLargeLoadWithoutCollisionUsingDependencyExpirationOfOneMinute() { var items = NumberOfItemsToCache; @@ -204,7 +203,7 @@ public void Add_ShouldHandleLargeLoadWithoutCollisionUsingDependencyExpirationOf Assert.True(bag.OrderBy(l => l).SequenceEqual(_cache.Where(pair => pair.Value.Namespace == Dependency60Namespace).Select(pair => pair.Key).OrderBy(l => l))); // insure thread safety validation } - [Fact, Priority(7)] + [Fact, Trait("Priority", "7")] public void Add_ShouldHandleLargeLoadWithoutCollisionUsingDependencyExpirationOfThirtySecondsWithNamespaceSpecification() { var items = NumberOfItemsToCache; @@ -225,13 +224,13 @@ public void Add_ShouldHandleLargeLoadWithoutCollisionUsingDependencyExpirationOf Assert.True(bag.OrderBy(l => l).SequenceEqual(_cache.Where(pair => pair.Value.Namespace == Dependency30Namespace).Select(pair => pair.Key).OrderBy(l => l))); // insure thread safety validation } - [Fact, Priority(8)] + [Fact, Trait("Priority", "8")] public void Add_VerifyBothLogicalAndActualCacheRemovalUponExpirationForThirtySecondsNamespaceSpecification() { VerifyBothLogicalAndActualCacheRemovalUponExpiration(Dependency30Namespace, Sliding30Namespace, Absolute30Namespace); } - [Fact, Priority(9)] + [Fact, Trait("Priority", "9")] public void Add_VerifyBothLogicalAndActualCacheRemovalUponExpirationForSixtySecondsNamespaceSpecification() { VerifyBothLogicalAndActualCacheRemovalUponExpiration(Dependency60Namespace, Sliding60Namespace, Absolute60Namespace); diff --git a/test/Cuemon.Security.Cryptography.Tests/AesCryptorTest.cs b/test/Cuemon.Security.Cryptography.Tests/AesCryptorTest.cs index 4f83be691..a004e5cdf 100644 --- a/test/Cuemon.Security.Cryptography.Tests/AesCryptorTest.cs +++ b/test/Cuemon.Security.Cryptography.Tests/AesCryptorTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using System; using System.Security.Cryptography; using System.Text; diff --git a/test/Cuemon.Security.Cryptography.Tests/KeyedHashFactoryTest.cs b/test/Cuemon.Security.Cryptography.Tests/KeyedHashFactoryTest.cs index 97a72730d..6f241f40b 100644 --- a/test/Cuemon.Security.Cryptography.Tests/KeyedHashFactoryTest.cs +++ b/test/Cuemon.Security.Cryptography.Tests/KeyedHashFactoryTest.cs @@ -1,4 +1,4 @@ -using Codebelt.Extensions.Xunit; +using Codebelt.Extensions.Xunit; using Xunit; namespace Cuemon.Security.Cryptography; diff --git a/test/Cuemon.Security.Cryptography.Tests/UnkeyedHashFactoryTest.cs b/test/Cuemon.Security.Cryptography.Tests/UnkeyedHashFactoryTest.cs index c30ca2ba0..3cead93de 100644 --- a/test/Cuemon.Security.Cryptography.Tests/UnkeyedHashFactoryTest.cs +++ b/test/Cuemon.Security.Cryptography.Tests/UnkeyedHashFactoryTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using Codebelt.Extensions.Xunit; using Xunit; @@ -44,7 +44,7 @@ public void CreateCryptoSha256_ShouldBeValidHashResult() Assert.Equal("db4bfcbd4da0cd85a60c3c37d3fbd8805c77f15fc6b1fdfe614ee0a7c8fdb4c0", h.ComputeHash(Alphanumeric.LettersAndNumbers).ToHexadecimalString()); Assert.Equal("db4bfcbd4da0cd85a60c3c37d3fbd8805c77f15fc6b1fdfe614ee0a7c8fdb4c0", h.ComputeHash(Decorator.Enclose(Alphanumeric.LettersAndNumbers).ToStream()).ToHexadecimalString()); Assert.Equal("84d89877f0d4041efb6bf91a16f0248f2fd573e6af05c19f96bedb9f882f7882", h.ComputeHash(Alphanumeric.Numbers).ToHexadecimalString()); -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER Assert.Equal("53ab3a50f51855beeae9721ab68656312c7f105b9b34bbfa97875dbfda72dbc6", h.ComputeHash(DateTime.UnixEpoch).ToHexadecimalString()); #endif Assert.Equal("1f1a24c833be74a0f4f99007aa70a51e2456e41f745a5628721ea2b8e1c07641", h.ComputeHash(213, "fdfsfsf", 9999).ToHexadecimalString()); diff --git a/test/Cuemon.Threading.Tests/ParallelFactoryAsyncTest.cs b/test/Cuemon.Threading.Tests/ParallelFactoryAsyncTest.cs index fb28b90c7..baf42aa16 100644 --- a/test/Cuemon.Threading.Tests/ParallelFactoryAsyncTest.cs +++ b/test/Cuemon.Threading.Tests/ParallelFactoryAsyncTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; diff --git a/test/Cuemon.Threading.Tests/ParallelFactoryTest.cs b/test/Cuemon.Threading.Tests/ParallelFactoryTest.cs index daa72a3f5..ea9481c21 100644 --- a/test/Cuemon.Threading.Tests/ParallelFactoryTest.cs +++ b/test/Cuemon.Threading.Tests/ParallelFactoryTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; diff --git a/test/Cuemon.Xml.Tests/Serialization/Formatters/XmlFormatterOptionsTest.cs b/test/Cuemon.Xml.Tests/Serialization/Formatters/XmlFormatterOptionsTest.cs index 5192392cd..6f7a2295b 100644 --- a/test/Cuemon.Xml.Tests/Serialization/Formatters/XmlFormatterOptionsTest.cs +++ b/test/Cuemon.Xml.Tests/Serialization/Formatters/XmlFormatterOptionsTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Cuemon.Diagnostics; diff --git a/test/Cuemon.Xml.Tests/XmlStreamFactoryTest.cs b/test/Cuemon.Xml.Tests/XmlStreamFactoryTest.cs index 81fb5b4d8..172d8c36f 100644 --- a/test/Cuemon.Xml.Tests/XmlStreamFactoryTest.cs +++ b/test/Cuemon.Xml.Tests/XmlStreamFactoryTest.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using Codebelt.Extensions.Xunit; using Cuemon.Text; using Xunit; diff --git a/testenvironments.json b/testenvironments.json index bba6a1eca..0651f281a 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -1,25 +1,20 @@ { - "version": "1", - "environments": [ - { - "name": "WSL-Ubuntu", - "type": "wsl", - "wslDistribution": "Ubuntu-26.04" - }, - { - "name": "Docker-Ubuntu (net9.0)", - "type": "docker", - "dockerImage": "codebeltnet/ubuntu-testrunner:9" - }, - { - "name": "Docker-Ubuntu (net10.0)", - "type": "docker", - "dockerImage": "codebeltnet/ubuntu-testrunner:10" - }, - { - "name": "Docker-Ubuntu (net11.0)", - "type": "docker", - "dockerImage": "codebeltnet/ubuntu-testrunner:11" - } - ] + "version": "1", + "environments": [ + { + "name": "WSL-Ubuntu", + "type": "wsl", + "wslDistribution": "Ubuntu-26.04" + }, + { + "name": "Docker-Ubuntu (net10.0)", + "type": "docker", + "dockerImage": "codebeltnet/ubuntu-testrunner:10" + }, + { + "name": "Docker-Ubuntu (net11.0)", + "type": "docker", + "dockerImage": "codebeltnet/ubuntu-testrunner:11" + } + ] } diff --git a/tooling/Resolve-PackageReleaseNotesConflicts.ps1 b/tooling/Resolve-PackageReleaseNotesConflicts.ps1 new file mode 100644 index 000000000..e976edd9e --- /dev/null +++ b/tooling/Resolve-PackageReleaseNotesConflicts.ps1 @@ -0,0 +1,43 @@ +#!/usr/bin/env pwsh +<# +.SYNOPSIS + Resolves merge conflicts in all PackageReleaseNotes.txt files. + +.DESCRIPTION + During a merge, PackageReleaseNotes.txt files accumulate standard + conflict markers. This script resolves all of them. It keeps both + sides — current branch (A) on top, incoming (B) below — discards + the base section in diff3/zdiff3 conflicts, and stages + the resolved files with `git add`. + +.EXAMPLE + # Run from the repo root while a merge is in progress: + .\tooling\Resolve-PackageReleaseNotesConflicts.ps1 +#> + +$files = git diff --name-only --diff-filter=U | Where-Object { $_ -match "PackageReleaseNotes\.txt" } + +if (-not $files) { + Write-Host "No conflicted PackageReleaseNotes.txt files found." + exit 0 +} + +$count = 0 +foreach ($file in $files) { + $content = Get-Content $file -Raw + $resolved = $content ` + -replace '(?m)^<<<<<<< .+\r?\n', '' ` + -replace '(?ms)^\|{7}[^\r\n]*\r?\n.*?(?=^=======\r?$)', '' ` + -replace '(?m)^=======\r?\n', "`n" ` + -replace '(?m)^>>>>>>> .+(?:\r?\n|$)', '' + [System.IO.File]::WriteAllText((Resolve-Path $file), $resolved) + git add $file + if ($LASTEXITCODE -ne 0) { + throw "Failed to stage '$file'." + } + $count++ + Write-Host "Resolved: $file" +} + +Write-Host "" +Write-Host "Done. Resolved and staged $count file(s)." diff --git a/tooling/bdn-runner/Program.cs b/tooling/bdn-runner/Program.cs index 6c6fb6de6..49819a552 100644 --- a/tooling/bdn-runner/Program.cs +++ b/tooling/bdn-runner/Program.cs @@ -1,4 +1,4 @@ -using BenchmarkDotNet.Configs; +using BenchmarkDotNet.Configs; using BenchmarkDotNet.Environments; using BenchmarkDotNet.Jobs; using Codebelt.Extensions.BenchmarkDotNet; diff --git a/tooling/bdn-runner/bdn-runner.csproj b/tooling/bdn-runner/bdn-runner.csproj index c01f94099..e7cb4d0d4 100644 --- a/tooling/bdn-runner/bdn-runner.csproj +++ b/tooling/bdn-runner/bdn-runner.csproj @@ -1,4 +1,4 @@ - + net10.0 diff --git a/tuning/Cuemon.Core.Benchmarks/Cuemon.Core.Benchmarks.csproj b/tuning/Cuemon.Core.Benchmarks/Cuemon.Core.Benchmarks.csproj index 96d9eeb81..8d0639a32 100644 --- a/tuning/Cuemon.Core.Benchmarks/Cuemon.Core.Benchmarks.csproj +++ b/tuning/Cuemon.Core.Benchmarks/Cuemon.Core.Benchmarks.csproj @@ -1,4 +1,4 @@ - + Cuemon diff --git a/tuning/Cuemon.Core.Benchmarks/DateSpanBenchmark.cs b/tuning/Cuemon.Core.Benchmarks/DateSpanBenchmark.cs index a0f856631..7a673e52b 100644 --- a/tuning/Cuemon.Core.Benchmarks/DateSpanBenchmark.cs +++ b/tuning/Cuemon.Core.Benchmarks/DateSpanBenchmark.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Configs; diff --git a/tuning/Cuemon.Core.Benchmarks/GenerateBenchmark.cs b/tuning/Cuemon.Core.Benchmarks/GenerateBenchmark.cs index 3b75240cc..04e1e586b 100644 --- a/tuning/Cuemon.Core.Benchmarks/GenerateBenchmark.cs +++ b/tuning/Cuemon.Core.Benchmarks/GenerateBenchmark.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Configs; diff --git a/tuning/Cuemon.Kernel.Benchmarks/Cuemon.Kernel.Benchmarks.csproj b/tuning/Cuemon.Kernel.Benchmarks/Cuemon.Kernel.Benchmarks.csproj index 6658abe12..b97e228ce 100644 --- a/tuning/Cuemon.Kernel.Benchmarks/Cuemon.Kernel.Benchmarks.csproj +++ b/tuning/Cuemon.Kernel.Benchmarks/Cuemon.Kernel.Benchmarks.csproj @@ -1,4 +1,4 @@ - + Cuemon diff --git a/tuning/Cuemon.Security.Cryptography.Benchmarks/Cuemon.Security.Cryptography.Benchmarks.csproj b/tuning/Cuemon.Security.Cryptography.Benchmarks/Cuemon.Security.Cryptography.Benchmarks.csproj index 1428bca9d..d63093205 100644 --- a/tuning/Cuemon.Security.Cryptography.Benchmarks/Cuemon.Security.Cryptography.Benchmarks.csproj +++ b/tuning/Cuemon.Security.Cryptography.Benchmarks/Cuemon.Security.Cryptography.Benchmarks.csproj @@ -1,4 +1,4 @@ - + Cuemon.Security.Cryptography