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:
@ -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"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user