C# Class SenseNet.Portal.Handlers.UploadHandler

Inheritance: IHttpHandler
Afficher le fichier Open project: maxpavlov/FlexNet

Private Properties

Свойство Type Description
CheckAllowedContentType bool
CreateSpecificContent void
IsImageFileExtension bool
ModifyFile void
ModifySpecificContent void
RedirectToErrorPage void
SaveNewFile void
SetError void
TryToGetParentId string

Méthodes publiques

Méthode Description
CreateBinaryData ( System.Web.HttpPostedFile file ) : BinaryData
ProcessRequest ( HttpContext context ) : void

Private Methods

Méthode Description
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

Method Details

CreateBinaryData() public static méthode

public static CreateBinaryData ( System.Web.HttpPostedFile file ) : BinaryData
file System.Web.HttpPostedFile
Résultat SenseNet.ContentRepository.Storage.BinaryData

ProcessRequest() public méthode

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
Résultat void