Remove Usage of RazorIrNodeVisitorOfT (#5991)
This commit is contained in:
parent
66deaf0b3f
commit
5c79d4e8ee
|
|
@ -31,16 +31,6 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Host
|
||||||
AcceptExtensionNode<InjectDirectiveIRNode>(this, visitor);
|
AcceptExtensionNode<InjectDirectiveIRNode>(this, visitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override TResult Accept<TResult>(RazorIRNodeVisitor<TResult> visitor)
|
|
||||||
{
|
|
||||||
if (visitor == null)
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException(nameof(visitor));
|
|
||||||
}
|
|
||||||
|
|
||||||
return AcceptExtensionNode<InjectDirectiveIRNode, TResult>(this, visitor);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void WriteNode(RuntimeTarget target, CSharpRenderingContext context)
|
public override void WriteNode(RuntimeTarget target, CSharpRenderingContext context)
|
||||||
{
|
{
|
||||||
if (target == null)
|
if (target == null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue