AddOqtaneParts -> AddOqtane

This commit is contained in:
hishamco 2020-09-29 18:03:24 +03:00
parent 396d584615
commit ec73c958c9
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ namespace Microsoft.Extensions.DependencyInjection
{
private static readonly string StalliteAssemblyExtension = ".resources.dll";
public static IServiceCollection AddOqtaneParts(this IServiceCollection services, Runtime runtime)
public static IServiceCollection AddOqtane(this IServiceCollection services, Runtime runtime)
{
LoadAssemblies();
LoadSatelliteAssemblies();

View File

@ -197,7 +197,7 @@ namespace Oqtane
services.AddTransient<IUpgradeManager, UpgradeManager>();
// load the external assemblies into the app domain, install services
services.AddOqtaneParts(_runtime);
services.AddOqtane(_runtime);
services.AddMvc()
.AddNewtonsoftJson()