Esempio n. 1
0
 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);
 }
Esempio n. 3
0
 public void ExecuteDrawingInstruction(IDrawingInstructionRepository instructionRepository)
 {
     if (instructionRepository == null)
     {
         throw new ArgumentNullException(nameof(instructionRepository));
     }
     instructionRepository.Clear();
 }