Example #1
0
 public Decorator(DecoratorCallback callback)
 {
     if(callback == null) {
         throw new System.ArgumentException("Decorator callback must not be null");
     }
     this.callback = callback;
 }
Example #2
0
 public Decorator(DecoratorCallback callback)
 {
     if (callback == null)
     {
         throw new System.ArgumentException("Decorator callback must not be null");
     }
     this.callback = callback;
 }