aspnetcore/src/Microsoft.AspNetCore.Razor..../Intermediate/UsingDirectiveIntermediateN...

25 lines
753 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{
public sealed class UsingDirectiveIntermediateNode : IntermediateNode
{
public override IntermediateNodeCollection Children => ReadOnlyIntermediateNodeCollection.Instance;
public string Content { get; set; }
public override void Accept(IntermediateNodeVisitor visitor)
{
if (visitor == null)
{
throw new ArgumentNullException(nameof(visitor));
}
visitor.VisitUsingDirective(this);
}
}
}