From 66641cdbf794abb69c7026e6fa7ca05183e15ad6 Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Tue, 19 Nov 2024 19:21:46 -0800 Subject: [PATCH] Clean up --- docs/api/index.md | 4 +-- src/NmeaParser.sln | 35 ++++++++++++++++++++- src/SampleApp.WinDesktop/BluetoothDevice.cs | 3 +- 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index 0ef4252..513bfa7 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -6,9 +6,9 @@ - [.NET 6+ Windows API Reference](netwin/index.md) -- [.NET 6+ iOS API Reference](ios/index.md) +- [.NET 8+ iOS API Reference](ios/index.md) -- [.NET 6+ Android API Reference](android/index.md) +- [.NET 8+ Android API Reference](android/index.md) #### Legacy: diff --git a/src/NmeaParser.sln b/src/NmeaParser.sln index 975e272..f3dc1ed 100644 --- a/src/NmeaParser.sln +++ b/src/NmeaParser.sln @@ -35,7 +35,38 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleApp.NetCore", "Sample EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Maui", "Maui", "{09136598-F229-45CD-8AEA-97DC890C3314}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApp.Maui", "SampleApp.Maui\SampleApp.Maui.csproj", "{9C02F330-0392-41F3-BBC1-D6E389FA9CCC}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleApp.Maui", "SampleApp.Maui\SampleApp.Maui.csproj", "{9C02F330-0392-41F3-BBC1-D6E389FA9CCC}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{8B60BBAA-7CA6-40DF-AD08-06AE7573EF68}" + ProjectSection(SolutionItems) = preProject + ..\docs\appliesToList.json = ..\docs\appliesToList.json + ..\docs\BuildDoc.cmd = ..\docs\BuildDoc.cmd + ..\docs\docfx.json = ..\docs\docfx.json + ..\docs\Features.md = ..\docs\Features.md + ..\docs\index.md = ..\docs\index.md + ..\docs\toc.yml = ..\docs\toc.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "concepts", "concepts", "{E6CF1B94-DD5C-4B3A-9D00-164394435CAC}" + ProjectSection(SolutionItems) = preProject + ..\docs\concepts\ArcGISRuntime.md = ..\docs\concepts\ArcGISRuntime.md + ..\docs\concepts\BluetoothAndroid.md = ..\docs\concepts\BluetoothAndroid.md + ..\docs\concepts\BluetoothiOS.md = ..\docs\concepts\BluetoothiOS.md + ..\docs\concepts\BluetoothUWP.md = ..\docs\concepts\BluetoothUWP.md + ..\docs\concepts\CustomMessages.md = ..\docs\concepts\CustomMessages.md + ..\docs\concepts\index.md = ..\docs\concepts\index.md + ..\docs\concepts\MigrateFromV1.md = ..\docs\concepts\MigrateFromV1.md + ..\docs\concepts\ntrip.md = ..\docs\concepts\ntrip.md + ..\docs\concepts\SerialPortNetCore.md = ..\docs\concepts\SerialPortNetCore.md + ..\docs\concepts\SerialPortNetFX.md = ..\docs\concepts\SerialPortNetFX.md + ..\docs\concepts\SerialPortUWP.md = ..\docs\concepts\SerialPortUWP.md + ..\docs\concepts\toc.yml = ..\docs\concepts\toc.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "api", "api", "{7CE7906E-983F-415E-93D3-A2531D3EC9A3}" + ProjectSection(SolutionItems) = preProject + ..\docs\api\index.md = ..\docs\api\index.md + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -183,6 +214,8 @@ Global {6F97C607-42A0-458B-B9E9-CF5AF53CBB1E} = {7ABA337E-6748-484E-A0F4-E1715E1C95F1} {09136598-F229-45CD-8AEA-97DC890C3314} = {A4B9D59A-C8C6-4199-A7F3-F3AF0C748281} {9C02F330-0392-41F3-BBC1-D6E389FA9CCC} = {09136598-F229-45CD-8AEA-97DC890C3314} + {E6CF1B94-DD5C-4B3A-9D00-164394435CAC} = {8B60BBAA-7CA6-40DF-AD08-06AE7573EF68} + {7CE7906E-983F-415E-93D3-A2531D3EC9A3} = {8B60BBAA-7CA6-40DF-AD08-06AE7573EF68} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {03788B53-C0BF-485B-AA19-A9EAB0E9AF7B} diff --git a/src/SampleApp.WinDesktop/BluetoothDevice.cs b/src/SampleApp.WinDesktop/BluetoothDevice.cs index 00bf599..8028bbe 100644 --- a/src/SampleApp.WinDesktop/BluetoothDevice.cs +++ b/src/SampleApp.WinDesktop/BluetoothDevice.cs @@ -1,4 +1,5 @@ // Bluetooth device using the Win10 contracts +#nullable enable using System; using System.Collections.Generic; using System.Linq; @@ -52,7 +53,7 @@ namespace SampleApp.WinDesktop m_disposeService = disposeService; } - public RfcommDeviceService Service => m_deviceService; + public RfcommDeviceService? Service => m_deviceService; /// protected override void Dispose(bool disposing)