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);
        }