public void PerformQuack() { if (quackBehavior == null) { Console.WriteLine("QuackBehavior is not set!"); return; } quackBehavior.Quack(); }
/// <summary> /// Perform Quack as set by Concrete class /// </summary> public void PerformQuack() { if (QuackBehavior != null) { QuackBehavior.Quack(); } else { Console.WriteLine(Resources.StrExPerformQuack); } }
public virtual void performQuack() { _quackBehavior.Quack(); }
public void PerformQuack() { _quackBehavior.Quack(); }
public void Quack() { quackbehavior.Quack(); }
public void PerformQuack() => quackBehavior.Quack();
public void PerfomrQuack() { quackBehavior.Quack(); }
/// <summary> /// and method to perform the behavior. we just know how to quack and fly. /// we don't know what type it is weather fly with wings or fly no way. /// </summary> public void Quack() => QuackBehavior.Quack();
public void PerformQuack() { qb.Quack(); }
public void PerformQuack() { _quack.Quack(); }
public void SetQuackBehavior(IQuackBehavior quackBehavior) { _quackBehavior.Quack(); }
public void Quack() { m_QuackBehavior.Quack(); }
public void DoQuack() { _iQuackBehavior.Quack(); }
public string Quack() { return(_quackBehavior.Quack()); }
public virtual void Quack() { quackBehavior.Quack(); }
public object PerformQuack() { return(quackBehavior.Quack()); }
public void performQuack() { quackBehavior.Quack(); }
public void DuckSound() { quackBehavior.Quack(); }
public void PeformaneQuack() { QuackBehavior.Quack(); }
public void PerformQuack() => _quackBehavoir.Quack();
public void MakeSound() { _quackBehavior.Quack(); }
public void PerFormQuack() { iQuackBehavior.Quack(); }
public void PerformFly() { quackBehavior.Quack(); }
public void Quack() { quackingBehaviorOfDuck.Quack(); }
public string PerformQuack() { return(_quackBehavior.Quack()); }
public void PerformQuack() { quackBehavior.Quack(view); }
public void Quack() { _quackBehavior.Quack(); }
public virtual void DoQuack() { quacker.Quack(); }
public void PerformQuack() { quackbehavior.Quack(); }
public void PerormQuack() { quackBehavior.Quack(); }