last ...
This commit is contained in:
@@ -2,6 +2,10 @@ namespace xAiModels.Constants
|
||||
{
|
||||
public struct XAiModelsConstants
|
||||
{
|
||||
//
|
||||
// Service Extensions Log Tag ...
|
||||
public const string XAiModelsDILogTag = "XAiModels";
|
||||
|
||||
//
|
||||
// Table Mapping Identifiers ...
|
||||
public const string XAiMessageTable = "AiMessages";
|
||||
|
||||
@@ -18,9 +18,13 @@ using xCommons.Helpers;
|
||||
using xAiModels.Interfaces.Entities;
|
||||
using xAiModels.Interfaces;
|
||||
using xAiModels.Providers;
|
||||
using xAiModels.Constants;
|
||||
|
||||
namespace xAiModels.DI
|
||||
{
|
||||
/// <summary>
|
||||
/// Service Registration Extensions Classes ...
|
||||
/// </summary>
|
||||
public static class XDIHelperExtension
|
||||
{
|
||||
/// <summary>
|
||||
@@ -82,18 +86,18 @@ namespace xAiModels.DI
|
||||
|
||||
//
|
||||
// XAiConversation ...
|
||||
pushHelper.AddHub<XAiConversationDtoHub>("aiConversationDto");
|
||||
pushHelper.AddHub<XAiConversationEntityHub>("aiConversationEntity");
|
||||
pushHelper.AddHub<XAiConversationDtoHub>(XAiModelsConstants.XAiConversationDtoHub);
|
||||
pushHelper.AddHub<XAiConversationEntityHub>(XAiModelsConstants.XAiConversationEntityHub);
|
||||
|
||||
//
|
||||
// XAiMessage ...
|
||||
pushHelper.AddHub<XAiMessageDtoHub>("aiMessageDto");
|
||||
pushHelper.AddHub<XAiMessageEntityHub>("aiMessageEntity");
|
||||
pushHelper.AddHub<XAiMessageDtoHub>(XAiModelsConstants.XAiMessageDtoHub);
|
||||
pushHelper.AddHub<XAiMessageEntityHub>(XAiModelsConstants.XAiMessageEntityHub);
|
||||
|
||||
//
|
||||
// XAiProject ...
|
||||
pushHelper.AddHub<XAiProjectDtoHub>("aiProjectDto");
|
||||
pushHelper.AddHub<XAiProjectEntityHub>("aiProjectEntity");
|
||||
pushHelper.AddHub<XAiProjectDtoHub>(XAiModelsConstants.XAiProjectDtoHub);
|
||||
pushHelper.AddHub<XAiProjectEntityHub>(XAiModelsConstants.XAiProjectEntityHub);
|
||||
|
||||
//
|
||||
app.UseXPushService(pushHelper);
|
||||
@@ -247,7 +251,7 @@ namespace xAiModels.DI
|
||||
/// <summary>
|
||||
/// a LogTag for Service ...
|
||||
/// </summary>
|
||||
private static string XLogTag = "XAiModels";
|
||||
private static string XLogTag = XAiModelsConstants.XAiModelsDILogTag;
|
||||
|
||||
/// <summary>
|
||||
/// print a log in Console ...
|
||||
|
||||
Reference in New Issue
Block a user