ApiParameterRouteInfo Class¶
Summary¶
A metadata description of routing information for an [Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterDescription](Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterDescription.yml).
Properties¶
-
Constraints
()¶ Gets or sets the set of @!:IRouteConstraint- objects for the parameter.
Return type: System.Collections.Generic.IEnumerable{IRouteConstraint} public IEnumerable<IRouteConstraint> Constraints { get; set; }
-
DefaultValue
()¶ Gets or sets the default value for the parameter.
Return type: System.Object public object DefaultValue { get; set; }
-
IsOptional
()¶ Gets a value indicating whether not a parameter is considered optional by routing.
Return type: System.Boolean public bool IsOptional { get; set; }
-