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