Example #1
0
 public BaseRewriteItem(Item innerItem)
     : base(innerItem)
 {
     _BaseStopProcessingItem    = new BaseStopProcessingItem(innerItem);
     _BaseAppendQuerystringItem = new BaseAppendQuerystringItem(innerItem);
     _BaseRewriteUrlItem        = new BaseRewriteUrlItem(innerItem);
 }
Example #2
0
 public BaseRewriteItem(Item innerItem)
     : base(innerItem)
 {
     _BaseStopProcessingItem = new BaseStopProcessingItem(innerItem);
     _BaseAppendQuerystringItem = new BaseAppendQuerystringItem(innerItem);
     _BaseRewriteUrlItem = new BaseRewriteUrlItem(innerItem);
 }
Example #3
0
        private static void GetBaseRewriteUrlItem(BaseRewriteUrlItem baseRewriteUrlItem, IBaseRewriteUrl redirectAction)
        {
            var redirectTo = baseRewriteUrlItem.RewriteUrl;
            string actionRewriteUrl;
            Guid? redirectItemId;
            string redirectItemAnchor;

            RulesEngine.GetRedirectUrlOrItemId(redirectTo, out actionRewriteUrl, out redirectItemId, out redirectItemAnchor);
            redirectAction.RewriteItemId = redirectItemId;
            redirectAction.RewriteItemAnchor = redirectItemAnchor;
            redirectAction.RewriteUrl = actionRewriteUrl;
        }