public INumericCommand GetNumericCommand(NumericCommandType command) { switch (command) { case NumericCommandType.ZERO: return(new Zero()); case NumericCommandType.ONE: return(new One()); case NumericCommandType.TWO: return(new Two()); case NumericCommandType.THREE: return(new Three()); case NumericCommandType.FOUR: return(new Four()); case NumericCommandType.FIVE: return(new Five()); case NumericCommandType.SIX: return(new Six()); case NumericCommandType.SEVEN: return(new Seven()); case NumericCommandType.EIGHT: return(new Eight()); case NumericCommandType.NINE: return(new Nine()); case NumericCommandType.POINT: return(new Point()); default: throw new InvalidOperationException(); } }
public INumericCommand GetNumericCommand(NumericCommandType command) { throw new NotImplementedException(); }