Skip to content

Commit 8fd9b86

Browse files
Fix namespaces (#145)
* refactor: update namespaces for netdaemon.app This changes the root namespace of the NetDaemon.App project to NetDaemon. All classes in NetDaemon.App now have a correct (and corresponding) namespace. BREAKING CHANGE: several classes now have a different namespace * refactor: update namespaces for netdaemon.daemon This changes the root namespace of the NetDaemon.Daemon project to NetDaemon. All classes in NetDaemon.Daemon now have a correct (and corresponding) namespace. BREAKING CHANGE: several classes now have a different namespace * refactor: update namespaces for daemonrunner This changes the root namespace of the DaemonRunner project to NetDaemon. All classes in DaemonRunner now have a correct (and corresponding) namespace. BREAKING CHANGE: several classes now have a different namespace * refactor: rename demon namespace to daemon * refactor: rename incorrect namespaces in tests Co-authored-by: Tomas Hellström <[email protected]>
1 parent 48d214d commit 8fd9b86

File tree

87 files changed

+923
-912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+923
-912
lines changed

src/App/NetDaemon.App/Common/AppRuntimeInfo.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
using System;
32
using System.Collections.Generic;
43
using System.Text.Json.Serialization;
54

6-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
5+
namespace NetDaemon.Common
76
{
87
/// <summary>
98
/// Runtime information an app instance. The app instance is a switch in

src/App/NetDaemon.App/Common/Attributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Collections.Generic;
22

3-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
3+
namespace NetDaemon.Common
44
{
55
/// <summary>
66
/// Type of log to supress

src/App/NetDaemon.App/Common/DelayResult.cs

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

55
[assembly: InternalsVisibleTo("NetDaemon.Daemon.Tests")]
66

7-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
7+
namespace NetDaemon.Common
88
{
99
/// <summary>
1010
/// A class that implements the management of delays and cancel them

src/App/NetDaemon.App/Common/ExtensionMethods.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using System.Collections;
21
using System.Collections.Generic;
32
using System.ComponentModel;
43
using System.Dynamic;
54
using System.Globalization;
65
using System.Text;
6+
using NetDaemon.Common.Fluent;
77

8-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
8+
namespace NetDaemon.Common
99
{
1010
/// <summary>
1111
/// Useful extension methods used

src/App/NetDaemon.App/Common/Fluent/EntityBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Collections.Generic;
44
using System.Threading.Tasks;
55

6-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
6+
namespace NetDaemon.Common.Fluent
77
{
88
/// <summary>
99
/// Base class for entity fluent types

src/App/NetDaemon.App/Common/Fluent/EntityManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using Microsoft.Extensions.Logging;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
43
using System.Linq;
54
using System.Threading.Tasks;
5+
using Microsoft.Extensions.Logging;
66

7-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
7+
namespace NetDaemon.Common.Fluent
88
{
99
/// <summary>
1010
/// Implements interface for managing entities in the fluent API

src/App/NetDaemon.App/Common/Fluent/Fluent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Threading.Tasks;
44

5-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
5+
namespace NetDaemon.Common.Fluent
66
{
77
internal enum FluentActionType
88
{

src/App/NetDaemon.App/Common/Fluent/FluentAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Collections.Generic;
22

3-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
3+
namespace NetDaemon.Common.Fluent
44
{
55
/// <summary>
66
/// Represents data about an action in a fluent API

src/App/NetDaemon.App/Common/Fluent/FluentCamera.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Threading.Tasks;
44

5-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
5+
namespace NetDaemon.Common.Fluent
66
{
77
/// <summary>
88
/// Generic interface for DisableMotionDetection

src/App/NetDaemon.App/Common/Fluent/FluentEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Threading.Tasks;
44

5-
namespace JoySoftware.HomeAssistant.NetDaemon.Common
5+
namespace NetDaemon.Common.Fluent
66
{
77
/// <summary>
88
/// Handles events in fluent API

0 commit comments

Comments
 (0)