HtmlSafeTemplate overrides some methods like
public override Task WriteAsync(object obj = null)
public override Task WriteAttributeValueAsync(string prefix, int prefixOffset, object value, int valueOffset, int valueLength, bool isLiteral)
but these methods do not seem to be implemented anymore by RazorEngineTemplateBase.
Is it safe to simply replace it with the non-async equivalents?
Consider updating the example.
HtmlSafeTemplate overrides some methods like public override Task WriteAsync(object obj = null) public override Task WriteAttributeValueAsync(string prefix, int prefixOffset, object value, int valueOffset, int valueLength, bool isLiteral)
but these methods do not seem to be implemented anymore by RazorEngineTemplateBase.
Is it safe to simply replace it with the non-async equivalents? Consider updating the example.
Update: seems to work...