rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed (#343)

* upgrade to .NET Core 3.2 Preview 3 and fixes for issues created by #314

* Components based on Bootstrap4 for Sections and  TabStrip to increase productivity and promote uniformity in Module UIs

* rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed
This commit is contained in:
Shaun Walker
2020-04-05 14:39:08 -04:00
committed by GitHub
parent 05de65d3a0
commit 02fde9cec3
43 changed files with 91 additions and 141 deletions

View File

@ -1,22 +1,15 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Modules.Admin.ModuleCreator
{
public class Module : IModule
{
public Dictionary<string, string> Properties
public ModuleDefinition ModuleDefinition => new ModuleDefinition
{
get
{
Dictionary<string, string> properties = new Dictionary<string, string>
{
{ "Name", "Module Creator" },
{ "Description", "Enables software developers to quickly create modules by automating many of the initial module creation tasks" },
{ "Version", "1.0.0" },
{ "Categories", "Developer" }
};
return properties;
}
}
Name = "Module Creator",
Description = "Enables software developers to quickly create modules by automating many of the initial module creation tasks",
Version = "1.0.0",
Categories = "Developer"
};
}
}

View File

@ -1,22 +1,16 @@
using System.Collections.Generic;
using Oqtane.Models;
using Oqtane.Modules;
namespace Oqtane.Modules.[Module]s
{
public class Module : IModule
{
public Dictionary<string, string> Properties
public ModuleDefinition ModuleDefinition => new ModuleDefinition
{
get
{
Dictionary<string, string> properties = new Dictionary<string, string>
{
{ "Name", "[Module]" },
{ "Description", "[Module]" },
{ "Version", "1.0.0" },
{ "ServerAssemblyName", "Oqtane.Server" }
};
return properties;
}
}
Name = "[Module]",
Description = "[Module]",
Version = "1.0.0",
ServerAssemblyName = "Oqtane.Server"
};
}
}

View File

@ -5,7 +5,7 @@ using Oqtane.Repository.[Module]s;
using Oqtane.Shared;
using System.Collections.Generic;
using Oqtane.Enums;
using Oqtane.Infrastructure.Interfaces;
using Oqtane.Infrastructure;
namespace Oqtane.Controllers.[Module]s
{