ActionDescriptor Class

Syntax

public class ActionDescriptor

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ActionDescriptor

Constructors

Microsoft.AspNet.Mvc.ActionDescriptor.ActionDescriptor()
public ActionDescriptor()

Properties

ActionConstraints()

The set of constraints for this action. Must all be satisfied for the action to be selected.

Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IActionConstraintMetadata}
public IList<IActionConstraintMetadata> ActionConstraints { get; set; }
AttributeRouteInfo()
Return type:Microsoft.AspNet.Mvc.Routing.AttributeRouteInfo
public AttributeRouteInfo AttributeRouteInfo { get; set; }
BoundProperties()

The set of properties which are model bound.

Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ParameterDescriptor}
public IList<ParameterDescriptor> BoundProperties { get; set; }
DisplayName()

A friendly name for this action.

Return type:System.String
public virtual string DisplayName { get; set; }
FilterDescriptors()
Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.FilterDescriptor}
public IList<FilterDescriptor> FilterDescriptors { get; set; }
Id()

Gets an id which uniquely identifies the action.

Return type:System.String
public string Id { get; }
Name()
Return type:System.String
public virtual string Name { get; set; }
Parameters()
Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ParameterDescriptor}
public IList<ParameterDescriptor> Parameters { get; set; }
Properties()

Stores arbitrary metadata properties associated with the [Microsoft.AspNet.Mvc.ActionDescriptor](Microsoft.AspNet.Mvc.ActionDescriptor.yml).

Return type:System.Collections.Generic.IDictionary{System.Object,System.Object}
public IDictionary<object, object> Properties { get; }
RouteConstraints()
Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.RouteDataActionConstraint}
public IList<RouteDataActionConstraint> RouteConstraints { get; set; }
RouteValueDefaults()
Return type:System.Collections.Generic.IDictionary{System.String,System.Object}
public IDictionary<string, object> RouteValueDefaults { get; }