/// <summary> /// Initializes a new instance of the <see cref="SuckerMenuItem"/> class. /// </summary> /// <param name="sLink">The s link.</param> /// <param name="sText">The s text.</param> /// <param name="oRoot">The o root.</param> /// <param name="cssClass">The CSS class.</param> public SuckerMenuItem(string sLink, string sText, MenuHelperRoot oRoot, string cssClass) { Link = sLink.StartsWith("~") ? VirtualPathUtility.ToAbsolute(sLink) : sLink; Text = sText; m_Root = oRoot; CssClass = cssClass; }
/// <summary> /// Initializes a new instance of the <see cref="SuckerMenuItem"/> class. /// </summary> /// <param name="sLink">The s link.</param> /// <param name="sText">The s text.</param> /// <param name="oRoot">The o root.</param> public SuckerMenuItem(string sLink, string sText, MenuHelperRoot oRoot) : this(sLink,sText,oRoot,string.Empty) { }
/// <summary> /// Initializes a new instance of the <see cref="SuckerMenuItem"/> class. /// </summary> /// <param name="sLink">The s link.</param> /// <param name="sText">The s text.</param> /// <param name="oRoot">The o root.</param> public SuckerMenuItem(string sLink, string sText, MenuHelperRoot oRoot) : this(sLink, sText, oRoot, string.Empty) { }