public override void Reqest() { if (_realObject == null) { _realObject = new RealSubject(); } _realObject.Reqest(); }
public override void Request() { // Use 'lazy initialization' if (_realSubject == null) { _realSubject = new RealSubject(); } _realSubject.Request(); }