C# 클래스 WebApiService.Code.WebApiErrorResponseBuilder

파일 보기 프로젝트 열기: dotnetjunkie/solidservices 1 사용 예제들

공개 메소드들

메소드 설명
CreateErrorResponseOrNull ( Exception thrownException, HttpRequestMessage request ) : HttpResponseMessage
GetValueOrNull ( this headers, string name ) : string

메소드 상세

CreateErrorResponseOrNull() 공개 정적인 메소드

public static CreateErrorResponseOrNull ( Exception thrownException, HttpRequestMessage request ) : HttpResponseMessage
thrownException System.Exception
request System.Net.Http.HttpRequestMessage
리턴 System.Net.Http.HttpResponseMessage

GetValueOrNull() 공개 정적인 메소드

public static GetValueOrNull ( this headers, string name ) : string
headers this
name string
리턴 string