/// <summary> /// 初始化中介者对象 /// </summary> /// <param name="mediator"></param> public Colleague(Mediator mediator) { this.mediator = mediator; }
public ConcreteColleague2(Mediator mediator) : base(mediator) { }