public static void Register(string Name, ConItem Item) { if (Find(Name) != null) { throw new Exception("Console item already registered '" + Name + "'"); } Items.Add(Item); }
public static bool TryFind(string Name, out ConItem Item) { Item = Find(Name); return(Item != null); }