C# Class Swagger.Net.Helpers.CustomAttributeHelper

Custom attribute helper.
Mostra file Open project: giacomelli/DG-Swagger.Net

Public Methods

Method Description
HasIgnoreAttribute ( HttpActionDescriptor actionDescriptor ) : bool
HasIgnoreAttribute ( HttpControllerDescriptor controllerDescriptor ) : bool
PrepareByOptionAttribute ( ResourceApi resource, HttpActionDescriptor actionDescriptor ) : void
PrepareByOptionAttribute ( ResourceApiOperationParameter parameter, HttpParameterDescriptor parameterDescriptor ) : void

Method Details

HasIgnoreAttribute() public static method

public static HasIgnoreAttribute ( HttpActionDescriptor actionDescriptor ) : bool
actionDescriptor HttpActionDescriptor
return bool

HasIgnoreAttribute() public static method

public static HasIgnoreAttribute ( HttpControllerDescriptor controllerDescriptor ) : bool
controllerDescriptor HttpControllerDescriptor
return bool

PrepareByOptionAttribute() public static method

public static PrepareByOptionAttribute ( ResourceApi resource, HttpActionDescriptor actionDescriptor ) : void
resource ResourceApi
actionDescriptor HttpActionDescriptor
return void

PrepareByOptionAttribute() public static method

public static PrepareByOptionAttribute ( ResourceApiOperationParameter parameter, HttpParameterDescriptor parameterDescriptor ) : void
parameter ResourceApiOperationParameter
parameterDescriptor HttpParameterDescriptor
return void