public override void Request() { Console.WriteLine("Proxy is start. Now,Proxy start request"); if (realSubject == null) realSubject = new RealSubject(); realSubject.Request(); }
public override void Request() { if (realSubject == null) { realSubject = new RealSubject(); } realSubject.Request(); }
public override void Request() { Console.WriteLine("Proxy is start. Now,Proxy start request"); if (realSubject == null) { realSubject = new RealSubject(); } realSubject.Request(); }
public override void Request() { if (null == _realsubject) { _realsubject = new RealSubject(); } _realsubject.Request(); }