Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
 /// <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)
 {
 }
Esempio n. 4
0
 /// <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)
 {
 }