ApiParameterDescription Class

Summary

A metadata description of an input to an API.

Syntax

public class ApiParameterDescription

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterDescription

Properties

ModelMetadata()

Gets or sets the [Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterDescription.ModelMetadata](Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterDescription.yml).

Return type:Microsoft.AspNet.Mvc.ModelBinding.ModelMetadata
public ModelMetadata ModelMetadata { get; set; }
Name()

Gets or sets the name.

Return type:System.String
public string Name { get; set; }
RouteInfo()

Gets or sets the [Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterRouteInfo](Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterRouteInfo.yml).

Return type:Microsoft.AspNet.Mvc.ApiExplorer.ApiParameterRouteInfo
public ApiParameterRouteInfo RouteInfo { get; set; }
Source()

Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.BindingSource]().

Return type:Microsoft.AspNet.Mvc.ModelBinding.BindingSource
public BindingSource Source { get; set; }
Type()

Gets or sets the parameter type.

Return type:System.Type
public Type Type { get; set; }