diff --git a/eng/StyleCop.Analyzers.ruleset b/eng/StyleCop.Analyzers.ruleset index b655d8de83003b31f11d29fd2d12bf3ce54fc0a9..a273eb4d0cf1786fd399929c8e28750d81478cbe 100644 --- a/eng/StyleCop.Analyzers.ruleset +++ b/eng/StyleCop.Analyzers.ruleset @@ -164,10 +164,10 @@ - - - - + + + + @@ -179,6 +179,6 @@ - + diff --git a/eng/stylecop.json b/eng/stylecop.json index 534bc9f7a843bb43a280694f1127a2c72fbe6ae4..17a240841947f9fc79c25cdd856ddfc5f2fa18de 100644 --- a/eng/stylecop.json +++ b/eng/stylecop.json @@ -12,7 +12,9 @@ }, "documentationRules": { "documentInterfaces": true, - "documentInternalElements": false + "documentInternalElements": false, + "copyrightText": "Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.", + "xmlHeader": false } } } diff --git a/src/System.Device.Gpio.Tests/RetryHelper.cs b/src/System.Device.Gpio.Tests/RetryHelper.cs index c1c2fd3fb9ce13f51281f6ef7be199bc43409168..131d5e18be8019f7aba0da05bc129b199250bc2e 100644 --- a/src/System.Device.Gpio.Tests/RetryHelper.cs +++ b/src/System.Device.Gpio.Tests/RetryHelper.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Threading; diff --git a/src/System.Device.Gpio.Tests/TimeoutHelper.cs b/src/System.Device.Gpio.Tests/TimeoutHelper.cs index b43c669022f03df5f89764db2dedd68af4e73b94..6699b8cce7f1f2d63fd25027938c1aea9e9893c8 100644 --- a/src/System.Device.Gpio.Tests/TimeoutHelper.cs +++ b/src/System.Device.Gpio.Tests/TimeoutHelper.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information using System.Threading.Tasks; diff --git a/src/System.Device.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs b/src/System.Device.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs index dc35b461708cab41e4af6f19cc3347c78b56cf9d..125bf9d422cc35f092759a0481f3340e1c2f2a2d 100644 --- a/src/System.Device.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs +++ b/src/System.Device.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information // Disable these StyleCop rules for this file, as we are using native names here. #pragma warning disable SA1300 // Element should begin with upper-case letter diff --git a/src/System.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs b/src/System.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs index 6f140a040474310f0639b8a902953cc493fae02d..2680f7df5d00891094dd500d305ea6e48516617d 100644 --- a/src/System.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs +++ b/src/System.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information // Disable these StyleCop rules for this file, as we are using native names here. #pragma warning disable SA1300 // Element should begin with upper-case letter diff --git a/src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs b/src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs index 1f515d3f556102c7de8ba050313b3ce740ae044a..af821231411e6e51ee428e38ec4ebae79ef45f56 100644 --- a/src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs +++ b/src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Threading; diff --git a/src/System.Device.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs b/src/System.Device.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs index 966831ab99b6fd3022df2c06d84b1bd5f4c4dd35..47c59e2601a8e9074867309685f7c6059a3e4ac6 100644 --- a/src/System.Device.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs +++ b/src/System.Device.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs b/src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs index 2fb6c61bc87d8fbc836214913589f012b9b6e71b..ec5f6dcbcc59efd8c74a8d012ba54351109384d8 100644 --- a/src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs +++ b/src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information namespace System.Device.Gpio { diff --git a/src/devices/Arduino/ArduinoI2cBus.cs b/src/devices/Arduino/ArduinoI2cBus.cs index fd11a0d3cd6fab29362b365a3be2c8f612755f05..cb2595d9f14ccf716c19ffa71c731fa3d7464202 100644 --- a/src/devices/Arduino/ArduinoI2cBus.cs +++ b/src/devices/Arduino/ArduinoI2cBus.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Device.I2c; using System.Linq; diff --git a/src/devices/Arduino/CommandError.cs b/src/devices/Arduino/CommandError.cs index 9e889fe3f40e8c05254780bfcd36a90bf8f9520f..d0f619733847926c3601a1e22e766fcdc70dce63 100644 --- a/src/devices/Arduino/CommandError.cs +++ b/src/devices/Arduino/CommandError.cs @@ -1,4 +1,7 @@ -namespace Iot.Device.Arduino +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Iot.Device.Arduino { /// /// Possible results of sending a Firmata command diff --git a/src/devices/Board/CustomBoard.cs b/src/devices/Board/CustomBoard.cs index d5f7d73d76ef88e84285026397e71d02adace27a..95ce5e68d0d21c1b802b6f4b310c2447a0dcd107 100644 --- a/src/devices/Board/CustomBoard.cs +++ b/src/devices/Board/CustomBoard.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Device.Gpio; using System.Device.I2c; diff --git a/src/devices/Board/I2cBusExtensions.cs b/src/devices/Board/I2cBusExtensions.cs index 4f7b0080c8bc53bfa7e349f04614b86690e0c7e7..9f5475fe252e54a31bc64ce359100c0bf87f4973 100644 --- a/src/devices/Board/I2cBusExtensions.cs +++ b/src/devices/Board/I2cBusExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Device.I2c; using System.IO; diff --git a/src/devices/Board/samples/Program.cs b/src/devices/Board/samples/Program.cs index a1e16bf5168deef94e4f35c67d77b5977700d0c8..4c78b01edfaf3d1e61582f38b1ebe1b431015f2f 100644 --- a/src/devices/Board/samples/Program.cs +++ b/src/devices/Board/samples/Program.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Device.Gpio; diff --git a/src/devices/Board/tests/I2cBusManagerTest.cs b/src/devices/Board/tests/I2cBusManagerTest.cs index 9247ad0ae7db7d633b319807fb28a9d4b701dd50..c5945de4b6c4a4163d60cea526f70b86affea95a 100644 --- a/src/devices/Board/tests/I2cBusManagerTest.cs +++ b/src/devices/Board/tests/I2cBusManagerTest.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Device.I2c; using System.Text; diff --git a/src/devices/Board/tests/I2cDummyBus.cs b/src/devices/Board/tests/I2cDummyBus.cs index 42619ed0b8b638187ccd980c5fd0225ef4ad409d..2bdef53ddf8f9b7d35788882b80292efb761fe16 100644 --- a/src/devices/Board/tests/I2cDummyBus.cs +++ b/src/devices/Board/tests/I2cDummyBus.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Device.I2c; using System.Text; diff --git a/src/devices/Card/CardTransceiver.cs b/src/devices/Card/CardTransceiver.cs index a7c4f68fcf56faccb1397d65c4b2a9ae85c2312c..3710708bf565cca0e46a582f4f0aac7c00545035 100644 --- a/src/devices/Card/CardTransceiver.cs +++ b/src/devices/Card/CardTransceiver.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/devices/CharacterLcd/CharacterLcdExtensions.cs b/src/devices/CharacterLcd/CharacterLcdExtensions.cs index be9f2e9e4ba51b8415bba61656495254a7a25f34..889ff410ad8a8f5fcec25e4c8f15e88d038858ae 100644 --- a/src/devices/CharacterLcd/CharacterLcdExtensions.cs +++ b/src/devices/CharacterLcd/CharacterLcdExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/devices/CharacterLcd/LcdValueUnitDisplay.cs b/src/devices/CharacterLcd/LcdValueUnitDisplay.cs index aa8e9680603de82c966a8ed9a0536cb7cc8a010b..02e8456164a97b2fe030f1facb3209252d8a8a55 100644 --- a/src/devices/CharacterLcd/LcdValueUnitDisplay.cs +++ b/src/devices/CharacterLcd/LcdValueUnitDisplay.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/devices/CharacterLcd/samples/LargeValueSample.cs b/src/devices/CharacterLcd/samples/LargeValueSample.cs index 82a88d76511d8886749db340a8b30a03056ace12..b73676c17cff84c186b35dc8e78b0f42cbc15cbf 100644 --- a/src/devices/CharacterLcd/samples/LargeValueSample.cs +++ b/src/devices/CharacterLcd/samples/LargeValueSample.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/devices/CharacterLcd/tests/LcdConsoleTests.cs b/src/devices/CharacterLcd/tests/LcdConsoleTests.cs index 527032825a47c65f6af5606c04b4bd80687b9551..1b482d8a8a44c7bc91281df5640927b5fd799487 100644 --- a/src/devices/CharacterLcd/tests/LcdConsoleTests.cs +++ b/src/devices/CharacterLcd/tests/LcdConsoleTests.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs b/src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs index e607bfc6663f827b801be7a4d314de76830a6291..d8abd9b5549d1359f21de8df475dddab9fd5da1f 100644 --- a/src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs +++ b/src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/src/devices/Charlieplex/CharlieplexSegment.cs b/src/devices/Charlieplex/CharlieplexSegment.cs index 3a6e76951dc61c609672e4a208690cb70193b4ca..bffaf90e03ec122000f37e4c68da461724cd73c8 100644 --- a/src/devices/Charlieplex/CharlieplexSegment.cs +++ b/src/devices/Charlieplex/CharlieplexSegment.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Device.Gpio; using System.Diagnostics; using System.Threading; diff --git a/src/devices/Charlieplex/CharlieplexSegmentNode.cs b/src/devices/Charlieplex/CharlieplexSegmentNode.cs index 4e1e6ab9e921a15d794e0d7869497b29ef2d4459..8be1ade4b156944bfe5f46ae4f58f3ac9e147f02 100644 --- a/src/devices/Charlieplex/CharlieplexSegmentNode.cs +++ b/src/devices/Charlieplex/CharlieplexSegmentNode.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Device.Gpio; using System.Diagnostics; using System.Threading; diff --git a/src/devices/Charlieplex/samples/Program.cs b/src/devices/Charlieplex/samples/Program.cs index eeb47d510a02849264f4e60e42f68b7362c77a6b..0e8ef78f0bf70ee04eb0a1401b7340f0e89499b8 100644 --- a/src/devices/Charlieplex/samples/Program.cs +++ b/src/devices/Charlieplex/samples/Program.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Linq; using System.Threading; using Iot.Device.Multiplexing; diff --git a/src/devices/Charlieplex/tests/CharlieplexLayout.cs b/src/devices/Charlieplex/tests/CharlieplexLayout.cs index 30b334d264795796d995539e2736306eb4555daf..607f06a2acbad1754bd052f52a60686e9dd9eb58 100644 --- a/src/devices/Charlieplex/tests/CharlieplexLayout.cs +++ b/src/devices/Charlieplex/tests/CharlieplexLayout.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using Iot.Device.Multiplexing; using Xunit; diff --git a/src/devices/Common/Iot/Device/Common/ValueArray.cs b/src/devices/Common/Iot/Device/Common/ValueArray.cs index 8544d838dabf70d7b4b3e696dea442a074b1b443..53a418715bf00a9fd4bd0e845b6f3c780dd260d3 100644 --- a/src/devices/Common/Iot/Device/Common/ValueArray.cs +++ b/src/devices/Common/Iot/Device/Common/ValueArray.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/devices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs b/src/devices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs index 38a6dbc3a16c2a277a7c55846631102d191a6c1a..aa3d2ccd00830d8796e8fb6781951da452696138 100644 --- a/src/devices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs +++ b/src/devices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Device.Gpio; diff --git a/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs b/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs index 4a8287beddf621a4b9181009a6965e5a00fb5d38..a5414cd0bac399316caeaae18cbc2ab3ab7fbe21 100644 --- a/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs +++ b/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Threading; using System.Device.Gpio; using Iot.Device.Multiplexing.Utility; diff --git a/src/devices/Common/samples/MyTestComponent.cs b/src/devices/Common/samples/MyTestComponent.cs index 711b3d8389058277955e22227c2ce91e3ddbfcc1..e0f32d281329647a51d8a8a415b883869b1957c9 100644 --- a/src/devices/Common/samples/MyTestComponent.cs +++ b/src/devices/Common/samples/MyTestComponent.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/devices/GoPiGo3/Models/GrovePort.cs b/src/devices/GoPiGo3/Models/GrovePort.cs index 9c092f3634288c14f491d723f3fa82cc2861e02c..97702072e7ab848379bdfc9e0806bbd7174872de 100644 --- a/src/devices/GoPiGo3/Models/GrovePort.cs +++ b/src/devices/GoPiGo3/Models/GrovePort.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/devices/KeyMatrix/KeyMatrix.cs b/src/devices/KeyMatrix/KeyMatrix.cs index d34eabfaa5e97700c3d00f2fe0d9676025810866..6cc5667e11acae31102afb828c55718f19324aad 100644 --- a/src/devices/KeyMatrix/KeyMatrix.cs +++ b/src/devices/KeyMatrix/KeyMatrix.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/devices/KeyMatrix/KeyMatrixEvent.cs b/src/devices/KeyMatrix/KeyMatrixEvent.cs index 35070efb7c5cb58008668c58da010285e1c3fc5b..66686bdbb1b9362bfe2ec535df320535f90b2bf7 100644 --- a/src/devices/KeyMatrix/KeyMatrixEvent.cs +++ b/src/devices/KeyMatrix/KeyMatrixEvent.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System.Device.Gpio; diff --git a/src/devices/KeyMatrix/samples/Program.cs b/src/devices/KeyMatrix/samples/Program.cs index bbe3744255e3d7f2014d04500b532a0fd3643e1c..3d888086a0dedcb3948b2e62176bed05bb290620 100644 --- a/src/devices/KeyMatrix/samples/Program.cs +++ b/src/devices/KeyMatrix/samples/Program.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/devices/Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs b/src/devices/Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs index f57cbf0621c1e2840c1fb2226adb9f50f0a73ab1..2f3ef6d79f8dd85b120553d33b1fd80c17634d1e 100644 --- a/src/devices/Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs +++ b/src/devices/Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs @@ -1,4 +1,5 @@ -// The .NET Foundation licenses this file to you under the MIT license. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Iot.Device.Mcp25xxx.Register; using Iot.Device.Mcp25xxx.Register.AcceptanceFilter; diff --git a/src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs b/src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs index a3054fa135bbc7863e14c04b512a879f472a1fd9..e2a4bc18d501adb1378eb85e2c96bd4aee097228 100644 --- a/src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs +++ b/src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Drawing; diff --git a/src/devices/Media/VideoDevice/samples/MjpegStream/Controllers/Image.cs b/src/devices/Media/VideoDevice/samples/MjpegStream/Controllers/Image.cs index 94c2835298e7c42d9000b45fa8c6063eda9ed549..e39726b8bee02be82394cba1634ec6bf8fd017c7 100644 --- a/src/devices/Media/VideoDevice/samples/MjpegStream/Controllers/Image.cs +++ b/src/devices/Media/VideoDevice/samples/MjpegStream/Controllers/Image.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Buffers; diff --git a/src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs b/src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs index 47d5ae44c172b4d5074b57dbe1fc4173346facdf..f953bfdfac740279df1a9f011e36af828087b9e1 100644 --- a/src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs +++ b/src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.IO; diff --git a/src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs b/src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs index ce878a2f388337295d44673796428e6fcc4507da..b73b9a9b581589c3d90d00bbcc8d61b007f6aa06 100644 --- a/src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs +++ b/src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; diff --git a/src/devices/Nmea0183/Identification.Extra.cs b/src/devices/Nmea0183/Identification.Extra.cs index 3b649b8e2c6b8df9563058091a3a07fc3f9d6134..2f4b7222cd38706ef1aa4febf5b948b226f21e0c 100644 --- a/src/devices/Nmea0183/Identification.Extra.cs +++ b/src/devices/Nmea0183/Identification.Extra.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Iot.Device.Nmea0183 { diff --git a/src/devices/Nmea0183/Sentences/NavigationStatus.cs b/src/devices/Nmea0183/Sentences/NavigationStatus.cs index 743ea801f4436ad549de53fa1537786ae5341e0a..4f4efe02931170ad20ae4139a3ed6ce7f8685ba6 100644 --- a/src/devices/Nmea0183/Sentences/NavigationStatus.cs +++ b/src/devices/Nmea0183/Sentences/NavigationStatus.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/devices/Nmea0183/Sentences/RotationSource.cs b/src/devices/Nmea0183/Sentences/RotationSource.cs index bf77d761edd9b0d3cac5fac35732dcb17217c05e..a57cbb2bf3adaea5c4fdd7eef665eb78e7ce1198 100644 --- a/src/devices/Nmea0183/Sentences/RotationSource.cs +++ b/src/devices/Nmea0183/Sentences/RotationSource.cs @@ -1,4 +1,7 @@ -namespace Iot.Device.Nmea0183.Sentences +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Iot.Device.Nmea0183.Sentences { /// /// Source for the engine revolution data diff --git a/src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs b/src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs index b7927d7274c82c223f41d57f8e093b6eab994f27..df8d72a9c21cfafa39973d97f4e342160e46d4b1 100644 --- a/src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs +++ b/src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.IO.Ports; diff --git a/src/devices/PiJuice/Models/BatteryChargingTemperatureFault.cs b/src/devices/PiJuice/Models/BatteryChargingTemperatureFault.cs index 89c4933c3d26714ffc6f8af4a5fb1e06b0bc2c98..cf9b4d7696fae0455a0a8d504455faa1551a6661 100644 --- a/src/devices/PiJuice/Models/BatteryChargingTemperatureFault.cs +++ b/src/devices/PiJuice/Models/BatteryChargingTemperatureFault.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/BatteryChemistry.cs b/src/devices/PiJuice/Models/BatteryChemistry.cs index 07f30124f0ae0d30886d938058f2b1785370d3d0..181dc193e79a310d3b8f537f1969b34b503b51fb 100644 --- a/src/devices/PiJuice/Models/BatteryChemistry.cs +++ b/src/devices/PiJuice/Models/BatteryChemistry.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/BatteryExtendedProfile.cs b/src/devices/PiJuice/Models/BatteryExtendedProfile.cs index 3db3c3d82a2d4570b022f058da6b10f0229d44f5..c70fc670e3f941e7fb39a25337633c343d920c8b 100644 --- a/src/devices/PiJuice/Models/BatteryExtendedProfile.cs +++ b/src/devices/PiJuice/Models/BatteryExtendedProfile.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using UnitsNet; diff --git a/src/devices/PiJuice/Models/BatteryOrigin.cs b/src/devices/PiJuice/Models/BatteryOrigin.cs index c6b1a3f5b603a62055e824203e70d03e116f128f..0fd1df5496881b1c31f0b14eef401b14f93a7fac 100644 --- a/src/devices/PiJuice/Models/BatteryOrigin.cs +++ b/src/devices/PiJuice/Models/BatteryOrigin.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/BatteryProfile.cs b/src/devices/PiJuice/Models/BatteryProfile.cs index 9c1788e634273e3101c53ae5ef950eda0596b91f..922b38c7562e57ea3491da19f0742eba4cff83c3 100644 --- a/src/devices/PiJuice/Models/BatteryProfile.cs +++ b/src/devices/PiJuice/Models/BatteryProfile.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using UnitsNet; diff --git a/src/devices/PiJuice/Models/BatteryProfileSource.cs b/src/devices/PiJuice/Models/BatteryProfileSource.cs index 10f08a7364e832c3ba4cfed896172f328f9949ec..6cb5d7ae458498b920f7b5e16b7b0ab02a3a509a 100644 --- a/src/devices/PiJuice/Models/BatteryProfileSource.cs +++ b/src/devices/PiJuice/Models/BatteryProfileSource.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/BatteryProfileStatus.cs b/src/devices/PiJuice/Models/BatteryProfileStatus.cs index a41ccceb519169649e7e262261c28adc0dc3ed4d..07283e2b3c0b2a2369337f856868e16be3562bc1 100644 --- a/src/devices/PiJuice/Models/BatteryProfileStatus.cs +++ b/src/devices/PiJuice/Models/BatteryProfileStatus.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. #pragma warning disable CS1591, CS1572, CS1573 diff --git a/src/devices/PiJuice/Models/BatteryState.cs b/src/devices/PiJuice/Models/BatteryState.cs index cab5903c773ea5c1baaef17fafbd24542161c518..0638d3e5ba4c358c793ed3b82a6736b1cfde1ac0 100644 --- a/src/devices/PiJuice/Models/BatteryState.cs +++ b/src/devices/PiJuice/Models/BatteryState.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/BatteryTemperatureSense.cs b/src/devices/PiJuice/Models/BatteryTemperatureSense.cs index c7dafc6f328df6f0b3dfe2d759ae83a678cfd3c0..944e4e6aebfb7339a81e7ec6e1c6d1e7b4b14aa8 100644 --- a/src/devices/PiJuice/Models/BatteryTemperatureSense.cs +++ b/src/devices/PiJuice/Models/BatteryTemperatureSense.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/Button.cs b/src/devices/PiJuice/Models/Button.cs index a3a1c1d71d43436c398f26331aa7bc07cb6ad6b8..fb629690aac51ee57e10e780a6d4a344e2e1e7f8 100644 --- a/src/devices/PiJuice/Models/Button.cs +++ b/src/devices/PiJuice/Models/Button.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/ButtonEventType.cs b/src/devices/PiJuice/Models/ButtonEventType.cs index 3db4f0170fe0d0bc9a262575f75ca95202eecf36..292df42bd7a98b1bde12fb15423a428245265259 100644 --- a/src/devices/PiJuice/Models/ButtonEventType.cs +++ b/src/devices/PiJuice/Models/ButtonEventType.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/ChargingConfig.cs b/src/devices/PiJuice/Models/ChargingConfig.cs index 739b35e9a508c36292d4b0acaafce47b118034e2..c50dde0eb00f5dce5da2e3b604e070f603787585 100644 --- a/src/devices/PiJuice/Models/ChargingConfig.cs +++ b/src/devices/PiJuice/Models/ChargingConfig.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. #pragma warning disable CS1591, CS1572, CS1573 diff --git a/src/devices/PiJuice/Models/FaultStatus.cs b/src/devices/PiJuice/Models/FaultStatus.cs index fbc13f70b54b935ed005890df568cdadad3ef80c..42012e3ee7c67a407889ddd37eb61be3f4c39106 100644 --- a/src/devices/PiJuice/Models/FaultStatus.cs +++ b/src/devices/PiJuice/Models/FaultStatus.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. #pragma warning disable CS1591, CS1572, CS1573 diff --git a/src/devices/PiJuice/Models/IdEepromAddress.cs b/src/devices/PiJuice/Models/IdEepromAddress.cs index 4d59c19a1e6fc03bc0e83d300ecd2df158b0c228..7edf621d433ccf67a8ae315df1957a40e0cd0506 100644 --- a/src/devices/PiJuice/Models/IdEepromAddress.cs +++ b/src/devices/PiJuice/Models/IdEepromAddress.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/LED.cs b/src/devices/PiJuice/Models/LED.cs index 66118dba460f6421c764eeffb6ea5a8c4988cba9..0077627d0902dc7e26482a0638c6e11be94ab26c 100644 --- a/src/devices/PiJuice/Models/LED.cs +++ b/src/devices/PiJuice/Models/LED.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/LEDBlink.cs b/src/devices/PiJuice/Models/LEDBlink.cs index 2463d3a6b0775d1c0f397a9a667e35c41cefaffa..5576f5e16083216ad3060fd49ca089f67bc5e91a 100644 --- a/src/devices/PiJuice/Models/LEDBlink.cs +++ b/src/devices/PiJuice/Models/LEDBlink.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Drawing; diff --git a/src/devices/PiJuice/Models/LEDConfig.cs b/src/devices/PiJuice/Models/LEDConfig.cs index a79c2bfadb317da717cdce497dd6d5068c514569..494fc5016a7d9ff31aa7c133d734a31e88fc2b85 100644 --- a/src/devices/PiJuice/Models/LEDConfig.cs +++ b/src/devices/PiJuice/Models/LEDConfig.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System.Drawing; diff --git a/src/devices/PiJuice/Models/LEDFunction.cs b/src/devices/PiJuice/Models/LEDFunction.cs index 0690be612540530f1af57eca528c4961cea43d0f..cffe0007ba0c2dc9d971558ab54afb20cd8b89bb 100644 --- a/src/devices/PiJuice/Models/LEDFunction.cs +++ b/src/devices/PiJuice/Models/LEDFunction.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/PiJuiceCommand.cs b/src/devices/PiJuice/Models/PiJuiceCommand.cs index e17bab2a8492a2df71da12f549e5dd0f9c271012..3c4579551ad79ab11f882c0e32f7a8f3cf084143 100644 --- a/src/devices/PiJuice/Models/PiJuiceCommand.cs +++ b/src/devices/PiJuice/Models/PiJuiceCommand.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/PiJuiceInfo.cs b/src/devices/PiJuice/Models/PiJuiceInfo.cs index c7b821a746fe4c05202f3aac1fdbf0f935fda9e3..ea6120fe502b0a4fb309ec74ec81279d620bfa47 100644 --- a/src/devices/PiJuice/Models/PiJuiceInfo.cs +++ b/src/devices/PiJuice/Models/PiJuiceInfo.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; diff --git a/src/devices/PiJuice/Models/PowerInState.cs b/src/devices/PiJuice/Models/PowerInState.cs index 55601451b7849428f8b5f145cca145f6f805a34e..cf1e61211cf68d0883616ba883a3cf392b94a822 100644 --- a/src/devices/PiJuice/Models/PowerInState.cs +++ b/src/devices/PiJuice/Models/PowerInState.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/PowerInput.cs b/src/devices/PiJuice/Models/PowerInput.cs index 2ca4352cb3832a867dcfdb072531d4f317e4163a..9c587b9824133fbd544ed2899a6926351b2e0fcf 100644 --- a/src/devices/PiJuice/Models/PowerInput.cs +++ b/src/devices/PiJuice/Models/PowerInput.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using UnitsNet; diff --git a/src/devices/PiJuice/Models/PowerInputType.cs b/src/devices/PiJuice/Models/PowerInputType.cs index 0f7e04ca6e9e9b4df3d69b2950ad7aa85dc0cc97..27f45304c18e383abb7188fc59f6fac77fc94f47 100644 --- a/src/devices/PiJuice/Models/PowerInputType.cs +++ b/src/devices/PiJuice/Models/PowerInputType.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/PowerRegulatorMode.cs b/src/devices/PiJuice/Models/PowerRegulatorMode.cs index 4e67a0a60440d7bf162fe245c448a4e1e8386c70..a315b702803e8ddbcaf32af99fab6316e791f0af 100644 --- a/src/devices/PiJuice/Models/PowerRegulatorMode.cs +++ b/src/devices/PiJuice/Models/PowerRegulatorMode.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/RelativeStateOfChangeEstimationType.cs b/src/devices/PiJuice/Models/RelativeStateOfChangeEstimationType.cs index 65e741c4605adbce2e12fbf94ca1f7449f8cb83d..11e4b86aabed970a8150cc619737cd4929bd8c2a 100644 --- a/src/devices/PiJuice/Models/RelativeStateOfChangeEstimationType.cs +++ b/src/devices/PiJuice/Models/RelativeStateOfChangeEstimationType.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/RunPin.cs b/src/devices/PiJuice/Models/RunPin.cs index bb6f07dae1f1b8dff1ff195618406c44f0a1b58e..6dc2fadee6bc06b8f83de5d423388e418250a359 100644 --- a/src/devices/PiJuice/Models/RunPin.cs +++ b/src/devices/PiJuice/Models/RunPin.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/Status.cs b/src/devices/PiJuice/Models/Status.cs index 13ca4b80b732114dfe41bb5f0d0ace1b77de8a0f..f35e9fe51c7589c3d7e53216ee9b42b8fb18b796 100644 --- a/src/devices/PiJuice/Models/Status.cs +++ b/src/devices/PiJuice/Models/Status.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. #pragma warning disable CS1591, CS1572, CS1573 diff --git a/src/devices/PiJuice/Models/SystemPowerSwitch.cs b/src/devices/PiJuice/Models/SystemPowerSwitch.cs index 24508a653052c0c4dbae43b902df130c2d8feb26..049c7e65dffbbdad8f9ce2c3cec873ba86c3e2d8 100644 --- a/src/devices/PiJuice/Models/SystemPowerSwitch.cs +++ b/src/devices/PiJuice/Models/SystemPowerSwitch.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Iot.Device.PiJuiceDevice.Models { diff --git a/src/devices/PiJuice/Models/WakeUpOnCharge.cs b/src/devices/PiJuice/Models/WakeUpOnCharge.cs index 406312b02a50e9844a678c17d17a75a21806f804..f9ee27ca756203fa5284983a803679bab7570b2d 100644 --- a/src/devices/PiJuice/Models/WakeUpOnCharge.cs +++ b/src/devices/PiJuice/Models/WakeUpOnCharge.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using UnitsNet; diff --git a/src/devices/PiJuice/PiJuice.cs b/src/devices/PiJuice/PiJuice.cs index 252c59852442db6d0b97dc3bb88b4e88a6764548..8fe513d29433c0aa6ebacae59996e7b7f85b7c6e 100644 --- a/src/devices/PiJuice/PiJuice.cs +++ b/src/devices/PiJuice/PiJuice.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Device; diff --git a/src/devices/PiJuice/PiJuiceConfig.cs b/src/devices/PiJuice/PiJuiceConfig.cs index 8e1269804f1e70eed4fc930bd4d38ff7e85afe5c..4246f426266acee487ea2374ee6aeea005f921f1 100644 --- a/src/devices/PiJuice/PiJuiceConfig.cs +++ b/src/devices/PiJuice/PiJuiceConfig.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Buffers.Binary; diff --git a/src/devices/PiJuice/PiJuicePower.cs b/src/devices/PiJuice/PiJuicePower.cs index 27f134561b0e5cab2dba4b7281259c0c2e1ecec3..67f54895e9f26f13b6479b0e859bcba568936a20 100644 --- a/src/devices/PiJuice/PiJuicePower.cs +++ b/src/devices/PiJuice/PiJuicePower.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Buffers.Binary; diff --git a/src/devices/PiJuice/PiJuiceStatus.cs b/src/devices/PiJuice/PiJuiceStatus.cs index 8cd7aadbf0417244a72e26134bb97290a93dd34e..afb5e3847053208c867f4eef5ce8bfa48362ded2 100644 --- a/src/devices/PiJuice/PiJuiceStatus.cs +++ b/src/devices/PiJuice/PiJuiceStatus.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Buffers.Binary; diff --git a/src/devices/PiJuice/samples/PiJuiceDevice.sample.cs b/src/devices/PiJuice/samples/PiJuiceDevice.sample.cs index 045d3ad8b3f9df1810afc63e1a995ad2c3b21d2d..f69f8b8f68240e20940645a9d978c6ef3ab078f8 100644 --- a/src/devices/PiJuice/samples/PiJuiceDevice.sample.cs +++ b/src/devices/PiJuice/samples/PiJuiceDevice.sample.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Device.I2c; using System.Threading; using Iot.Device.PiJuiceDevice; diff --git a/src/devices/Ssd13xx/samples/Ssd1306Extensions.cs b/src/devices/Ssd13xx/samples/Ssd1306Extensions.cs index 5817021739da0197ec5bbe314131143badb53ba9..c27a9f1bfd38a35cd13f134c9e469ad7461e7c45 100644 --- a/src/devices/Ssd13xx/samples/Ssd1306Extensions.cs +++ b/src/devices/Ssd13xx/samples/Ssd1306Extensions.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Linq; using System.Collections.Generic; using SixLabors.ImageSharp; diff --git a/src/devices/Tlc1543/samples/Tlc1543.Sample.cs b/src/devices/Tlc1543/samples/Tlc1543.Sample.cs index 5f50b01db20950e702f421fed9f185ed5e2d5d31..8466327f32b6200ab9bec57233b4814787a0cbbe 100644 --- a/src/devices/Tlc1543/samples/Tlc1543.Sample.cs +++ b/src/devices/Tlc1543/samples/Tlc1543.Sample.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/devices/UFireIse/UFireIse.cs b/src/devices/UFireIse/UFireIse.cs index f2314fd64deb9dedcfcda18b641c8f2ac1e8897b..6f7eb35b1e201f032a886a95d3ee2f62163105cd 100644 --- a/src/devices/UFireIse/UFireIse.cs +++ b/src/devices/UFireIse/UFireIse.cs @@ -1,4 +1,4 @@ -// Licensed to the.NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/devices/UFireIse/UFireOrp.cs b/src/devices/UFireIse/UFireOrp.cs index 5595768b44f7b1942adf3c61cca1af9c03237bae..62daf997bbfd218ee11c91abf18b39d30772f024 100644 --- a/src/devices/UFireIse/UFireOrp.cs +++ b/src/devices/UFireIse/UFireOrp.cs @@ -1,4 +1,4 @@ -// Licensed to the.NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Device.I2c; diff --git a/src/devices/Uln2003/StepperMode.cs b/src/devices/Uln2003/StepperMode.cs index f84f10d99326e07d58a8c9cd759a9fe6886f1098..77fda592b6c37f73ece48055fce96c8deaa5130e 100644 --- a/src/devices/Uln2003/StepperMode.cs +++ b/src/devices/Uln2003/StepperMode.cs @@ -1,4 +1,7 @@ -namespace Iot.Device.Uln2003 +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Iot.Device.Uln2003 { /// /// The 28BYJ-48 motor has 512 full engine rotations to rotate the drive shaft once. diff --git a/src/devices/Uln2003/Uln2003.cs b/src/devices/Uln2003/Uln2003.cs index db3a6de439bdda01e54280121d9bf436b447f57c..c72d8c7026db5ac0bc200ab87f87526f24a3babf 100644 --- a/src/devices/Uln2003/Uln2003.cs +++ b/src/devices/Uln2003/Uln2003.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Device.Gpio; using System.Diagnostics;