Example #1
0
        public static void Register(string Name, ConItem Item)
        {
            if (Find(Name) != null)
            {
                throw new Exception("Console item already registered '" + Name + "'");
            }

            Items.Add(Item);
        }
Example #2
0
 public static bool TryFind(string Name, out ConItem Item)
 {
     Item = Find(Name);
     return(Item != null);
 }