C# Класс SenseNet.Portal.Handlers.UploadHandler

Наследование: IHttpHandler
Показать файл Открыть проект

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