CellsAutomate.Mutator.Mutations.ReplaceCommandMutation.GetReplacedVersionOf C# (CSharp) Method

GetReplacedVersionOf() private method

private GetReplacedVersionOf ( int index ) : ICommand
index int
return ICommand
        private ICommand GetReplacedVersionOf(int index)
        {
            var command = _commands[index];
            var handler = GetHandlerOfType(command.GetType());
            return handler(index);
        }