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

Afficher le fichier Open project: nathan-alden/junior-route Class Usage Examples

Méthodes publiques

Méthode Description
ResponseGenerated ( IResponse response, string cacheKey = null ) : ResponseResult
ResponseGenerated ( Task response, string cacheKey = null ) : ResponseResult
ResponseNotGenerated ( ) : ResponseResult

Private Methods

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

Method Details

ResponseGenerated() public static méthode

public static ResponseGenerated ( IResponse response, string cacheKey = null ) : ResponseResult
response IResponse
cacheKey string
Résultat ResponseResult

ResponseGenerated() public static méthode

public static ResponseGenerated ( Task response, string cacheKey = null ) : ResponseResult
response Task
cacheKey string
Résultat ResponseResult

ResponseNotGenerated() public static méthode

public static ResponseNotGenerated ( ) : ResponseResult
Résultat ResponseResult