public CommandFactory() { this.commandMap = new Dictionary<string, Func<ICommand>>(); this.commandCache = new Dictionary<string, ICommand>(); this.RegisterDefaults(); }