ArmedCards.Library.Helpers.CardFormatter.ReplaceBlankWithHtml C# (CSharp) Метод

ReplaceBlankWithHtml() публичный статический Метод

Replace the stored blank with a span blank
public static ReplaceBlankWithHtml ( String cardContext ) : String
cardContext String The card's content
Результат String
        public static String ReplaceBlankWithHtml(String cardContext)
        {
            TagBuilder blankSpan = new TagBuilder("span");
            blankSpan.AddCssClass("blank");

            return cardContext.Replace("_____", blankSpan.ToString());
        }