C# Class WebApiService.Code.WebApiErrorResponseBuilder

Afficher le fichier Open project: dotnetjunkie/solidservices Class Usage Examples

Méthodes publiques

Méthode Description
CreateErrorResponseOrNull ( Exception thrownException, HttpRequestMessage request ) : HttpResponseMessage
GetValueOrNull ( this headers, string name ) : string

Method Details

CreateErrorResponseOrNull() public static méthode

public static CreateErrorResponseOrNull ( Exception thrownException, HttpRequestMessage request ) : HttpResponseMessage
thrownException System.Exception
request System.Net.Http.HttpRequestMessage
Résultat System.Net.Http.HttpResponseMessage

GetValueOrNull() public static méthode

public static GetValueOrNull ( this headers, string name ) : string
headers this
name string
Résultat string