private static TargetB FillFrom(this TargetB target,
                                 Dictionary <string, string> dictionary)
 {
     // throw exception if required keys not found
     target.Bar = dictionary["bar"];
     return(target);
 }
 public bool IsTargetingArea()
 {
     return(TargetA.IsArea() || TargetB.IsArea());
 }
Ejemplo n.º 3
0
 public AdapterB(TargetB a)
 {
     this.B = a;
 }