コード例 #1
0
 public static MvcHtmlString OrderStatusLabel(this HtmlHelper html, OrderStatus orderStatus)
 {
     var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);
       return labelHelper.BootstrapLabel(html, orderStatus.Name, orderStatus.Name);
 }
コード例 #2
0
        public static MvcHtmlString AvailabilityStatusLabel(this HtmlHelper html, AvailabilityStatus availabilityStatusStatus)
        {
            var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);

            return(labelHelper.BootstrapLabel(html, availabilityStatusStatus.Name.ToLowerInvariant(), availabilityStatusStatus.Id));
        }
コード例 #3
0
 public static MvcHtmlString AvailabilityStatusLabel(this HtmlHelper html, AvailabilityStatus availabilityStatusStatus)
 {
     var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);
       return labelHelper.BootstrapLabel(html, availabilityStatusStatus.Name.ToLowerInvariant(), availabilityStatusStatus.Id);
 }
コード例 #4
0
        public static MvcHtmlString OrderStatusLabel(this HtmlHelper html, OrderStatus orderStatus)
        {
            var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);

            return(labelHelper.BootstrapLabel(html, orderStatus.Name, orderStatus.Name));
        }