// 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.Legacy
{
///
/// Arguments for the DocumentParseComplete event in RazorEditorParser
///
public class DocumentParseCompleteEventArgs : EventArgs
{
///
/// Indicates if the tree structure has actually changed since the previous re-parse.
///
public bool TreeStructureChanged { get; set; }
///
/// The result of the parsing and code generation.
///
public RazorCodeDocument GeneratorResults { get; set; }
///
/// The TextChange which triggered the re-parse
///
#pragma warning disable CS0612 // Type or member is obsolete
public TextChange SourceChange { get; set; }
#pragma warning restore CS0612 // Type or member is obsolete
}
}