예제 #1
0
 public void Process()
 {
     if (this.ww != null)
     {
         WebCollection oWebs = this.ww.Webs;
         this.ww.Context.Load(oWebs);
         this.ww.Context.ExecuteQuery();
         foreach (Web sww in oWebs)
         {
             Console.WriteLine("Site: {0}", sww.Title);
             Console.ReadLine();
             FunnelbackSite fbxs = new FunnelbackSite();
             fbxs.myfbx = this.myfbx;
             fbxs.ww    = sww;
             fbxs.Process();
         }
     }
 }
예제 #2
0
 public void Process()
 {
     if (this.ww != null)
     {
         WebCollection oWebs = this.ww.Webs;
         this.ww.Context.Load(oWebs);
         this.ww.Context.ExecuteQuery();
         foreach (Web sww in oWebs)
         {
             Console.WriteLine("Site: {0}", sww.Title);
             Console.ReadLine();
             FunnelbackSite fbxs = new FunnelbackSite();
             fbxs.myfbx = this.myfbx;
             fbxs.ww = sww;
             fbxs.Process();
         }
     }
 }