mirror of
https://github.com/DuendeSoftware/products
synced 2026-05-24 09:28:24 +00:00
Fix namespaces
This commit is contained in:
parent
9ab2786108
commit
ea8bc80fe6
15 changed files with 28 additions and 23 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Database;
|
||||
namespace Documentation.Mcp.Database;
|
||||
|
||||
public class FTSBlogArticle
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Database;
|
||||
namespace Documentation.Mcp.Database;
|
||||
|
||||
public class FTSDocsArticle
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Database;
|
||||
namespace Documentation.Mcp.Database;
|
||||
|
||||
public class FTSSampleProject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System.Text.Json;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Database;
|
||||
namespace Documentation.Mcp.Database;
|
||||
|
||||
public class McpDb : DbContext
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
// <auto-generated />
|
||||
|
||||
using Documentation.Mcp.Database;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
// <auto-generated />
|
||||
|
||||
using Documentation.Mcp.Database;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Database;
|
||||
namespace Documentation.Mcp.Database;
|
||||
|
||||
public class State
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Infrastructure;
|
||||
namespace Documentation.Mcp.Infrastructure;
|
||||
|
||||
public class TemporaryFileStream : FileStream
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
using Documentation.Mcp.Database;
|
||||
using Documentation.Mcp.Sources.Blog;
|
||||
using Documentation.Mcp.Sources.Docs;
|
||||
using Documentation.Mcp.Sources.Samples;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Duende.Documentation.Mcp.Server.Sources.Blog;
|
||||
using Duende.Documentation.Mcp.Server.Sources.Docs;
|
||||
using Duende.Documentation.Mcp.Server.Sources.Samples;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Documentation.Mcp.Database;
|
||||
using HtmlAgilityPack;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
|
@ -10,7 +10,7 @@ using Microsoft.Extensions.Logging;
|
|||
using ReverseMarkdown;
|
||||
using SimpleFeedReader;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Sources.Blog;
|
||||
namespace Documentation.Mcp.Sources.Blog;
|
||||
|
||||
public class BlogArticleIndexer(IServiceProvider services, ILogger<BlogArticleIndexer> logger) : BackgroundService
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Documentation.Mcp.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ModelContextProtocol.Server;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Sources.Blog;
|
||||
namespace Documentation.Mcp.Sources.Blog;
|
||||
|
||||
[McpServerToolType]
|
||||
public class BlogSearchTool(McpDb db)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// See LICENSE in the project root for license information.
|
||||
|
||||
using System.Text;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Documentation.Mcp.Database;
|
||||
using Markdig.Syntax;
|
||||
using Markdig.Syntax.Inlines;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
|
@ -10,7 +10,7 @@ using Microsoft.Extensions.DependencyInjection;
|
|||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Sources.Docs;
|
||||
namespace Documentation.Mcp.Sources.Docs;
|
||||
|
||||
public class DocsArticleIndexer(IServiceProvider services, ILogger<DocsArticleIndexer> logger) : BackgroundService
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Documentation.Mcp.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ModelContextProtocol.Server;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Sources.Docs;
|
||||
namespace Documentation.Mcp.Sources.Docs;
|
||||
|
||||
[McpServerToolType]
|
||||
public class DocsSearchTool(McpDb db)
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
using System.IO.Compression;
|
||||
using System.Text;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Duende.Documentation.Mcp.Server.Infrastructure;
|
||||
using Duende.Documentation.Mcp.Server.Sources.Docs;
|
||||
using Documentation.Mcp.Database;
|
||||
using Documentation.Mcp.Infrastructure;
|
||||
using Documentation.Mcp.Sources.Docs;
|
||||
using Markdig.Syntax;
|
||||
using Markdig.Syntax.Inlines;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
|
@ -13,7 +13,7 @@ using Microsoft.Extensions.DependencyInjection;
|
|||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Sources.Samples;
|
||||
namespace Documentation.Mcp.Sources.Samples;
|
||||
|
||||
public class SamplesIndexer(IServiceProvider services, ILogger<DocsArticleIndexer> logger) : BackgroundService
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
using Duende.Documentation.Mcp.Server.Database;
|
||||
using Documentation.Mcp.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ModelContextProtocol.Server;
|
||||
|
||||
namespace Duende.Documentation.Mcp.Server.Sources.Samples;
|
||||
namespace Documentation.Mcp.Sources.Samples;
|
||||
|
||||
[McpServerToolType]
|
||||
public class SamplesSearchTool(McpDb db)
|
||||
|
|
|
|||
Loading…
Reference in a new issue