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(); } } }
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(); } } }