BootstrapComponents.Core.HtmlAttribute.operator C# (CSharp) Méthode

operator() public static méthode

public static operator ( ) : HtmlAttribute
Résultat HtmlAttribute
        public static HtmlAttribute operator +(HtmlAttribute h1, HtmlAttribute h2)
        {
            if (h1.IsEmpty()) return h2;
            if (h2.IsEmpty()) return h1;
            return new HtmlAttribute(h1._value + " " + h2._value);
        }