Fix namespaces

This commit is contained in:
Damian Hickey 2025-10-21 11:11:56 +02:00
parent 9ab2786108
commit ea8bc80fe6
15 changed files with 28 additions and 23 deletions

View file

@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
namespace Duende.Documentation.Mcp.Server.Database;
namespace Documentation.Mcp.Database;
public class FTSBlogArticle
{

View file

@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
namespace Duende.Documentation.Mcp.Server.Database;
namespace Documentation.Mcp.Database;
public class FTSDocsArticle
{

View file

@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
namespace Duende.Documentation.Mcp.Server.Database;
namespace Documentation.Mcp.Database;
public class FTSSampleProject
{

View file

@ -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
{

View file

@ -1,4 +1,6 @@
// <auto-generated />
using Documentation.Mcp.Database;
using Duende.Documentation.Mcp.Server.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;

View file

@ -1,4 +1,6 @@
// <auto-generated />
using Documentation.Mcp.Database;
using Duende.Documentation.Mcp.Server.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;

View file

@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
namespace Duende.Documentation.Mcp.Server.Database;
namespace Documentation.Mcp.Database;
public class State
{

View file

@ -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
{

View file

@ -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;

View file

@ -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
{

View file

@ -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)

View file

@ -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
{

View file

@ -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)

View file

@ -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
{

View file

@ -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)