//////////////////////////////////////////////////////////////////////////////////////////////// /*--------------------------------------------------------------------------------------------*/ private void BuildPath(string pPath) { vPathData = new TravPathData(pPath, vOpCtx.Auth.ActiveMemberId); vPath = new TravPath(vPathData); ITravPathItem tps = vPath.GetNextStep(); ITravRule rule = null; while (tps != null) { rule = FindRuleForStep(tps); rule.Step.ConsumePath(vPath, rule.ToType); tps = vPath.GetNextStep(); } if (rule == null || !rule.Step.EndsWithRangeFilter) { vPathData.AddScript("[0.." + (TravStepTake.Maximum - 1) + "]"); } }
//////////////////////////////////////////////////////////////////////////////////////////////// /*--------------------------------------------------------------------------------------------*/ public void AddScript(string pScript) { vData.AddScript(pScript); }