// 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.Collections.Generic;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure;
namespace Microsoft.AspNetCore.Mvc.RazorPages
{
///
/// A for a compiled Razor page.
///
public class CompiledPageActionDescriptor : PageActionDescriptor
{
///
/// Initializes an empty .
///
public CompiledPageActionDescriptor()
{
}
///
/// Initializes a new instance of
/// from the specified instance.
///
/// The .
public CompiledPageActionDescriptor(PageActionDescriptor actionDescriptor)
: base(actionDescriptor)
{
}
///
/// Gets or sets the of the page.
///
public TypeInfo PageTypeInfo { get; set; }
///
/// Gets or sets the of the model.
///
public TypeInfo ModelTypeInfo { get; set; }
public IList HandlerMethods { get; } = new List();
}
}