Class ClientController.ApiMethodModel
A WebAPI action method.
Inheritance
System.Object
ClientController.ApiMethodModel
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 ApiMethodModel
Constructors
ApiMethodModel(ApiDescription)
Instantiates a new instance of ClientController.ApiMethodModel with the provided apiDescription
.
Declaration
public ApiMethodModel(ApiDescription apiDescription)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Http.Description.ApiDescription | apiDescription |
Properties
ActionName
The name of the action method.
Declaration
public string ActionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ControllerName
The name of the System.Web.Http.ApiController this action method is in.
Declaration
public string ControllerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Method
The type of the System.Net.Http.HttpMethod.
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Parameters
The ClientController.ApiParameterModel of this action method.
Declaration
public IEnumerable<ClientController.ApiParameterModel> Parameters { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ClientController.ApiParameterModel> |
Url
The URL of the action method.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |