From 478b4752d0eda4363e8bbdafaeaf2ac95787c199 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Tue, 3 Jul 2018 14:19:31 +0300 Subject: [PATCH] modal tag helper minor refactor --- .../TagHelpers/Modal/AbpModalTagHelperService.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs index 138f670902..23453df1d0 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq; +using System.Linq; using System.Text; using Microsoft.AspNetCore.Razor.TagHelpers; @@ -19,7 +18,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal var sb = new StringBuilder(); var attritubutes = output.Attributes.Select(a => " " + a.Name + "=\"" + a.Value + "\" ").ToList(); - var attritubutesAsJoin = String.Join(" ", attritubutes.ToArray()); + var attritubutesAsJoin = string.Join(" ", attritubutes.ToArray()); sb.AppendLine("
"); sb.AppendLine("
");