## خلاصه کامل کارهای انجام شده: ### ✅ تمام فایلهای ایجاد شده برای XAiVector: __مرحله 1 - Constants:__ - ✅ افزودن کانستنتها به `XAiModelsConstants.cs` __مرحله 2 - DTO & Configuration:__ - ✅ `Models/Dtos/XAiVectorDto.cs` - تکمیل شد - ✅ `Configurations/Entities/XAiVectorEntityConfiguration.cs` - ✅ `Configurations/Entities/XAiVectorMappingAction.cs` - ✅ آپدیت `Configurations/XAiModelMappersProfile.cs` __مرحله 3 - Interfaces Entities:__ - ✅ `Interfaces/Entities/IXAiVectorRepository.cs` - ✅ `Interfaces/Entities/IXAiVectorEntityHub.cs` - ✅ `Interfaces/Entities/IXAiVectorKeyGenerator.cs` - ✅ `Interfaces/Entities/IXAiVectorRepositoryEvents.cs` - ✅ `Interfaces/Entities/IXAiVectorRepositoryProvider.cs` - ✅ `Interfaces/Entities/IXAiVectorSeeder.cs` - ✅ `Interfaces/Entities/IXAiVectorGraphQLTypeHelper.cs` __مرحله 4 - Interfaces Dtos:__ - ✅ `Interfaces/Dtos/IXAiVectorDtoHub.cs` - ✅ `Interfaces/Dtos/IXAiVectorRepositoryService.cs` - ✅ `Interfaces/Dtos/IXAiVectorServiceProvider.cs` __مرحله 5 - Interfaces Enrichers:__ - ✅ `Interfaces/Enrichers/IXAiVectorEnricher.cs` __مرحله 6 - Providers Entities:__ - ✅ `Providers/Entities/XAiVectorEFRepository.cs` - ✅ `Providers/Entities/XAiVectorMongoRepository.cs` - ✅ `Providers/Entities/XAiVectorInMemoryRepository.cs` - ✅ `Providers/Entities/XAiVectorEntityHub.cs` - ✅ `Providers/Entities/XAiVectorKeyGenerator.cs` - ✅ `Providers/Entities/XAiVectorRepositoryEvents.cs` - ✅ `Providers/Entities/XAiVectorRepositoryProvider.cs` - ✅ `Providers/Entities/XAiVectorSeederBase.cs` __مرحله 7 - Providers Dtos:__ - ✅ `Providers/Dtos/XAiVectorDtoHub.cs` - ✅ `Providers/Dtos/XAiVectorRepositoryService.cs` - ✅ `Providers/Dtos/XAiVectorServiceProvider.cs` __مرحله 8 - Providers Enrichers:__ - ✅ `Providers/Enrichers/XAiVectorEnricher.cs` __مرحله 9 - Providers GraphQL:__ - ✅ `Providers/GraphQL/XAiVectorGraphType.cs` - ✅ `Providers/GraphQL/XAiVectorGraphQuery.cs` - ✅ `Providers/GraphQL/XAiVectorGraphSchema.cs` - ✅ `Providers/GraphQL/XAiVectorGraphQLTypeHelper.cs` __مرحله 10 - Registry:__ - ✅ `Providers/XAiVectorEntityRegisterar.cs` __مرحله 11 - Build:__ - ✅ پروژه با موفقیت build شد
28 lines
813 B
C#
28 lines
813 B
C#
using System;
|
|
using xPushService.Base;
|
|
using xAiModels.Models.Dtos;
|
|
using xAiModels.Interfaces.Dtos;
|
|
using xAiModels.Models.Entities;
|
|
using xDataService.Configuration;
|
|
using xIdentityService.Interfaces;
|
|
using Microsoft.AspNetCore.SignalR;
|
|
|
|
namespace xAiModels.Providers.Dtos
|
|
{
|
|
public class XAiVectorServiceProvider : XBaseDtoProvider<XAiVector, XAiVectorDto, Guid, XAiVectorDtoHub>, IXAiVectorServiceProvider
|
|
{
|
|
public XAiVectorServiceProvider(
|
|
IHubContext<XAiVectorDtoHub> hub,
|
|
XDataServiceConfiguration dataConfiguration,
|
|
IXAiVectorRepositoryService service,
|
|
IXIdentityProvider identityProvider = null
|
|
) : base(
|
|
hub,
|
|
dataConfiguration,
|
|
service,
|
|
identityProvider
|
|
)
|
|
{ }
|
|
}
|
|
}
|