C# Class Junior.Route.AspNetIntegration.ResponseGenerators.ResponseResult

Mostra file Open project: nathan-alden/junior-route Class Usage Examples

Public Methods

Method Description
ResponseGenerated ( IResponse response, string cacheKey = null ) : ResponseResult
ResponseGenerated ( Task response, string cacheKey = null ) : ResponseResult
ResponseNotGenerated ( ) : ResponseResult

Private Methods

Method Description
ResponseResult ( ResponseResultType resultType, Task response = null, string cacheKey = null ) : System.Threading.Tasks

Method Details

ResponseGenerated() public static method

public static ResponseGenerated ( IResponse response, string cacheKey = null ) : ResponseResult
response IResponse
cacheKey string
return ResponseResult

ResponseGenerated() public static method

public static ResponseGenerated ( Task response, string cacheKey = null ) : ResponseResult
response Task
cacheKey string
return ResponseResult

ResponseNotGenerated() public static method

public static ResponseNotGenerated ( ) : ResponseResult
return ResponseResult