//////////////////////////////////////////////////////////////////////////////////////////////// /*--------------------------------------------------------------------------------------------*/ 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 TravPath(ITravPathData pData) { vData = pData; }