From 69e086fd7c6a5dd7144ff9a63acdc332bc04e3cb Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Thu, 19 Aug 2021 17:03:18 +1000 Subject: [PATCH 1/4] feature: Add .net 6 support, help from @chrispulman --- .editorconfig | 44 ++++++++++--------- .github/workflows/ci-build.yml | 30 ++++++++++--- .github/workflows/codeql-analysis.yml | 37 ++++++++++++++-- src/Splat.AppCenter/Splat.AppCenter.csproj | 4 +- .../Splat.ApplicationInsights.csproj | 4 +- src/Splat.Autofac/Splat.Autofac.csproj | 2 +- .../Splat.Common.Test.csproj | 2 +- .../Resources/Resource.designer.cs | 40 +++++++++++++++++ src/Splat.Drawing/Splat.Drawing.csproj | 16 +++---- src/Splat.DryIoc/Splat.DryIoc.csproj | 2 +- .../Splat.Exceptionless.csproj | 2 +- src/Splat.Log4Net/Splat.Log4Net.csproj | 6 +-- ...soft.Extensions.DependencyInjection.csproj | 2 +- .../Splat.Microsoft.Extensions.Logging.csproj | 2 +- src/Splat.NLog/Splat.NLog.csproj | 2 +- src/Splat.Ninject/Splat.Ninject.csproj | 2 +- .../Splat.Prism.Forms.csproj | 2 +- src/Splat.Prism/Splat.Prism.csproj | 2 +- src/Splat.Raygun/Splat.Raygun.csproj | 2 +- src/Splat.Serilog/Splat.Serilog.csproj | 2 +- .../Splat.SimpleInjector.csproj | 2 +- src/Splat/Splat.csproj | 2 +- 22 files changed, 149 insertions(+), 60 deletions(-) create mode 100644 src/Splat.Drawing/Resources/Resource.designer.cs diff --git a/.editorconfig b/.editorconfig index ebd68226c..28db76318 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,12 +10,11 @@ root = true insert_final_newline = true indent_style = space indent_size = 4 - -[project.json] -indent_size = 2 +trim_trailing_whitespace = true # C# files [*.cs] + # New line preferences csharp_new_line_before_open_brace = all csharp_new_line_before_else = true @@ -42,15 +41,10 @@ dotnet_style_qualification_for_property = false:suggestion dotnet_style_qualification_for_method = false:suggestion dotnet_style_qualification_for_event = false:suggestion -# only use var when it's obvious what the variable type is -csharp_style_var_for_built_in_types = false:none -csharp_style_var_when_type_is_apparent = true:suggestion -csharp_style_var_elsewhere = true:suggestion - # Types: use keywords instead of BCL types, and permit var only when the type is clear -csharp_style_var_for_built_in_types = false:suggestion -csharp_style_var_when_type_is_apparent =true:none -csharp_style_var_elsewhere =true:suggestion +csharp_style_var_for_built_in_types = true:suggestion +csharp_style_var_when_type_is_apparent = true:none +csharp_style_var_elsewhere = true:suggestion dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion dotnet_style_predefined_type_for_member_access = true:suggestion @@ -62,14 +56,14 @@ dotnet_naming_symbols.constant_fields.applicable_kinds = field dotnet_naming_symbols.constant_fields.required_modifiers = const dotnet_naming_style.pascal_case_style.capitalization = pascal_case -# static fields should have s_ prefix +# static fields should have _ prefix dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style dotnet_naming_symbols.static_fields.applicable_kinds = field dotnet_naming_symbols.static_fields.required_modifiers = static dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected -dotnet_naming_style.static_prefix_style.required_prefix = s_ +dotnet_naming_style.static_prefix_style.required_prefix = _ dotnet_naming_style.static_prefix_style.capitalization = camel_case # internal and private fields should be _camelCase @@ -84,7 +78,7 @@ dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case # Code style defaults csharp_using_directive_placement = outside_namespace:suggestion dotnet_sort_system_directives_first = true -csharp_prefer_braces = true:silent +csharp_prefer_braces = true:suggestion csharp_preserve_single_line_blocks = true:none csharp_preserve_single_line_statements = false:none csharp_prefer_static_local_function = true:suggestion @@ -105,8 +99,8 @@ dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggesti dotnet_style_prefer_inferred_tuple_names = true:suggestion dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion dotnet_style_prefer_auto_properties = true:suggestion -dotnet_style_prefer_conditional_expression_over_assignment = true:silent -dotnet_style_prefer_conditional_expression_over_return = true:silent +dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion +dotnet_style_prefer_conditional_expression_over_return = true:suggestion csharp_prefer_simple_default_expression = true:suggestion # Expression-bodied members @@ -163,7 +157,6 @@ dotnet_diagnostic.AvoidAsyncVoid.severity = suggestion dotnet_diagnostic.CA1000.severity = none dotnet_diagnostic.CA1001.severity = error dotnet_diagnostic.CA1009.severity = error -dotnet_diagnostic.CA1014.severity = none dotnet_diagnostic.CA1016.severity = error dotnet_diagnostic.CA1030.severity = none dotnet_diagnostic.CA1031.severity = none @@ -187,7 +180,6 @@ dotnet_diagnostic.CA1410.severity = error dotnet_diagnostic.CA1415.severity = error dotnet_diagnostic.CA1507.severity = error dotnet_diagnostic.CA1710.severity = suggestion -dotnet_diagnostic.CA1716.severity = suggestion dotnet_diagnostic.CA1724.severity = none dotnet_diagnostic.CA1810.severity = none dotnet_diagnostic.CA1821.severity = error @@ -250,6 +242,7 @@ dotnet_diagnostic.RCS1074.severity = error dotnet_diagnostic.RCS1090.severity = error dotnet_diagnostic.RCS1138.severity = error dotnet_diagnostic.RCS1139.severity = error +dotnet_diagnostic.RCS1158.severity = none dotnet_diagnostic.RCS1163.severity = suggestion dotnet_diagnostic.RCS1168.severity = suggestion dotnet_diagnostic.RCS1188.severity = error @@ -432,15 +425,21 @@ dotnet_diagnostic.SX1101.severity = error dotnet_diagnostic.SX1309.severity = error dotnet_diagnostic.SX1623.severity = none +dotnet_diagnostic.IDE0046.severity = suggestion +dotnet_diagnostic.IDE0060.severity = none + # C++ Files [*.{cpp,h,in}] curly_bracket_next_line = true indent_brace_style = Allman # Xml project files -[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}] +[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}] indent_size = 2 +[*.{csproj,vbproj,proj,nativeproj,locproj}] +charset = utf-8 + # Xml build files [*.builds] indent_size = 2 @@ -453,8 +452,13 @@ indent_size = 2 [*.{props,targets,config,nuspec}] indent_size = 2 +# YAML config files +[*.{yml,yaml}] +indent_size = 2 + # Shell scripts [*.sh] end_of_line = lf -[*.{cmd, bat}] + +[*.{cmd,bat}] end_of_line = crlf diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 6a3350ade..c0ec53516 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -23,21 +23,37 @@ jobs: fetch-depth: 0 - name: Install .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v1.8.1 with: dotnet-version: 3.1.x - name: Install .NET 5 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v1.8.1 with: dotnet-version: 5.0.x + - name: Install .NET 6 + uses: actions/setup-dotnet@v1.8.1 + with: + dotnet-version: 6.0.x + include-prerelease: true + + - name: Install VS2019 preview + shell: bash + run: | + dotnet workload install android + dotnet workload install ios + dotnet workload install tvos + dotnet workload install macos + dotnet workload install maui + dotnet tool update -g dotnet-vs + vs install preview -sku:enterprise --quiet +Microsoft.VisualStudio.Component.ManagedDesktop.Core +Microsoft.NetCore.Component.DevelopmentTools +Microsoft.VisualStudio.Workload.NetCrossPlat +Microsoft.VisualStudio.Workload.Universal + echo "##vso[task.prependpath]$(vs where preview --prop=InstallationPath)\MSBuild\Current\Bin" + - name: Add MSBuild to PATH uses: glennawatson/setup-msbuild@v1.0.3 - - - name: Update VS2019 - shell: powershell - run: Start-Process -Wait -PassThru -FilePath "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" -ArgumentList "update --passive --norestart --installpath ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise""" + with: + prerelease: true - name: NBGV id: nbgv @@ -48,7 +64,7 @@ jobs: - name: NuGet Restore run: dotnet restore working-directory: src - + - name: Build run: msbuild /t:build,pack /nowarn:MSB4011 /maxcpucount /p:NoPackageAnalysis=true /verbosity:minimal /p:Configuration=${{ env.configuration }} working-directory: src diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4e0cb15c8..11452443c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 @@ -59,13 +59,42 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - name: Install .NET Core + uses: actions/setup-dotnet@v1.8.1 + with: + dotnet-version: 3.1.x + + - name: Install .NET 5 + uses: actions/setup-dotnet@v1.8.1 + with: + dotnet-version: 5.0.x + + - name: Install .NET 6 + uses: actions/setup-dotnet@v1.8.1 with: - dotnet-version: 5.0.* + dotnet-version: 6.0.x + include-prerelease: true + + - name: Install DotNet workloads + shell: bash + run: | + dotnet workload install android + dotnet workload install ios + dotnet workload install tvos + dotnet workload install macos + dotnet workload install maui + + - name: Install VS2019 preview + shell: bash + run: | + dotnet tool update -g dotnet-vs + vs install preview -sku:enterprise --quiet +Microsoft.VisualStudio.Component.ManagedDesktop.Core +Microsoft.NetCore.Component.DevelopmentTools +Microsoft.VisualStudio.Workload.NetCrossPlat +Microsoft.VisualStudio.Workload.Universal + echo "##vso[task.prependpath]$(vs where preview --prop=InstallationPath)\MSBuild\Current\Bin" - name: Add MSBuild to PATH uses: glennawatson/setup-msbuild@v1.0.3 + with: + prerelease: true - name: NBGV id: nbgv diff --git a/src/Splat.AppCenter/Splat.AppCenter.csproj b/src/Splat.AppCenter/Splat.AppCenter.csproj index eb24344bc..76cc6c389 100644 --- a/src/Splat.AppCenter/Splat.AppCenter.csproj +++ b/src/Splat.AppCenter/Splat.AppCenter.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 Splat.AppCenter Splat .NET Foundation and Contributors @@ -15,7 +15,7 @@ - + diff --git a/src/Splat.ApplicationInsights/Splat.ApplicationInsights.csproj b/src/Splat.ApplicationInsights/Splat.ApplicationInsights.csproj index c62f62607..347c62d3b 100644 --- a/src/Splat.ApplicationInsights/Splat.ApplicationInsights.csproj +++ b/src/Splat.ApplicationInsights/Splat.ApplicationInsights.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.ApplicationInsights Splat @@ -13,7 +13,7 @@ - + diff --git a/src/Splat.Autofac/Splat.Autofac.csproj b/src/Splat.Autofac/Splat.Autofac.csproj index 6183ef48e..1e0947471 100644 --- a/src/Splat.Autofac/Splat.Autofac.csproj +++ b/src/Splat.Autofac/Splat.Autofac.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Autofac adapter for Splat latest diff --git a/src/Splat.Common.Test/Splat.Common.Test.csproj b/src/Splat.Common.Test/Splat.Common.Test.csproj index 97e0fa0db..120618602 100644 --- a/src/Splat.Common.Test/Splat.Common.Test.csproj +++ b/src/Splat.Common.Test/Splat.Common.Test.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(NoWarn);CA2000 latest enable diff --git a/src/Splat.Drawing/Resources/Resource.designer.cs b/src/Splat.Drawing/Resources/Resource.designer.cs new file mode 100644 index 000000000..c7a9a0443 --- /dev/null +++ b/src/Splat.Drawing/Resources/Resource.designer.cs @@ -0,0 +1,40 @@ +#pragma warning disable 1591 +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +[assembly: global::Android.Runtime.ResourceDesignerAttribute("Splat.Resource", IsApplication=false)] + +namespace Splat +{ + + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] + public partial class Resource + { + + static Resource() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + public partial class Attribute + { + + static Attribute() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Attribute() + { + } + } + } +} +#pragma warning restore 1591 diff --git a/src/Splat.Drawing/Splat.Drawing.csproj b/src/Splat.Drawing/Splat.Drawing.csproj index 80ae30dbe..1057997da 100644 --- a/src/Splat.Drawing/Splat.Drawing.csproj +++ b/src/Splat.Drawing/Splat.Drawing.csproj @@ -1,8 +1,8 @@  - MonoAndroid90;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;netstandard2.0 - $(TargetFrameworks);net461;net472;uap10.0.16299;netcoreapp3.1;net5.0-windows + MonoAndroid90;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;netstandard2.0;net6.0-android;net6.0-ios;net6.0-tvos;net6.0-macos + $(TargetFrameworks);net461;net472;uap10.0.16299;netcoreapp3.1;net5.0-windows;net6.0-windows Splat .NET Foundation and Contributors A library to make things cross-platform that should be @@ -12,7 +12,7 @@ enable - + true true @@ -35,7 +35,7 @@ - + @@ -59,7 +59,7 @@ - + @@ -76,21 +76,21 @@ - + - + - + diff --git a/src/Splat.DryIoc/Splat.DryIoc.csproj b/src/Splat.DryIoc/Splat.DryIoc.csproj index 830def0b0..ea3052329 100644 --- a/src/Splat.DryIoc/Splat.DryIoc.csproj +++ b/src/Splat.DryIoc/Splat.DryIoc.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 $(NoWarn);CA1801 DryIoc adapter for Splat diff --git a/src/Splat.Exceptionless/Splat.Exceptionless.csproj b/src/Splat.Exceptionless/Splat.Exceptionless.csproj index 7125323a7..3c37ce536 100644 --- a/src/Splat.Exceptionless/Splat.Exceptionless.csproj +++ b/src/Splat.Exceptionless/Splat.Exceptionless.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.Exceptionless Splat diff --git a/src/Splat.Log4Net/Splat.Log4Net.csproj b/src/Splat.Log4Net/Splat.Log4Net.csproj index fe805e206..3fcc7ffb2 100644 --- a/src/Splat.Log4Net/Splat.Log4Net.csproj +++ b/src/Splat.Log4Net/Splat.Log4Net.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.Log4Net Splat @@ -13,7 +13,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/src/Splat.Microsoft.Extensions.DependencyInjection/Splat.Microsoft.Extensions.DependencyInjection.csproj b/src/Splat.Microsoft.Extensions.DependencyInjection/Splat.Microsoft.Extensions.DependencyInjection.csproj index d1e982980..a183087d1 100644 --- a/src/Splat.Microsoft.Extensions.DependencyInjection/Splat.Microsoft.Extensions.DependencyInjection.csproj +++ b/src/Splat.Microsoft.Extensions.DependencyInjection/Splat.Microsoft.Extensions.DependencyInjection.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 latest enable diff --git a/src/Splat.Microsoft.Extensions.Logging/Splat.Microsoft.Extensions.Logging.csproj b/src/Splat.Microsoft.Extensions.Logging/Splat.Microsoft.Extensions.Logging.csproj index b6aaa0e0e..f87652232 100644 --- a/src/Splat.Microsoft.Extensions.Logging/Splat.Microsoft.Extensions.Logging.csproj +++ b/src/Splat.Microsoft.Extensions.Logging/Splat.Microsoft.Extensions.Logging.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.Microsoft.Extensions.Logging Splat diff --git a/src/Splat.NLog/Splat.NLog.csproj b/src/Splat.NLog/Splat.NLog.csproj index 3b245f5b9..27084d2f0 100644 --- a/src/Splat.NLog/Splat.NLog.csproj +++ b/src/Splat.NLog/Splat.NLog.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.NLog Splat diff --git a/src/Splat.Ninject/Splat.Ninject.csproj b/src/Splat.Ninject/Splat.Ninject.csproj index 9bc57f7ed..4d8343c97 100644 --- a/src/Splat.Ninject/Splat.Ninject.csproj +++ b/src/Splat.Ninject/Splat.Ninject.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Autofac adapter for Splat latest diff --git a/src/Splat.Prism.Forms/Splat.Prism.Forms.csproj b/src/Splat.Prism.Forms/Splat.Prism.Forms.csproj index 37916e6e6..d8473ec26 100644 --- a/src/Splat.Prism.Forms/Splat.Prism.Forms.csproj +++ b/src/Splat.Prism.Forms/Splat.Prism.Forms.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Prism adapter for Splat including Xamarin Forms adapters. latest diff --git a/src/Splat.Prism/Splat.Prism.csproj b/src/Splat.Prism/Splat.Prism.csproj index d8d5ba87e..c8bdc6477 100644 --- a/src/Splat.Prism/Splat.Prism.csproj +++ b/src/Splat.Prism/Splat.Prism.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Prism adapter for Splat latest diff --git a/src/Splat.Raygun/Splat.Raygun.csproj b/src/Splat.Raygun/Splat.Raygun.csproj index fcf52504c..eebcb0cf4 100644 --- a/src/Splat.Raygun/Splat.Raygun.csproj +++ b/src/Splat.Raygun/Splat.Raygun.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.Raygun Splat diff --git a/src/Splat.Serilog/Splat.Serilog.csproj b/src/Splat.Serilog/Splat.Serilog.csproj index 521eb25ff..e83f24d50 100644 --- a/src/Splat.Serilog/Splat.Serilog.csproj +++ b/src/Splat.Serilog/Splat.Serilog.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 Splat.Serilog Splat diff --git a/src/Splat.SimpleInjector/Splat.SimpleInjector.csproj b/src/Splat.SimpleInjector/Splat.SimpleInjector.csproj index 44b9984d8..e8f294f72 100644 --- a/src/Splat.SimpleInjector/Splat.SimpleInjector.csproj +++ b/src/Splat.SimpleInjector/Splat.SimpleInjector.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461 SimpleInjector adapter for Splat latest diff --git a/src/Splat/Splat.csproj b/src/Splat/Splat.csproj index c12f76fae..ac428f5c9 100644 --- a/src/Splat/Splat.csproj +++ b/src/Splat/Splat.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net5.0 + netstandard2.0;net5.0;net6.0 $(TargetFrameworks);net461;net472 Splat Splat From 0794a562cbcbb465b5e3d96dc265b31825b1af62 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Thu, 19 Aug 2021 17:51:19 +1000 Subject: [PATCH 2/4] Fix outstanding net6 issues --- .github/workflows/ci-build.yml | 6 +++++- src/Directory.build.targets | 14 +++++++++++++- ...provalTests.SplatUIProject.net5.0.approved.txt | 5 ++--- ...ests.SplatUIProject.netcoreapp3.1.approved.txt | 5 ++--- .../Android/Bitmaps/PlatformBitmapLoader.cs | 15 ++++++++++++--- src/Splat.Drawing/Splat.Drawing.csproj | 5 ++++- .../RaygunFeatureUsageTrackingSession.cs | 2 +- src/Splat.Raygun/Splat.Raygun.csproj | 9 +++++++-- src/Splat.Tests/Splat.Tests.csproj | 2 +- 9 files changed, 47 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index c0ec53516..71585d5b4 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -38,7 +38,7 @@ jobs: dotnet-version: 6.0.x include-prerelease: true - - name: Install VS2019 preview + - name: Install DotNet workloads shell: bash run: | dotnet workload install android @@ -46,6 +46,10 @@ jobs: dotnet workload install tvos dotnet workload install macos dotnet workload install maui + + - name: Install VS2019 preview + shell: bash + run: | dotnet tool update -g dotnet-vs vs install preview -sku:enterprise --quiet +Microsoft.VisualStudio.Component.ManagedDesktop.Core +Microsoft.NetCore.Component.DevelopmentTools +Microsoft.VisualStudio.Workload.NetCrossPlat +Microsoft.VisualStudio.Workload.Universal echo "##vso[task.prependpath]$(vs where preview --prop=InstallationPath)\MSBuild\Current\Bin" diff --git a/src/Directory.build.targets b/src/Directory.build.targets index 6fb6fbb63..8c4680ae3 100644 --- a/src/Directory.build.targets +++ b/src/Directory.build.targets @@ -23,11 +23,20 @@ $(DefineConstants);MONO;UIKIT;COCOA;IOS + + $(DefineConstants);MONO;UIKIT;COCOA;IOS + $(DefineConstants);MONO;COCOA + + $(DefineConstants);MONO;COCOA + - $(DefineConstants);MONO;UIKIT;COCOA + $(DefineConstants);MONO;UIKIT;COCOA;TVOS + + + $(DefineConstants);MONO;UIKIT;COCOA;TVOS $(DefineConstants);MONO;UIKIT;COCOA @@ -35,6 +44,9 @@ $(DefineConstants);MONO;ANDROID + + $(DefineConstants);MONO;ANDROID + $(DefineConstants);TIZEN diff --git a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt index a698ae00c..198345bb7 100644 --- a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt +++ b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt @@ -59,7 +59,6 @@ namespace Splat } public enum KnownColor { - Empty = 0, ActiveBorder = 1, ActiveCaption = 2, ActiveCaptionText = 3, @@ -429,10 +428,10 @@ namespace Splat public override int GetHashCode() { } public float GetHue() { } public float GetSaturation() { } - public uint ToArgb() { } + public int ToArgb() { } public Splat.KnownColor ToKnownColor() { } public override string ToString() { } - public static Splat.SplatColor FromArgb(uint argb) { } + public static Splat.SplatColor FromArgb(int argb) { } public static Splat.SplatColor FromArgb(int alpha, Splat.SplatColor baseColor) { } public static Splat.SplatColor FromArgb(int red, int green, int blue) { } public static Splat.SplatColor FromArgb(int alpha, int red, int green, int blue) { } diff --git a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt index 8da70fbbf..86d5eb390 100644 --- a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt +++ b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt @@ -57,7 +57,6 @@ namespace Splat } public enum KnownColor { - Empty = 0, ActiveBorder = 1, ActiveCaption = 2, ActiveCaptionText = 3, @@ -427,10 +426,10 @@ namespace Splat public override int GetHashCode() { } public float GetHue() { } public float GetSaturation() { } - public uint ToArgb() { } + public int ToArgb() { } public Splat.KnownColor ToKnownColor() { } public override string ToString() { } - public static Splat.SplatColor FromArgb(uint argb) { } + public static Splat.SplatColor FromArgb(int argb) { } public static Splat.SplatColor FromArgb(int alpha, Splat.SplatColor baseColor) { } public static Splat.SplatColor FromArgb(int red, int green, int blue) { } public static Splat.SplatColor FromArgb(int alpha, int red, int green, int blue) { } diff --git a/src/Splat.Drawing/Platforms/Android/Bitmaps/PlatformBitmapLoader.cs b/src/Splat.Drawing/Platforms/Android/Bitmaps/PlatformBitmapLoader.cs index 04eed3550..7252fe7a1 100644 --- a/src/Splat.Drawing/Platforms/Android/Bitmaps/PlatformBitmapLoader.cs +++ b/src/Splat.Drawing/Platforms/Android/Bitmaps/PlatformBitmapLoader.cs @@ -117,7 +117,9 @@ public PlatformBitmapLoader() /// public IBitmap? Create(float width, float height) { - return Bitmap.CreateBitmap((int)width, (int)height, Bitmap.Config.Argb8888)?.FromNative(); + var config = Bitmap.Config.Argb8888 ?? throw new InvalidOperationException("The ARGB8888 bitmap format is unavailable"); + + return Bitmap.CreateBitmap((int)width, (int)height, config)?.FromNative(); } internal static Dictionary GetDrawableList(IFullLogger? log) @@ -147,6 +149,11 @@ private static Type[] GetTypesFromAssembly( foreach (var loaderException in e.LoaderExceptions) { + if (loaderException is null) + { + continue; + } + log.Warn(loaderException, "Inner Exception for detecting drawing types."); } } @@ -154,7 +161,7 @@ private static Type[] GetTypesFromAssembly( // null check here because mono doesn't appear to follow the MSDN documentation // as of July 2019. return e.Types is not null - ? e.Types.Where(x => x is not null).ToArray() + ? e.Types.Where(x => x is not null).Select(x => x!).ToArray() : Array.Empty(); } } @@ -169,6 +176,8 @@ private static Dictionary GetDrawableList( .SelectMany(a => GetTypesFromAssembly(a, log)) .Where(x => x.Name.Equals("Resource", StringComparison.Ordinal) && x.GetNestedType("Drawable") is not null) .Select(x => x.GetNestedType("Drawable")) + .Where(x => x != null) + .Select(x => x!) .ToArray(); if (log?.IsDebugEnabled == true) @@ -188,7 +197,7 @@ private static Dictionary GetDrawableList( .AsParallel() .SelectMany(x => x.GetFields()) .Where(x => x.FieldType == typeof(int) && x.IsLiteral) - .ToDictionary(k => k.Name, v => (int)v.GetRawConstantValue()); + .ToDictionary(k => k.Name, v => ((int?)v.GetRawConstantValue()) ?? 0); if (log?.IsDebugEnabled == true) { diff --git a/src/Splat.Drawing/Splat.Drawing.csproj b/src/Splat.Drawing/Splat.Drawing.csproj index 1057997da..10f628b29 100644 --- a/src/Splat.Drawing/Splat.Drawing.csproj +++ b/src/Splat.Drawing/Splat.Drawing.csproj @@ -1,4 +1,4 @@ - + MonoAndroid90;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;netstandard2.0;net6.0-android;net6.0-ios;net6.0-tvos;net6.0-macos @@ -19,9 +19,11 @@ + + @@ -94,6 +96,7 @@ + diff --git a/src/Splat.Raygun/RaygunFeatureUsageTrackingSession.cs b/src/Splat.Raygun/RaygunFeatureUsageTrackingSession.cs index c5325bd79..8153a8806 100644 --- a/src/Splat.Raygun/RaygunFeatureUsageTrackingSession.cs +++ b/src/Splat.Raygun/RaygunFeatureUsageTrackingSession.cs @@ -66,7 +66,7 @@ internal RaygunFeatureUsageTrackingSession( // keep an eye on // https://raygun.com/forums/thread/92182 -#if NETSTANDARD2_0 || NET5_0 +#if NETSTANDARD2_0 || NET5_0 || NET6_0 var messageBuilder = RaygunMessageBuilder.New(raygunSettings) #else var messageBuilder = RaygunMessageBuilder.New diff --git a/src/Splat.Raygun/Splat.Raygun.csproj b/src/Splat.Raygun/Splat.Raygun.csproj index eebcb0cf4..dff04d59e 100644 --- a/src/Splat.Raygun/Splat.Raygun.csproj +++ b/src/Splat.Raygun/Splat.Raygun.csproj @@ -1,4 +1,4 @@ - + netstandard2.0;net5.0;net6.0 @@ -13,7 +13,12 @@ - + + + + + + diff --git a/src/Splat.Tests/Splat.Tests.csproj b/src/Splat.Tests/Splat.Tests.csproj index 9d7fe5bc3..6660c747c 100644 --- a/src/Splat.Tests/Splat.Tests.csproj +++ b/src/Splat.Tests/Splat.Tests.csproj @@ -1,7 +1,7 @@  - net5.0;netcoreapp3.1 + net5.0;net6.0;netcoreapp3.1 $(NoWarn);1591;CA1707;SA1633;CA2000;CA1034 latest latest From 7e7dfc6b231d5fe3887fc66cc8b9b775c0cc4cd4 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Thu, 19 Aug 2021 18:17:25 +1000 Subject: [PATCH 3/4] Fix .net 6 unit test approvals --- ...alTests.SplatUIProject.net5.0.approved.txt | 5 +- ....SplatUIProject.netcoreapp3.1.approved.txt | 5 +- ...piApprovalTests.SplatProject..approved.txt | 775 ++++++++++++++++++ 3 files changed, 781 insertions(+), 4 deletions(-) create mode 100644 src/Splat.Tests/API/ApiApprovalTests.SplatProject..approved.txt diff --git a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt index 198345bb7..a698ae00c 100644 --- a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt +++ b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.net5.0.approved.txt @@ -59,6 +59,7 @@ namespace Splat } public enum KnownColor { + Empty = 0, ActiveBorder = 1, ActiveCaption = 2, ActiveCaptionText = 3, @@ -428,10 +429,10 @@ namespace Splat public override int GetHashCode() { } public float GetHue() { } public float GetSaturation() { } - public int ToArgb() { } + public uint ToArgb() { } public Splat.KnownColor ToKnownColor() { } public override string ToString() { } - public static Splat.SplatColor FromArgb(int argb) { } + public static Splat.SplatColor FromArgb(uint argb) { } public static Splat.SplatColor FromArgb(int alpha, Splat.SplatColor baseColor) { } public static Splat.SplatColor FromArgb(int red, int green, int blue) { } public static Splat.SplatColor FromArgb(int alpha, int red, int green, int blue) { } diff --git a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt index 86d5eb390..8da70fbbf 100644 --- a/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt +++ b/src/Splat.Drawing.Tests/API/ApiApprovalTests.SplatUIProject.netcoreapp3.1.approved.txt @@ -57,6 +57,7 @@ namespace Splat } public enum KnownColor { + Empty = 0, ActiveBorder = 1, ActiveCaption = 2, ActiveCaptionText = 3, @@ -426,10 +427,10 @@ namespace Splat public override int GetHashCode() { } public float GetHue() { } public float GetSaturation() { } - public int ToArgb() { } + public uint ToArgb() { } public Splat.KnownColor ToKnownColor() { } public override string ToString() { } - public static Splat.SplatColor FromArgb(int argb) { } + public static Splat.SplatColor FromArgb(uint argb) { } public static Splat.SplatColor FromArgb(int alpha, Splat.SplatColor baseColor) { } public static Splat.SplatColor FromArgb(int red, int green, int blue) { } public static Splat.SplatColor FromArgb(int alpha, int red, int green, int blue) { } diff --git a/src/Splat.Tests/API/ApiApprovalTests.SplatProject..approved.txt b/src/Splat.Tests/API/ApiApprovalTests.SplatProject..approved.txt new file mode 100644 index 000000000..72858adf4 --- /dev/null +++ b/src/Splat.Tests/API/ApiApprovalTests.SplatProject..approved.txt @@ -0,0 +1,775 @@ +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Splat.Drawing.Tests")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Splat.TestRunner.Android")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Splat.TestRunner.Uwp")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Splat.Tests")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName="")] +namespace Splat +{ + public class ActionLogger : Splat.ILogger + { + public ActionLogger(System.Action writeNoType, System.Action writeWithType, System.Action writeNoTypeWithException, System.Action writeWithTypeAndException) { } + public Splat.LogLevel Level { get; set; } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } + public abstract class AllocationFreeLoggerBase : Splat.IAllocationFreeErrorLogger, Splat.IAllocationFreeLogger, Splat.ILogger + { + protected AllocationFreeLoggerBase(Splat.ILogger inner) { } + public bool IsDebugEnabled { get; } + public bool IsErrorEnabled { get; } + public bool IsFatalEnabled { get; } + public bool IsInfoEnabled { get; } + public bool IsWarnEnabled { get; } + public Splat.LogLevel Level { get; } + public virtual void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument) { } + public virtual void Debug(System.Exception exception, string messageFormat, TArgument argument) { } + public virtual void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public virtual void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public virtual void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public virtual void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public virtual void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public virtual void Debug(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public virtual void Debug(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public virtual void Debug(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public virtual void Debug(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public void Debug(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument) { } + public void Error(System.Exception exception, string messageFormat, TArgument argument) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public virtual void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public void Error(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument argument) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public virtual void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public void Fatal(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument) { } + public void Info(System.Exception exception, string messageFormat, TArgument argument) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public virtual void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public void Info(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument) { } + public void Warn(System.Exception exception, string messageFormat, TArgument argument) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9) { } + public virtual void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public void Warn(System.Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10) { } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } + public class ConsoleLogger : Splat.ILogger + { + public ConsoleLogger() { } + public string ExceptionMessageFormat { get; set; } + public Splat.LogLevel Level { get; set; } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } + public class DebugLogger : Splat.ILogger + { + public DebugLogger() { } + public Splat.LogLevel Level { get; set; } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } + public sealed class DefaultLogManager : Splat.ILogManager + { + public DefaultLogManager(Splat.IReadonlyDependencyResolver? dependencyResolver = null) { } + public Splat.IFullLogger GetLogger(System.Type type) { } + } + public class DefaultModeDetector : Splat.IEnableLogger, Splat.IModeDetector + { + public DefaultModeDetector() { } + public bool? InUnitTestRunner() { } + } + public static class DependencyResolverMixins + { + public static T? GetService(this Splat.IReadonlyDependencyResolver resolver, string? contract = null) { } + public static System.Collections.Generic.IEnumerable GetServices(this Splat.IReadonlyDependencyResolver resolver, string? contract = null) { } + public static void Register(this Splat.IMutableDependencyResolver resolver, System.Func factory, string? contract = null) { } + public static void Register(this Splat.IMutableDependencyResolver resolver, string? contract = null) + where T : new() { } + public static void RegisterConstant(this Splat.IMutableDependencyResolver resolver, object? value, System.Type? serviceType, string? contract = null) { } + public static void RegisterConstant(this Splat.IMutableDependencyResolver resolver, T? value, string? contract = null) { } + public static void RegisterLazySingleton(this Splat.IMutableDependencyResolver resolver, System.Func valueFactory, System.Type? serviceType, string? contract = null) { } + public static void RegisterLazySingleton(this Splat.IMutableDependencyResolver resolver, System.Func valueFactory, string? contract = null) { } + public static System.IDisposable ServiceRegistrationCallback(this Splat.IMutableDependencyResolver resolver, System.Type serviceType, System.Action callback) { } + public static void UnregisterAll(this Splat.IMutableDependencyResolver resolver, string? contract = null) { } + public static void UnregisterCurrent(this Splat.IMutableDependencyResolver resolver, string? contract = null) { } + public static System.IDisposable WithResolver(this Splat.IDependencyResolver resolver, bool suppressResolverCallback = true) { } + } + public static class FullLoggerExtensions + { + public static void Debug(this Splat.IFullLogger logger, System.Func function) { } + public static void Debug(this Splat.IFullLogger logger, System.Func function) { } + public static void DebugException(this Splat.IFullLogger logger, System.Func function, System.Exception exception) { } + public static void Error(this Splat.IFullLogger logger, System.Func function) { } + public static void Error(this Splat.IFullLogger logger, System.Func function) { } + public static void ErrorException(this Splat.IFullLogger logger, System.Func function, System.Exception exception) { } + public static void Fatal(this Splat.IFullLogger logger, System.Func function) { } + public static void Fatal(this Splat.IFullLogger logger, System.Func function) { } + public static void FatalException(this Splat.IFullLogger logger, System.Func function, System.Exception exception) { } + public static void Info(this Splat.IFullLogger logger, System.Func function) { } + public static void Info(this Splat.IFullLogger logger, System.Func function) { } + public static void InfoException(this Splat.IFullLogger logger, System.Func function, System.Exception exception) { } + public static void Warn(this Splat.IFullLogger logger, System.Func function) { } + public static void Warn(this Splat.IFullLogger logger, System.Func function) { } + public static void WarnException(this Splat.IFullLogger logger, System.Func function, System.Exception exception) { } + } + public class FuncDependencyResolver : Splat.IDependencyResolver, Splat.IMutableDependencyResolver, Splat.IReadonlyDependencyResolver, System.IDisposable + { + public FuncDependencyResolver(System.Func> getAllServices, System.Action, System.Type?, string?>? register = null, System.Action? unregisterCurrent = null, System.Action? unregisterAll = null, System.IDisposable? toDispose = null) { } + public void Dispose() { } + protected virtual void Dispose(bool isDisposing) { } + public object? GetService(System.Type? serviceType, string? contract = null) { } + public System.Collections.Generic.IEnumerable GetServices(System.Type? serviceType, string? contract = null) { } + public bool HasRegistration(System.Type? serviceType, string? contract = null) { } + public void Register(System.Func factory, System.Type? serviceType, string? contract = null) { } + public System.IDisposable ServiceRegistrationCallback(System.Type serviceType, string? contract, System.Action callback) { } + public void UnregisterAll(System.Type? serviceType, string? contract = null) { } + public void UnregisterCurrent(System.Type? serviceType, string? contract = null) { } + } + public class FuncLogManager : Splat.ILogManager + { + public FuncLogManager(System.Func getLoggerFunc) { } + public Splat.IFullLogger GetLogger(System.Type type) { } + } + public interface IAllocationFreeErrorLogger : Splat.ILogger + { + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + } + public interface IAllocationFreeLogger : Splat.IAllocationFreeErrorLogger, Splat.ILogger + { + bool IsDebugEnabled { get; } + bool IsErrorEnabled { get; } + bool IsFatalEnabled { get; } + bool IsInfoEnabled { get; } + bool IsWarnEnabled { get; } + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Debug([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Error([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Fatal([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Info([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument argument); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9); + void Warn([System.ComponentModel.Localizable(false)] string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10); + } + public interface IDependencyResolver : Splat.IMutableDependencyResolver, Splat.IReadonlyDependencyResolver, System.IDisposable { } + [System.Runtime.InteropServices.ComVisible(false)] + public interface IEnableLogger { } + public interface IFullLogger : Splat.IAllocationFreeErrorLogger, Splat.IAllocationFreeLogger, Splat.ILogger + { + void Debug([System.ComponentModel.Localizable(false)] string? message); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string? message); + void Debug([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, params object[] args); + void Debug(T value); + void Debug([System.ComponentModel.Localizable(false)] string? message); + void Debug(System.IFormatProvider formatProvider, T value); + void Debug([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + [System.Obsolete("Use void Debug(Exception exception, [Localizable(false)] string? message)")] + void DebugException([System.ComponentModel.Localizable(false)] string? message, System.Exception exception); + void Error([System.ComponentModel.Localizable(false)] string? message); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string? message); + void Error([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, params object[] args); + void Error(T value); + void Error([System.ComponentModel.Localizable(false)] string? message); + void Error(System.IFormatProvider formatProvider, T value); + void Error([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + [System.Obsolete("Use void Error(Exception exception, [Localizable(false)] string? message)")] + void ErrorException([System.ComponentModel.Localizable(false)] string? message, System.Exception exception); + void Fatal([System.ComponentModel.Localizable(false)] string? message); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string? message); + void Fatal([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, params object[] args); + void Fatal(T value); + void Fatal([System.ComponentModel.Localizable(false)] string? message); + void Fatal(System.IFormatProvider formatProvider, T value); + void Fatal([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + [System.Obsolete("Use void Fatal(Exception exception, [Localizable(false)] string? message)")] + void FatalException([System.ComponentModel.Localizable(false)] string? message, System.Exception exception); + void Info([System.ComponentModel.Localizable(false)] string? message); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string? message); + void Info([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, params object[] args); + void Info(T value); + void Info([System.ComponentModel.Localizable(false)] string? message); + void Info(System.IFormatProvider formatProvider, T value); + void Info([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + [System.Obsolete("Use void Info(Exception exception, [Localizable(false)] string? message)")] + void InfoException([System.ComponentModel.Localizable(false)] string? message, System.Exception exception); + void Warn([System.ComponentModel.Localizable(false)] string? message); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string? message); + void Warn([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, params object[] args); + void Warn(T value); + void Warn([System.ComponentModel.Localizable(false)] string? message); + void Warn(System.IFormatProvider formatProvider, T value); + void Warn([System.ComponentModel.Localizable(false)] string message, params object[] args); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3); + [System.Obsolete("Use void Warn(Exception exception, [Localizable(false)] string? message)")] + void WarnException([System.ComponentModel.Localizable(false)] string? message, System.Exception exception); + } + public interface ILogManager + { + Splat.IFullLogger GetLogger(System.Type type); + } + public interface ILogger + { + Splat.LogLevel Level { get; } + void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel); + void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel); + void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel); + void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel); + } + public interface IModeDetector + { + bool? InUnitTestRunner(); + } + public interface IMutableDependencyResolver + { + bool HasRegistration(System.Type? serviceType, string? contract = null); + void Register(System.Func factory, System.Type? serviceType, string? contract = null); + System.IDisposable ServiceRegistrationCallback(System.Type serviceType, string? contract, System.Action callback); + void UnregisterAll(System.Type? serviceType, string? contract = null); + void UnregisterCurrent(System.Type? serviceType, string? contract = null); + } + public interface IReadonlyDependencyResolver + { + object? GetService(System.Type? serviceType, string? contract = null); + System.Collections.Generic.IEnumerable GetServices(System.Type? serviceType, string? contract = null); + } + public interface IStaticFullLogger + { + Splat.LogLevel Level { get; } + void Debug([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Debug(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Debug([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Debug(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Error([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Error(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Error([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Error(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Fatal([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Fatal(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Fatal([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Fatal(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Info([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Info(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Info([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Info(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Warn([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Warn(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Warn([System.ComponentModel.Localizable(false)] string message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Warn(System.IFormatProvider formatProvider, [System.ComponentModel.Localizable(false)] string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null); + } + public static class Locator + { + public static Splat.IReadonlyDependencyResolver Current { get; } + public static Splat.IMutableDependencyResolver CurrentMutable { get; } + public static bool AreResolverCallbackChangedNotificationsEnabled() { } + public static Splat.IDependencyResolver GetLocator() { } + public static System.IDisposable RegisterResolverCallbackChanged(System.Action callback) { } + public static void SetLocator(Splat.IDependencyResolver dependencyResolver) { } + public static System.IDisposable SuppressResolverCallbackChangedNotifications() { } + } + public static class LogHost + { + public static Splat.IStaticFullLogger Default { get; } + public static Splat.IFullLogger Log(this T logClassInstance) + where T : Splat.IEnableLogger { } + } + public enum LogLevel + { + Debug = 1, + Info = 2, + Warn = 3, + Error = 4, + Fatal = 5, + } + public static class LogManagerMixin + { + public static Splat.IFullLogger GetLogger(this Splat.ILogManager logManager) { } + } + [System.Serializable] + public class LoggingException : System.Exception + { + public LoggingException() { } + public LoggingException(string message) { } + protected LoggingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggingException(string message, System.Exception innerException) { } + } + public sealed class MemoizingMRUCache + where TParam : notnull + { + public MemoizingMRUCache(System.Func calculationFunc, int maxSize) { } + public MemoizingMRUCache(System.Func calculationFunc, int maxSize, System.Action onRelease) { } + public MemoizingMRUCache(System.Func calculationFunc, int maxSize, System.Collections.Generic.IEqualityComparer paramComparer) { } + public MemoizingMRUCache(System.Func calculationFunc, int maxSize, System.Action? onRelease, System.Collections.Generic.IEqualityComparer paramComparer) { } + public System.Collections.Generic.IEnumerable CachedValues() { } + public TVal Get(TParam key) { } + public TVal Get(TParam key, object? context = null) { } + public void Invalidate(TParam key) { } + public void InvalidateAll(bool aggregateReleaseExceptions = false) { } + public bool TryGet(TParam key, out TVal? result) { } + } + public static class ModeDetector + { + public static bool InUnitTestRunner() { } + public static void OverrideModeDetector(Splat.IModeDetector modeDetector) { } + } + public class ModernDependencyResolver : Splat.IDependencyResolver, Splat.IMutableDependencyResolver, Splat.IReadonlyDependencyResolver, System.IDisposable + { + public ModernDependencyResolver() { } + protected ModernDependencyResolver([System.Runtime.CompilerServices.TupleElementNames(new string?[]?[] { + "serviceType", + "contract"})] System.Collections.Generic.Dictionary, System.Collections.Generic.List>>? registry) { } + public void Dispose() { } + protected virtual void Dispose(bool isDisposing) { } + public Splat.ModernDependencyResolver Duplicate() { } + public object? GetService(System.Type? serviceType, string? contract = null) { } + public System.Collections.Generic.IEnumerable GetServices(System.Type? serviceType, string? contract = null) { } + public bool HasRegistration(System.Type? serviceType, string? contract = null) { } + public void Register(System.Func factory, System.Type? serviceType, string? contract = null) { } + public System.IDisposable ServiceRegistrationCallback(System.Type serviceType, string? contract, System.Action callback) { } + public void UnregisterAll(System.Type? serviceType, string? contract = null) { } + public void UnregisterCurrent(System.Type? serviceType, string? contract = null) { } + } + public class NullLogger : Splat.ILogger + { + public NullLogger() { } + public Splat.LogLevel Level { get; set; } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } + public class NullServiceType + { + public NullServiceType(System.Func factory) { } + public System.Func Factory { get; } + } + public static class PointMathExtensions + { + public static float AngleInDegrees(this System.Drawing.PointF value) { } + public static float DistanceTo(this System.Drawing.PointF value, System.Drawing.PointF other) { } + public static float DotProduct(this System.Drawing.PointF value, System.Drawing.PointF other) { } + public static System.Drawing.PointF Floor(this System.Drawing.Point value) { } + public static float Length(this System.Drawing.PointF value) { } + public static System.Drawing.PointF Normalize(this System.Drawing.PointF value) { } + public static System.Drawing.PointF ProjectAlong(this System.Drawing.PointF value, System.Drawing.PointF direction) { } + public static System.Drawing.PointF ProjectAlongAngle(this System.Drawing.PointF value, float angleInDegrees) { } + public static System.Drawing.PointF ScaledBy(this System.Drawing.PointF value, float factor) { } + public static bool WithinEpsilonOf(this System.Drawing.PointF value, System.Drawing.PointF other, float epsilon) { } + } + public enum RectEdge + { + Left = 0, + Top = 1, + Right = 2, + Bottom = 3, + } + public static class RectangleMathExtensions + { + public static System.Drawing.PointF Center(this System.Drawing.RectangleF value) { } + public static System.Drawing.RectangleF Copy(this System.Drawing.RectangleF value, float? x = default, float? y = default, float? width = default, float? height = default, float? top = default, float? bottom = default) { } + public static System.Tuple Divide(this System.Drawing.RectangleF value, float amount, Splat.RectEdge fromEdge) { } + public static System.Tuple DivideWithPadding(this System.Drawing.RectangleF value, float sliceAmount, float padding, Splat.RectEdge fromEdge) { } + public static System.Drawing.RectangleF InvertWithin(this System.Drawing.RectangleF value, System.Drawing.RectangleF containingRect) { } + } + public static class ResolverMixins + { + public static Splat.IMutableDependencyResolver RegisterAnd(this Splat.IMutableDependencyResolver resolver, string? contract = null) + where T : new() { } + public static Splat.IMutableDependencyResolver RegisterAnd(this Splat.IMutableDependencyResolver resolver, System.Func factory, string? contract = null) { } + public static Splat.IMutableDependencyResolver RegisterAnd(this Splat.IMutableDependencyResolver resolver, string? contract = null) + where T : new() { } + public static Splat.IMutableDependencyResolver RegisterAnd(this Splat.IMutableDependencyResolver resolver, System.Func factory, string? contract = null) { } + public static Splat.IMutableDependencyResolver RegisterConstantAnd(this Splat.IMutableDependencyResolver resolver, object value, System.Type serviceType, string? contract = null) { } + public static Splat.IMutableDependencyResolver RegisterConstantAnd(this Splat.IMutableDependencyResolver resolver, string? contract = null) + where T : new() { } + public static Splat.IMutableDependencyResolver RegisterConstantAnd(this Splat.IMutableDependencyResolver resolver, T value, string? contract = null) { } + public static Splat.IMutableDependencyResolver RegisterLazySingletonAnd(this Splat.IMutableDependencyResolver resolver, System.Func valueFactory, System.Type serviceType, string? contract = null) { } + public static Splat.IMutableDependencyResolver RegisterLazySingletonAnd(this Splat.IMutableDependencyResolver resolver, string? contract = null) + where T : new() { } + public static Splat.IMutableDependencyResolver RegisterLazySingletonAnd(this Splat.IMutableDependencyResolver resolver, System.Func valueFactory, string? contract = null) { } + } + public static class ServiceLocationInitialization + { + public static void InitializeSplat(this Splat.IMutableDependencyResolver resolver) { } + } + public static class SizeMathExtensions + { + public static System.Drawing.SizeF ScaledBy(this System.Drawing.SizeF value, float factor) { } + public static bool WithinEpsilonOf(this System.Drawing.SizeF value, System.Drawing.SizeF other, float epsilon) { } + } + public sealed class StaticFullLogger : Splat.IStaticFullLogger + { + public StaticFullLogger(Splat.IFullLogger fullLogger) { } + public Splat.LogLevel Level { get; } + public void Debug(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Debug(System.Exception exception, string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Debug(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Debug(System.IFormatProvider formatProvider, string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Debug(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Debug(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Error(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Error(System.Exception exception, string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Error(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Error(System.IFormatProvider formatProvider, string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Error(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Error(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Fatal(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Fatal(System.Exception exception, string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Fatal(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Fatal(System.IFormatProvider formatProvider, string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Fatal(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Fatal(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Info(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Info(System.Exception exception, string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Info(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Info(System.IFormatProvider formatProvider, string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Info(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Info(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Warn(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Warn(System.Exception exception, string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Warn(string? message, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Warn(System.IFormatProvider formatProvider, string message, TArgument argument, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Warn(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Warn(System.IFormatProvider formatProvider, string? message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Write(string? message, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Write(System.Exception exception, string? message, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Write([System.ComponentModel.Localizable(false)] string? message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string? message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel, [System.Runtime.CompilerServices.CallerMemberName] string? callerMemberName = null) { } + } + public static class TargetFrameworkExtensions + { + public static string? GetTargetFrameworkName(this System.Reflection.Assembly assembly) { } + } + public class WrappingFullLogger : Splat.AllocationFreeLoggerBase, Splat.IAllocationFreeErrorLogger, Splat.IAllocationFreeLogger, Splat.IFullLogger, Splat.ILogger + { + public WrappingFullLogger(Splat.ILogger inner) { } + public void Debug(string? message) { } + public void Debug(System.Exception exception, string? message) { } + public void Debug(string message, params object[] args) { } + public void Debug(System.IFormatProvider formatProvider, string message, params object[] args) { } + public void Debug(T value) { } + public void Debug(string? message) { } + public void Debug(System.IFormatProvider formatProvider, T value) { } + public void Debug(string message, params object[] args) { } + public void Debug(System.IFormatProvider formatProvider, string message, TArgument argument) { } + public void Debug(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) { } + public void Debug(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void DebugException(string? message, System.Exception exception) { } + public void Error(string? message) { } + public void Error(System.Exception exception, string? message) { } + public void Error(string message, params object[] args) { } + public void Error(System.IFormatProvider formatProvider, string message, params object[] args) { } + public void Error(T value) { } + public void Error(string? message) { } + public void Error(System.IFormatProvider formatProvider, T value) { } + public void Error(string message, params object[] args) { } + public void Error(System.IFormatProvider formatProvider, string message, TArgument argument) { } + public void Error(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) { } + public void Error(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void ErrorException(string? message, System.Exception exception) { } + public void Fatal(string? message) { } + public void Fatal(System.Exception exception, string? message) { } + public void Fatal(string message, params object[] args) { } + public void Fatal(System.IFormatProvider formatProvider, string message, params object[] args) { } + public void Fatal(T value) { } + public void Fatal(string? message) { } + public void Fatal(System.IFormatProvider formatProvider, T value) { } + public void Fatal(string message, params object[] args) { } + public void Fatal(System.IFormatProvider formatProvider, string message, TArgument argument) { } + public void Fatal(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) { } + public void Fatal(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void FatalException(string? message, System.Exception exception) { } + public void Info(string? message) { } + public void Info(System.Exception exception, string? message) { } + public void Info(string message, params object[] args) { } + public void Info(System.IFormatProvider formatProvider, string message, params object[] args) { } + public void Info(T value) { } + public void Info(string? message) { } + public void Info(System.IFormatProvider formatProvider, T value) { } + public void Info(string message, params object[] args) { } + public void Info(System.IFormatProvider formatProvider, string message, TArgument argument) { } + public void Info(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) { } + public void Info(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void InfoException(string? message, System.Exception exception) { } + public void Warn(string? message) { } + public void Warn(System.Exception exception, string? message) { } + public void Warn(string message, params object[] args) { } + public void Warn(System.IFormatProvider formatProvider, string message, params object[] args) { } + public void Warn(T value) { } + public void Warn(string? message) { } + public void Warn(System.IFormatProvider formatProvider, T value) { } + public void Warn(string message, params object[] args) { } + public void Warn(System.IFormatProvider formatProvider, string message, TArgument argument) { } + public void Warn(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) { } + public void Warn(System.IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) { } + public void WarnException(string? message, System.Exception exception) { } + } + public class WrappingLogLevelLogger : Splat.ILogger + { + public WrappingLogLevelLogger(Splat.ILogger inner) { } + public Splat.LogLevel Level { get; } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } + public class WrappingPrefixLogger : Splat.ILogger + { + public WrappingPrefixLogger(Splat.ILogger inner, System.Type callingType) { } + public Splat.LogLevel Level { get; } + public void Write([System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, Splat.LogLevel logLevel) { } + public void Write([System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + public void Write(System.Exception exception, [System.ComponentModel.Localizable(false)] string message, [System.ComponentModel.Localizable(false)] System.Type type, Splat.LogLevel logLevel) { } + } +} +namespace Splat.ApplicationPerformanceMonitoring +{ + public sealed class DefaultFeatureUsageTrackingManager : Splat.ApplicationPerformanceMonitoring.FuncFeatureUsageTrackingManager + { + public DefaultFeatureUsageTrackingManager() { } + } + public sealed class DefaultFeatureUsageTrackingSession : Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession, Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession, Splat.IEnableLogger, System.IDisposable + { + public DefaultFeatureUsageTrackingSession(string featureName) { } + public string FeatureName { get; } + public System.Guid FeatureReference { get; } + public System.Guid ParentReference { get; } + public void Dispose() { } + public void OnException(System.Exception exception) { } + public Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession SubFeature(string description) { } + } + public static class EnableFeatureUsageTrackingExtensions + { + public static Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession FeatureUsageTrackingSession(this Splat.ApplicationPerformanceMonitoring.IEnableFeatureUsageTracking instance, string featureName) { } + public static void WithFeatureUsageTrackingSession(this Splat.ApplicationPerformanceMonitoring.IEnableFeatureUsageTracking instance, string featureName, System.Action action) { } + public static void WithSubFeatureUsageTrackingSession(this Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession instance, string featureName, System.Action action) { } + } + public class FuncFeatureUsageTrackingManager : Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingManager + { + public FuncFeatureUsageTrackingManager(System.Func featureUsageTrackingSessionFunc) { } + public Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession GetFeatureUsageTrackingSession(string featureName) { } + } + [System.Runtime.InteropServices.ComVisible(false)] + public interface IEnableFeatureUsageTracking { } + public interface IFeatureUsageTrackingManager + { + Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession GetFeatureUsageTrackingSession(string featureName); + } + public interface IFeatureUsageTrackingSession : System.IDisposable + { + string FeatureName { get; } + void OnException(System.Exception exception); + Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession SubFeature(string description); + } + public interface IFeatureUsageTrackingSession : Splat.ApplicationPerformanceMonitoring.IFeatureUsageTrackingSession, System.IDisposable + { + TReferenceType FeatureReference { get; } + TReferenceType ParentReference { get; } + } + public interface IViewTracking + { + void OnViewNavigation(string name); + } +} \ No newline at end of file From 723fd59df42ee3367d1354fd094e4ed7de30826b Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Thu, 19 Aug 2021 18:57:31 +1000 Subject: [PATCH 4/4] Cleanup inclusions in drawing --- src/Splat.Drawing/Splat.Drawing.csproj | 37 ++++++++++++++++++-------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/src/Splat.Drawing/Splat.Drawing.csproj b/src/Splat.Drawing/Splat.Drawing.csproj index 10f628b29..dc0340725 100644 --- a/src/Splat.Drawing/Splat.Drawing.csproj +++ b/src/Splat.Drawing/Splat.Drawing.csproj @@ -55,21 +55,20 @@ - - - - - + + - - - + + + + + @@ -78,21 +77,30 @@ - + - + + + + + + - + + + + + @@ -100,6 +108,13 @@ + + + + + + +