aspnetcore/src/Microsoft.AspNet.Razor/DocumentParseCompleteEventA...

29 lines
923 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Razor.Text;
namespace Microsoft.AspNet.Razor
{
/// <summary>
/// Arguments for the DocumentParseComplete event in RazorEditorParser
/// </summary>
public class DocumentParseCompleteEventArgs : EventArgs
{
/// <summary>
/// Indicates if the tree structure has actually changed since the previous reparse.
/// </summary>
public bool TreeStructureChanged { get; set; }
/// <summary>
/// The results of the code generation and parsing
/// </summary>
public GeneratorResults GeneratorResults { get; set; }
/// <summary>
/// The TextChange which triggered the reparse
/// </summary>
public TextChange SourceChange { get; set; }
}
}