Skip to content

Commit 4818aab

Browse files
authored
Rename namespace for coherence (#6)
1 parent 128805a commit 4818aab

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

System.Device.UsbStream/System.Device.UsbStream.nfproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
<OutputType>Library</OutputType>
1414
<AppDesignerFolder>Properties</AppDesignerFolder>
1515
<FileAlignment>512</FileAlignment>
16-
<RootNamespace>System.Device.UsbStream</RootNamespace>
16+
<RootNamespace>System.Device.Usb</RootNamespace>
1717
<AssemblyName>System.Device.UsbStream</AssemblyName>
1818
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
1919
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
2020
<DocumentationFile>bin\$(Configuration)\System.Device.UsbStream.xml</DocumentationFile>
21-
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
21+
<StyleCopTreatErrorsAsWarnings>true</StyleCopTreatErrorsAsWarnings>
2222
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
2323
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
2424
</PropertyGroup>

System.Device.UsbStream/UsbStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Runtime.CompilerServices;
66
using System.Threading;
77

8-
namespace System.Device.UsbClient
8+
namespace System.Device.Usb
99
{
1010
/// <summary>
1111
/// Initializes a new instance of the <see cref="UsbStream"/> class.

UsbClient/DeviceConnectionEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation and Contributors
22
// See LICENSE file in the project root for full license information.
33

4-
namespace System.Device.UsbClient
4+
namespace System.Device.Usb
55
{
66
/// <summary>
77
/// Contains argument values for USB device connection events.

UsbClient/UsbClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Runtime.CompilerServices;
55
using nanoFramework.Runtime.Events;
66

7-
namespace System.Device.UsbClient
7+
namespace System.Device.Usb
88
{
99
/// <summary>
1010
/// Indicates a change in the connection state of the USB device.

UsbClient/UsbClient.projitems

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<SharedGUID>76acbab1-8046-4792-8ff7-0c7f007f1df3</SharedGUID>
77
</PropertyGroup>
88
<PropertyGroup Label="Configuration">
9-
<Import_RootNamespace>System.Device.UsbClient</Import_RootNamespace>
9+
<Import_RootNamespace>System.Device.Usb</Import_RootNamespace>
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<Compile Include="$(MSBuildThisFileDirectory)UsbDeviceEvent.cs" />

UsbClient/UsbDeviceEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using nanoFramework.Runtime.Events;
55

6-
namespace System.Device.UsbClient
6+
namespace System.Device.Usb
77
{
88
internal class UsbDeviceEvent : BaseEvent
99
{

UsbClient/UsbEventType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation and Contributors
22
// See LICENSE file in the project root for full license information.
33

4-
namespace System.Device.UsbClient
4+
namespace System.Device.Usb
55
{
66
internal enum UsbEventType : byte
77
{

0 commit comments

Comments
 (0)