PdfRpt.Core.Helper.SoftHttpContext.setContentType C# (CSharp) 메소드

setContentType() 개인적인 정적인 메소드

private static setContentType ( object response ) : void
response object
리턴 void
        private static void setContentType(object response)
        {
            var contentTypeProperty = response.GetType().GetProperty("ContentType");
            contentTypeProperty.SetValue(response, MediaTypeNames.Application.Pdf, null);
        }