public void HandlerMessage(IWoman woman) { if (woman.GetStatus() == this._level) { Response(woman); } else { if (nextHandler != null) { nextHandler.HandlerMessage(woman); } else { Console.WriteLine("叫破喉咙也没有人会应你的"); } } }
public abstract void Response(IWoman woman);
public override void Response(IWoman woman) { Console.WriteLine("你爹"); Console.WriteLine(woman.GetRequest()); Console.WriteLine("你爹让你干"); }
public static bool WasBirthSuccessfull(this IWoman <IWallet, string> woman) { return(true); }
private static void DoSomethingWithWoman(IWoman woman) { woman.BeingWoman(); }