Exemple #1
0
 public GobbleAdapter(IGobbleBehavior gobbleBehavior)
 {
     GobbleBehavior = gobbleBehavior;
 }
Exemple #2
0
 public Turkey(IFlyBehavior flyBehavior, IGobbleBehavior gobbleBehavior)
 {
     FlyBehavior    = flyBehavior;
     GobbleBehavior = gobbleBehavior;
 }