last works on content ...
This commit is contained in:
+34
-17
@@ -1,21 +1,25 @@
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using xCommons.Extensions;
|
||||
using xContentService.Constants;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xContentService.Providers.Entities;
|
||||
using xDataService.Constants;
|
||||
using xDataService.Models;
|
||||
using System;
|
||||
using xPushService.DI;
|
||||
using xDataService.DI;
|
||||
using xPushService.Helpers;
|
||||
using System;
|
||||
using xExceptions.Constants;
|
||||
using xContentService.Helpers;
|
||||
using xCommons.Helpers;
|
||||
using xContentService.Interfaces.Dtos;
|
||||
using xContentService.Interfaces.Entities;
|
||||
using xDataService.Db;
|
||||
using xCommons.Helpers;
|
||||
using xDataService.Models;
|
||||
using xCommons.Extensions;
|
||||
using xPushService.Helpers;
|
||||
using xExceptions.Constants;
|
||||
using xDataService.Constants;
|
||||
using xContentService.Helpers;
|
||||
using xContentService.Constants;
|
||||
using xContentService.Providers;
|
||||
using xContentService.Interfaces;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xContentService.Interfaces.Dtos;
|
||||
using xContentService.Providers.Entities;
|
||||
using xContentService.Interfaces.Entities;
|
||||
using xContentService.Providers.Enrichers;
|
||||
using xContentService.Interfaces.Enrichers;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace xContentService.DI
|
||||
{
|
||||
@@ -43,7 +47,7 @@ namespace xContentService.DI
|
||||
repositoryType: repositoryType
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Register Service ...
|
||||
/// </summary>
|
||||
@@ -205,6 +209,19 @@ namespace xContentService.DI
|
||||
descriptor: descriptor
|
||||
);
|
||||
|
||||
//
|
||||
services.Add(
|
||||
new ServiceDescriptor(typeof(IXContentTitleResourceProvider), typeof(XContentTitleResourceProvider), lifeTime)
|
||||
);
|
||||
services.Add(
|
||||
new ServiceDescriptor(typeof(IXContentDescriptionResourceProvider), typeof(XContentDescriptionResourceProvider), lifeTime)
|
||||
);
|
||||
|
||||
//
|
||||
services.Add(
|
||||
new ServiceDescriptor(typeof(IXContentEnricher), typeof(XContentEnricher), lifeTime)
|
||||
);
|
||||
|
||||
//
|
||||
// Register Dto Services ...
|
||||
services.Add(
|
||||
@@ -231,7 +248,7 @@ namespace xContentService.DI
|
||||
|
||||
//
|
||||
Log("Service Regitration Succeed ...");
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user