public static Operations GetDefault() { Operations operations = new Operations(); operations._collection = new Dictionary<string, Func<int, int, int>> { {"+", (x, y) => x + y}, {"-", (x, y) => x - y} }; return operations; }
public Calculator(Operations operations, ILogger logger) { _operations = operations; _logger = logger; }