public MatrixRotateController(IMatrixOperation matrixOperation) { _matrixOperation = matrixOperation; }
public static IEnumerable <Matrix> ApplyOperation(this IEnumerable <Matrix> source, IMatrixOperation operation) { if (source == null) { throw new ArgumentNullException(nameof(source)); } if (operation == null) { throw new ArgumentNullException(nameof(operation)); } return(operation.Apply(source)); }