Skip to content

Commit

Permalink
feat: internal DefaultTemplateParser/DefaultTemplateRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed Jan 3, 2024
1 parent 038aad8 commit 7b028b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/WeihanLi.Common/Templating/DefaultTemplateParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace WeihanLi.Common.Templating;

public sealed class DefaultTemplateParser : ITemplateParser
internal sealed class DefaultTemplateParser : ITemplateParser
{
private const string VariableRegexExp = @"\{\{(?<Variable>.+)\}\}";
private static readonly Regex VariableRegex = new(VariableRegexExp, RegexOptions.Compiled);
Expand Down
2 changes: 1 addition & 1 deletion src/WeihanLi.Common/Templating/DefaultTemplateRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace WeihanLi.Common.Templating;

public sealed class DefaultTemplateRenderer : ITemplateRenderer
internal sealed class DefaultTemplateRenderer : ITemplateRenderer
{
private readonly Func<TemplateRenderContext, Task> _renderFunc;

Expand Down

0 comments on commit 7b028b4

Please sign in to comment.