mirror of
https://github.com/xboxeer/NScrapy.git
synced 2026-10-24 17:30:20 +08:00
Will use Zookeeper to manager the config for every node Also changed some methed name in old design for the purpose of align naming practice
17 lines
359 B
C#
17 lines
359 B
C#
using NScrapy.Infra;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Text;
|
|
|
|
namespace NScrapy.Test
|
|
{
|
|
public class MockConfigProvider : IConfigProvider
|
|
{
|
|
public string GetConfigFilePath()
|
|
{
|
|
return Path.Combine(Directory.GetCurrentDirectory(), "appsettingMockConfig.json");
|
|
}
|
|
}
|
|
}
|