Skip to content

Commit

Permalink
Another code reorganization #8
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Aug 26, 2021
1 parent f65dcd7 commit 030b8a5
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@
<PackageReference Include="System.Management.Automation" Version="7.1.4" />
</ItemGroup>

<ItemGroup>
<Folder Include="PowerShell\Providers\" />
</ItemGroup>

</Project>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HoubyStudio.LazyAdmin.DesktopApp.PowerShell.Services
{
/// <summary>
/// PowerShell service interface
/// </summary>
interface IPowerShellService
{

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

namespace HoubyStudio.LazyAdmin.DesktopApp.PowerShell.Services
{
/// <summary>
/// PowerShell service creates and manages powershell instances, sends data to WebView and receives data from WebView.
/// </summary>
public class PowerShellService : IPowerShellService
{
/// <summary>
/// Initializes a new instance of the <see cref="PowerShellService"/> class.
/// </summary>
public PowerShellService()
{
#region Members
#endregion //Members

#region Constructors
#endregion //Constructors

#region Public Methods
#endregion //Public Methods

#region Private Methods
#endregion //Private Methods
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using Microsoft.Web.WebView2.Wpf;

namespace HoubyStudio.LazyAdmin.DesktopApp.Web.Services
{
interface IWebViewService
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
using System.Text;
using System.Threading.Tasks;

namespace HoubyStudio.LazyAdmin.DesktopApp.Models
namespace HoubyStudio.LazyAdmin.DesktopApp.Web.Services
{
class PowerShellManager
class WebViewService
{

}
}

0 comments on commit 030b8a5

Please sign in to comment.