imBMW.Features.Menu.MenuBase.TextWithIcon C# (CSharp) 메소드

TextWithIcon() 보호된 메소드

protected TextWithIcon ( char icon, string text = null ) : string
icon char
text string
리턴 string
        protected string TextWithIcon(char icon, string text = null)
        {
            if (StringHelpers.IsNullOrEmpty(text))
            {
                return icon + "";
            }
            if (text.Length + 1 < StatusTextMaxlen)
            {
                return icon + " " + text;
            }
            return icon + text;
        }

Same methods

MenuBase::TextWithIcon ( string icon, string text = null ) : string