C# Class CellsAutomate.Mutator.Mutations.ReplaceCommandMutation

Inheritance: IMutation
Mostrar archivo Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
ReplaceCommandMutation ( Random random, ICommandsList commands ) : System
Transform ( ) : void
Undo ( ) : void

Private Methods

Method Description
GetHandlerOfType ( Type type ) : ICommand>.Func
GetReplacedVersionOf ( int index ) : ICommand
InitNextTransform ( ) : void

Method Details

ReplaceCommandMutation() public method

public ReplaceCommandMutation ( Random random, ICommandsList commands ) : System
random System.Random
commands ICommandsList
return System

Transform() public method

public Transform ( ) : void
return void

Undo() public method

public Undo ( ) : void
return void