public BaseRewriteItem(Item innerItem) : base(innerItem) { _BaseStopProcessingItem = new BaseStopProcessingItem(innerItem); _BaseAppendQuerystringItem = new BaseAppendQuerystringItem(innerItem); _BaseRewriteUrlItem = new BaseRewriteUrlItem(innerItem); }
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; }