예제 #1
0
 /// <summary>
 /// 获取一个实例
 /// </summary>
 /// <param name="key">关键字</param>
 /// <returns></returns>
 public static ImageLoader Get(string key)
 {
     return(ImageLoaders.Get(key));
 }
예제 #2
0
 /// <summary>
 /// 注意一个实例
 /// </summary>
 /// <param name="key">关键字</param>
 /// <param name="config">配置</param>
 /// <returns></returns>
 public static ImageLoader Register(string key, ImageLoaderConfiguration config)
 {
     return(ImageLoaders.Register(key, config));
 }