struct

Analyzer::CSharp::AspNetCoreMvc::ActionAttributes

Inherits Struct < Value < Object

What an action's attributes declare: one {verb, route} per verb attribute ([HttpGet("a"), HttpHead("a")] is two), the verb-less [Route] a bare verb inherits, whether any routing attribute is present, [NonAction], the verbs whose route argument is a constant the analyzer cannot read, and an [ActionName] rename.

Constructors

new(verb_routes : Array(Tuple(String, String)), route_attr : String, explicit : Bool, non_action : Bool, unresolved : Set(String), renamed : String | Nil)
Source

Instance methods

clone
Source
copy_with(verb_routes _verb_routes = @verb_routes, route_attr _route_attr = @route_attr, explicit _explicit = @explicit, non_action _non_action = @non_action, unresolved _unresolved = @unresolved, renamed _renamed = @renamed)
Source
explicit
non_action
renamed
route_attr
unresolved
verb_routes