【重构】 TType -> TData Creator类从TypeVisitors目录移到DataCreators目录
parent
ccea1359d3
commit
059d3ffb09
|
|
@ -20,8 +20,4 @@
|
|||
<ProjectReference Include="..\Luban.Job.Common\Luban.Job.Common.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Source\DataCreators\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
enum EReadPolicy
|
||||
{
|
||||
|
|
@ -8,7 +8,7 @@ using Luban.Job.Common.TypeVisitors;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
class ExcelNamedRowDataCreator : ITypeFuncVisitor<Sheet.NamedRow, bool, bool, DType>
|
||||
{
|
||||
|
|
@ -8,7 +8,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
public class JsonDataCreator : ITypeFuncVisitor<JsonElement, DefAssembly, DType>
|
||||
{
|
||||
|
|
@ -9,7 +9,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
class LuaDataCreator : ITypeFuncVisitor<object, DefAssembly, DType>
|
||||
{
|
||||
|
|
@ -6,7 +6,7 @@ using Luban.Job.Common.TypeVisitors;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
class MultiRowExcelDataCreator : ITypeFuncVisitor<IEnumerable<ExcelStream>, bool, DefAssembly, DType>
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@ using Luban.Job.Common.Types;
|
|||
using Luban.Job.Common.TypeVisitors;
|
||||
using System;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
class StringDataCreator : ITypeFuncVisitor<string, DType>
|
||||
{
|
||||
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace Luban.Job.Cfg.TypeVisitors
|
||||
namespace Luban.Job.Cfg.DataCreators
|
||||
{
|
||||
class XmlDataCreator : ITypeFuncVisitor<XElement, DefAssembly, DType>
|
||||
{
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using ExcelDataReader;
|
||||
using Luban.Job.Cfg.DataCreators;
|
||||
using Luban.Job.Cfg.Datas;
|
||||
using Luban.Job.Cfg.TypeVisitors;
|
||||
using Luban.Job.Common.Types;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using Luban.Job.Cfg.DataCreators;
|
||||
using Luban.Job.Cfg.Datas;
|
||||
using Luban.Job.Cfg.Defs;
|
||||
using Luban.Job.Cfg.TypeVisitors;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using Luban.Job.Cfg.DataCreators;
|
||||
using Luban.Job.Cfg.Datas;
|
||||
using Luban.Job.Cfg.Defs;
|
||||
using Luban.Job.Cfg.TypeVisitors;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using Luban.Job.Cfg.DataCreators;
|
||||
using Luban.Job.Cfg.Datas;
|
||||
using Luban.Job.Cfg.Defs;
|
||||
using Luban.Job.Cfg.TypeVisitors;
|
||||
|
|
|
|||
Loading…
Reference in New Issue