public HttpResult(FileInfo fileResponse, bool asAttachment) : this(fileResponse, asAttachment, MimeTypes.GetMimeType(fileResponse.Name)) { }
public TextResult() : this(null, MimeTypes.GetMimeType(".txt")) { }
public TextResult(StringBuilder body) : this(body, MimeTypes.GetMimeType(".txt")) { }
public FileResult(FileInfo fileInfo) : this(fileInfo, MimeTypes.GetMimeType(fileInfo.Name)) { }