示例#1
0
 // can be virtual?
 public override void Accept(IPixelVisitor visitor)
 {
   foreach (var pixel in pixels) {
     pixel.Accept(visitor);
   }
   visitor.Visit(this);
 }
示例#2
0
 // can be virtual?
 public override void Accept(IPixelVisitor visitor)
 {
     foreach (var pixel in pixels)
     {
         pixel.Accept(visitor);
     }
     visitor.Visit(this);
 }
示例#3
0
 public virtual void Accept(IPixelVisitor visitor)
 {
     foreach (var pixel in pixels)
     {
         pixel.Accept(visitor);
     }
     visitor.Visit(this);
 }
示例#4
0
 public virtual void Accept(IPixelVisitor visitor)
 {
   visitor.Visit(this);
 }
示例#5
0
 public virtual void Accept(IPixelVisitor visitor)
 {
     visitor.Visit(this);
 }