Extensions.Add

Source code:

        private Dictionary<string, string> Extkeys = new Dictionary<string, string>();
        public void Add(string extkey, string desc)
        {
            Extkeys.Add(extkey, extkey);
            Extkeys.Add(extkey + "desc", desc);
        }

Extensions.Add, registers an extensions to the dictionary.

using ExtNET;
Extensions exts = new Extensions();
exts.Add("cakeisalie");

Last edited Aug 23, 2015 at 4:07 PM by TheCrimulo, version 1