Example #1
0
        public static SuperAdapter GetFromID(string key)
        {
            SuperAdapter sa = (SuperAdapter)adapters[key];

            if (sa == null)
            {
                Com.DPrintf("SuperAdapter.getFromID():adapter not found->" + key + "\\n");
            }

            return(sa);
        }
Example #2
0
 private static void Register(SuperAdapter sa, string id)
 {
     adapters.Add(id, sa);
 }