public void ExecuteDrawingInstruction(IDrawingInstructionRepository instructionRepository) { if (instructionRepository == null) { throw new ArgumentNullException(nameof(instructionRepository)); } instructionRepository.ApplySnapshot(this); }
public void ExecuteDrawingInstruction(IDrawingInstructionRepository instructionRepository) { if (instructionRepository == null) { throw new ArgumentNullException(nameof(instructionRepository)); } instructionRepository.ChangeBackground(this); }
public void ExecuteDrawingInstruction(IDrawingInstructionRepository instructionRepository) { if (instructionRepository == null) { throw new ArgumentNullException(nameof(instructionRepository)); } instructionRepository.Clear(); }