public static void Register(IConfiguration configuration) { IocUtils.LoadDefaultImplement(DEFAULT_IMPLEMENT_FILE); IocUtils.Default.Register(configuration); ConfigUtils.SetThreads(); LoadAll(); }
public static void Register() { IocUtils.RegisterSingle <CacheKey>(new CacheKey(PathUtils.GetFileFullPath(CACHE_KEY_FILE))); IocUtils.RegisterSingle <XmlConfig>(new XmlConfig(PathUtils.GetFileFullPath(CONFIG_FILE))); IocUtils.LoadDefaultImplement(DEFAULT_IMPLEMENT_FILE); LoadIoc(); LoadRedis(); }
public static void Register() { IocUtils.LoadDefaultImplement(DEFAULT_IMPLEMENT_FILE); LoadIoc(); }