Class ClientController.ApiParameterModel
A parameter for a WebAPI action method.
Inheritance
System.Object
ClientController.ApiParameterModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.WebApi.Controllers
Assembly: Cqrs.WebApi.dll
Syntax
public class ApiParameterModel
Constructors
ApiParameterModel(ApiParameterDescription)
Instantiates a new instance of ClientController.ApiParameterModel with the provided apiParameterDescription
.
Declaration
public ApiParameterModel(ApiParameterDescription apiParameterDescription)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Http.Description.ApiParameterDescription | apiParameterDescription |
Properties
IsBodyParameter
Indicates if the parameter is provided in the body of the request or not.
Declaration
public bool IsBodyParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsUriParameter
Indicates if the parameter is provided in the URL of the request or not.
Declaration
public bool IsUriParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name of the parameter.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |