Skip to content

Commit 067d064

Browse files
committed
调整routing项目名称 。 重命名命名空间。
1 parent 17db70d commit 067d064

25 files changed

+36
-42
lines changed

ExampleServer/MqttControllers/CatchAllController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.Extensions.Logging;
2-
using MQTTnet.AspNetCore.AttributeRouting;
2+
using MQTTnet.AspNetCore.Routing;
33
using System.Threading.Tasks;
44

55
namespace ExampleServer.MqttControllers

ExampleServer/MqttControllers/MqttWeatherForecastController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Extensions.Logging;
22
using MQTTnet;
3-
using MQTTnet.AspNetCore.AttributeRouting;
3+
using MQTTnet.AspNetCore.Routing;
44
using System;
55
using System.Threading.Tasks;
66

ExampleServer/MqttControllers/ParamMqttWeatherForecastController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Extensions.Logging;
22
using MQTTnet;
3-
using MQTTnet.AspNetCore.AttributeRouting;
3+
using MQTTnet.AspNetCore.Routing;
44
using System;
55
using System.Threading.Tasks;
66

ExampleServer/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.Extensions.DependencyInjection;
66
using Microsoft.Extensions.Hosting;
77
using MQTTnet.AspNetCore;
8-
using MQTTnet.AspNetCore.AttributeRouting;
8+
using MQTTnet.AspNetCore.Routing;
99
using MQTTnet.Server;
1010

1111
namespace Example

Source/Attributes/MqttControllerAttribute.cs

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

66
using System;
77

8-
namespace MQTTnet.AspNetCore.AttributeRouting
8+
namespace MQTTnet.AspNetCore.Routing
99
{
1010
/// <summary>
1111
/// Indicates that a type and all derived types are used to serve MQTT responses.

Source/Attributes/MqttControllerContextAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using MQTTnet.Server;
33

4-
namespace MQTTnet.AspNetCore.AttributeRouting.Attributes
4+
namespace MQTTnet.AspNetCore.Routing.Attributes
55
{
66
/// <summary>
77
/// When creating a custom controller that does not inherit from <see cref="MqttBaseController"/>, this attribute

Source/Attributes/MqttRouteAttribute.cs

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

66
using System;
77

8-
namespace MQTTnet.AspNetCore.AttributeRouting
8+
namespace MQTTnet.AspNetCore.Routing
99
{
1010
/// <summary>
1111
/// Specifies an attribute route on a controller.

Source/Constraints/OptionalTypeRouteConstraint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt
22
// in the project root for license information. // Modifications Copyright (c) Atlas Lift Tech Inc.
33

4-
namespace MQTTnet.AspNetCore.AttributeRouting
4+
namespace MQTTnet.AspNetCore.Routing
55
{
66
/// <summary>
77
/// A route constraint that allows the value to be null or parseable as the specified type.

Source/Constraints/RouteConstraint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.Collections.Concurrent;
88
using System.Globalization;
99

10-
namespace MQTTnet.AspNetCore.AttributeRouting
10+
namespace MQTTnet.AspNetCore.Routing
1111
{
1212
internal abstract class RouteConstraint
1313
{

Source/Constraints/TypeRouteConstraint.cs

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

44
// Modifications Copyright (c) Atlas Lift Tech Inc. All rights reserved.
55

6-
namespace MQTTnet.AspNetCore.AttributeRouting
6+
namespace MQTTnet.AspNetCore.Routing
77
{
88
/// <summary>
99
/// A route constraint that requires the value to be parseable as a specified type.

0 commit comments

Comments
 (0)