C# 클래스 SenseNet.Portal.Handlers.UploadHandler

상속: IHttpHandler
파일 보기 프로젝트 열기: maxpavlov/FlexNet

Private Properties

프로퍼티 타입 설명
CheckAllowedContentType bool
CreateSpecificContent void
IsImageFileExtension bool
ModifyFile void
ModifySpecificContent void
RedirectToErrorPage void
SaveNewFile void
SetError void
TryToGetParentId string

공개 메소드들

메소드 설명
CreateBinaryData ( System.Web.HttpPostedFile file ) : BinaryData
ProcessRequest ( HttpContext context ) : void

비공개 메소드들

메소드 설명
CheckAllowedContentType ( GenericContent parent, Node child, HttpContext context ) : bool
CreateSpecificContent ( HttpContext context, string contentTypeName, IFolder parentNode, System.Web.HttpPostedFile postedFile ) : void
IsImageFileExtension ( string fileName ) : bool
ModifyFile ( HttpContext context, System.Web.HttpPostedFile postedFile, IFolder parentNode, string path ) : void
ModifySpecificContent ( IFolder node, System.Web.HttpPostedFile file, string path ) : void
RedirectToErrorPage ( string errorMessage, HttpContext context ) : void
SaveNewFile ( HttpContext context, System.Web.HttpPostedFile postedFile, IFolder parentNode, string path ) : void
SetError ( HttpContext context, string message, int statusCode ) : void
TryToGetParentId ( HttpContext context ) : string

메소드 상세

CreateBinaryData() 공개 정적인 메소드

public static CreateBinaryData ( System.Web.HttpPostedFile file ) : BinaryData
file System.Web.HttpPostedFile
리턴 SenseNet.ContentRepository.Storage.BinaryData

ProcessRequest() 공개 메소드

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
리턴 void