private void AddChassisModelNodes(VirtualFolderVM parent, IXQueryable element) { var packageIndexer = this.GameClientRoot.Model.PackageIndexer; this.AddModelNodes(parent, element); var splineDescElement = element.Query("splineDesc"); if (splineDescElement != null) { var splineNode = new VirtualFolderVM(parent, this.L("game_client_explorer", "spline")); parent.AddChild(splineNode); TankNodeVM.AddFileNode(splineNode, splineDescElement, this.L("game_client_explorer", "left_track"), "left", packageIndexer); TankNodeVM.AddFileNode(splineNode, splineDescElement, this.L("game_client_explorer", "right_track"), "right", packageIndexer); this.AddModelDirectory(splineNode, splineDescElement, this.L("game_client_explorer", "left_segment"), "segmentModelLeft", packageIndexer); this.AddModelDirectory(splineNode, splineDescElement, this.L("game_client_explorer", "right_segment"), "segmentModelRight", packageIndexer); this.AddModelDirectory(splineNode, splineDescElement, this.L("game_client_explorer", "left_segment2"), "segment2ModelLeft", packageIndexer); this.AddModelDirectory(splineNode, splineDescElement, this.L("game_client_explorer", "right_segment2"), "segment2ModelRight", packageIndexer); } }
public virtual IXQueryable Query(string xpath) { return(_wrapped.Query(xpath)); }
public static IXQueryable Query(this IXQueryable xqueryable, string xpathFormat, params object[] args) { return(xqueryable.Query(string.Format(xpathFormat, args))); }
public virtual IXQueryable Query(string xpath) { return(this.GetCache(xpath, () => _wrapped.Query(xpath))); }