常用方法
常用方法
常用方法
常用方法
public void RegisterRunner(IRunner runner) { if (!_mapRunners.ContainsKey(runner.GetID())) { _mapRunners.Add(runner.GetID(), runner); } else { CLog.LogError("runnerID:" + runner.GetID() + " has exist!"); } }