public override void Request() { // Use "lazy initalization" if (_realSubject == null) { _realSubject = new RealSubject(); } _realSubject.Request(); }
public Proxy(string Ip) { this._realSubject = new RealSubject(Ip); }
public Proxy(RealSubject realSubject) { this._realSubject = realSubject; }