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