refactoring: --YavscLib-- => Yavsc

This commit is contained in:
Paul Schneider 2017-05-27 16:22:58 +02:00
commit 776b7dae21
102 changed files with 216 additions and 209 deletions

View file

@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using YavscLib.Billing;
using Yavsc.Billing;
namespace Yavsc.Helpers
{

View file

@ -19,10 +19,10 @@ namespace Yavsc.Helpers
public TeXString(string str) : base(str)
{
}
}
public class Replacement
@ -41,7 +41,7 @@ namespace Yavsc.Helpers
}
public static class TeXHelpers
{
public static readonly Replacement[] SpecialCharsRendering =
public static readonly Replacement[] SpecialCharsDefaultRendering =
{
new Replacement("<","\\textless"),
new Replacement(">","\\textgreater"),
@ -70,7 +70,7 @@ namespace Yavsc.Helpers
public static TeXString ToTeX(this string source)
{
string result=source;
foreach (var r in SpecialCharsRendering)
foreach (var r in SpecialCharsDefaultRendering)
{
result = r.Execute(result);
}
@ -172,4 +172,4 @@ namespace Yavsc.Helpers
}
}
}
}
}