aspnetcore/src/Microsoft.AspNet.Mvc.Core/ActionDescriptor.cs

26 lines
679 B
C#

using System.Collections.Generic;
using System.Diagnostics;
namespace Microsoft.AspNet.Mvc
{
[DebuggerDisplay("{Path}:{Name}")]
public class ActionDescriptor
{
public virtual string Path { get; set; }
public virtual string Name { get; set; }
public List<RouteDataActionConstraint> RouteConstraints { get; set; }
public List<HttpMethodConstraint> MethodConstraints { get; set; }
public List<IActionConstraint> DynamicConstraints { get; set; }
public List<ParameterDescriptor> Parameters { get; set; }
public List<IFilter> Filters { get; set; }
public bool AllowAnonymous { get; set; }
}
}