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