Skip to content

Commit c46fa84

Browse files
committed
Clean code.
1 parent d544527 commit c46fa84

31 files changed

+130
-498
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<LangVersion>10.0</LangVersion>
44
<OutputPath>..\..\..\packages</OutputPath>
5-
<BotSharpVersion>0.14.7</BotSharpVersion>
5+
<BotSharpVersion>0.14.8</BotSharpVersion>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77
</PropertyGroup>
88
</Project>

src/Infrastructure/BotSharp.Abstraction/Routing/IRoutingHandler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using BotSharp.Abstraction.Functions.Models;
2+
using BotSharp.Abstraction.Models;
23

34
namespace BotSharp.Abstraction.Routing;
45

@@ -8,7 +9,7 @@ public interface IRoutingHandler
89
string Description { get; }
910
bool IsReasoning { get => false; }
1011
bool Enabled { get => true; }
11-
List<string> Parameters { get => new List<string>(); }
12+
List<NameDesc> Parameters { get => new List<NameDesc>(); }
1213

1314
void SetRouter(Agent router) { }
1415

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
using BotSharp.Abstraction.Models;
2+
13
namespace BotSharp.Abstraction.Routing.Models;
24

35
public class RoutingHandlerDef
46
{
57
public string Name { get; set; }
68
public string Description { get; set; }
7-
public List<string> Parameters { get; set; }
9+
public List<NameDesc> Parameters { get; set; }
810
}

src/Infrastructure/BotSharp.Core/Accounts/AccountController.cs

Lines changed: 0 additions & 87 deletions
This file was deleted.

src/Infrastructure/BotSharp.Core/Accounts/AccountCore.cs

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/Infrastructure/BotSharp.Core/Accounts/AccountDbInitializer.cs

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/Infrastructure/BotSharp.Core/Accounts/User.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/Infrastructure/BotSharp.Core/Accounts/UserAuth.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/Infrastructure/BotSharp.Core/Accounts/VmUser.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/Infrastructure/BotSharp.Core/Accounts/VmUserLogin.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)