public static bool IsInputElementFallbackBindTagHelper(this TagHelperDescriptor tagHelper)
        {
            if (tagHelper == null)
            {
                throw new ArgumentNullException(nameof(tagHelper));
            }

            return
                (tagHelper.IsInputElementBindTagHelper() &&
                 !tagHelper.Metadata.ContainsKey(BlazorMetadata.Bind.TypeAttribute));
        }
Example #2
0
 public static bool IsInputElementFallbackBindTagHelper(this TagHelperDescriptor tagHelper)
 {
     return
         (tagHelper.IsInputElementBindTagHelper() &&
          !tagHelper.Metadata.ContainsKey(ComponentMetadata.Bind.TypeAttribute));
 }