Ejemplo n.º 1
0
 /// <summary>
 /// 清理模块DC的数据
 /// </summary>
 public static void ClearAllModuleDC()
 {
     Type[] moduleTypes = GetAllModuleTypes();
     foreach (Type moduleType in moduleTypes)
     {
         IModule decoder = Activator.CreateInstance(moduleType) as IModule;
         if (decoder == null)
         {
             continue;
         }
         decoder.ClearDC();
     }
 }