CellsAutomate.Mutator.Mutations.ReplaceCommandMutation.GetReplacedVersionOf C# (CSharp) Méthode

GetReplacedVersionOf() private méthode

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