CellsAutomate.Mutator.Mutations.ReplaceCommandMutation.GetReplacedVersionOf C# (CSharp) Метод

GetReplacedVersionOf() приватный Метод

private GetReplacedVersionOf ( int index ) : ICommand
index int
Результат ICommand
        private ICommand GetReplacedVersionOf(int index)
        {
            var command = _commands[index];
            var handler = GetHandlerOfType(command.GetType());
            return handler(index);
        }