Exemplo n.º 1
0
        internal static IHtmlContent EifelMonoHostHtmlUseType <T>(this IHtmlHelper <T> thisValue, HostHtmlEntryType entryType, string otherName = null)
        {
            var sb = new StringBuilder();

            if (entryType == HostHtmlEntryType.Other && !string.IsNullOrEmpty(otherName))
            {
                sb.AppendLine($"<!-- BlazorHtmlUse {entryType} {otherName ?? ""} -->");
                if (GetOnHostHtmlUser() is { })
Exemplo n.º 2
0
 public override string GetHtml(HostHtmlEntryType entryType, string otherName = null)
 => entryType switch
 {
Exemplo n.º 3
0
 public virtual string GetHtml(HostHtmlEntryType entryType, string otherName = null)
 => "";