using System; using System.Collections.Generic; using System.Windows.Input; namespace WPF.Commands { /// <summary> /// This class allows delegating the commanding logic to methods passed as parameters, /// and enables a View to bind commands to obje…