C# Class CellsAutomate.Mutator.Mutations.DeleteCommandMutation

Inheritance: IMutation
Show file Open project: Confirmit/Students Class Usage Examples

Public Methods

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

Private Methods

Method Description
AssertCommandSetter ( int index ) : void
AssertCommandWithArgument ( int index ) : void
AssertCommandWithConstruction ( int index ) : void
AssertDeclarationCommand ( int index ) : void
AssertValid ( int index ) : void
Delete ( int index ) : void
DeleteAllUnderWhereUsed ( string variable, int index ) : void
InitNewTransform ( ) : void
IsInitializeSetter ( ICommandSetter comToDel, int index ) : bool
ReleaseRemoveCommands ( ) : void

Method Details

DeleteCommandMutation() public method

public DeleteCommandMutation ( 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