Продолжение рефакторинга (вынесение WPF в отдельный проект)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Pf2e.Scrapper.Processors.Definitions;
|
||||
using Pf2e.Scrapper.Processors.Collection;
|
||||
using Pf2e.Scrapper.Processors.Definitions;
|
||||
|
||||
namespace Pf2e.Scrapper.Processors.Factory;
|
||||
|
||||
/// <summary>
|
||||
/// Абстрактная фабрика создания процессоров.
|
||||
/// </summary>
|
||||
internal abstract class AbstractProcessorFactory
|
||||
public abstract class AbstractProcessorFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Подготовить фабрику к работе.
|
||||
|
||||
@@ -5,13 +5,13 @@ using Newtonsoft.Json.Linq;
|
||||
using Pf2e.Scrapper.Importers;
|
||||
using Pf2e.Scrapper.Importers.Implementations.Aonprd.Compendium;
|
||||
using Pf2e.Scrapper.Importers.Implementations.FoundryEn.Compendium;
|
||||
using Pf2e.Scrapper.Processors.Attributes;
|
||||
using Pf2e.Scrapper.Processors.Attributes.Enum;
|
||||
using Pf2e.Scrapper.Processors.Collection;
|
||||
using Pf2e.Scrapper.Processors.Definitions;
|
||||
|
||||
namespace Pf2e.Scrapper.Processors.Factory;
|
||||
|
||||
internal class CompendiumProcessorFactory(ProcessorRecord item, IServiceProvider serviceProvider)
|
||||
public class CompendiumProcessorFactory(ProcessorRecord item, IServiceProvider serviceProvider)
|
||||
: AbstractProcessorFactory
|
||||
{
|
||||
public ProcessorRecord Item { get; } = item;
|
||||
|
||||
@@ -6,7 +6,7 @@ using Pf2e.Scrapper.Processors.Definitions;
|
||||
|
||||
namespace Pf2e.Scrapper.Processors.Factory;
|
||||
|
||||
internal class SimpleProcessorFactory(ProcessorRecord item, IServiceProvider serviceProvider)
|
||||
public class SimpleProcessorFactory(ProcessorRecord item, IServiceProvider serviceProvider)
|
||||
: AbstractProcessorFactory
|
||||
{
|
||||
public ProcessorRecord Item { get; } = item;
|
||||
|
||||
Reference in New Issue
Block a user