Sic.Framework-Nanjing-Baishi/MECF.Framework.Common/Aitex/Core/RT/ConfigCenter/ICommonConfig.cs

21 lines
417 B
C#
Raw Normal View History

2023-04-13 11:51:03 +08:00
using System;
using System.Collections.Generic;
namespace Aitex.Core.RT.ConfigCenter
{
public interface ICommonConfig
{
void Subscribe(string module, string key, Func<object> getter);
object Poll(string key);
Dictionary<string, object> PollConfig(IEnumerable<string> keys);
string GetFileContent(string fileName);
object GetConfig(string config);
void SetConfig(string config, object value);
}
}