This commit is contained in:
2026-04-10 23:50:57 +03:30
parent 0ddf8a34c5
commit 9d568c9893
3 changed files with 10 additions and 1 deletions
+8
View File
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using xAiService.DI;
using xCommons.Extensions; using xCommons.Extensions;
using xFileService.DI; using xFileService.DI;
using xMessageService.DI; using xMessageService.DI;
@@ -176,6 +177,13 @@ namespace xServices.DI
// //
// Terms and Conditions Service ... // Terms and Conditions Service ...
services.AddXTermsConditionsService(lifeTime: lifeTime); services.AddXTermsConditionsService(lifeTime: lifeTime);
//
// Ai Service ...
services.AddXAIService(
lifeTime: lifeTime,
configuration: configuration
);
} }
#endregion #endregion
} }
+1 -1
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<packageSources> <packageSources>
<add key="megan" value="https://hub.megan.ir/nuget/index.json" />
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> <add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="baget" value="https://nuget.saherelmhub.ir/v3/index.json" protocolVersion="3" /> <add key="baget" value="https://nuget.saherelmhub.ir/v3/index.json" protocolVersion="3" />
<add key="RunFlare" value="https://mirror-nuget.runflare.com/v3/index.json" protocolVersion="3" />
</packageSources> </packageSources>
</configuration> </configuration>
+1
View File
@@ -28,6 +28,7 @@
<!-- Project Dependencies --> <!-- Project Dependencies -->
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\XAiService\XAiService.csproj" />
<ProjectReference Include="..\xDataHelper\xDataHelper.csproj" /> <ProjectReference Include="..\xDataHelper\xDataHelper.csproj" />
<ProjectReference Include="..\xIdentityHelper\xIdentityHelper.csproj" /> <ProjectReference Include="..\xIdentityHelper\xIdentityHelper.csproj" />
</ItemGroup> </ItemGroup>