C# Class SenseNet.ContentRepository.Image

Inheritance: File, IHttpHandler
ファイルを表示 Open project: maxpavlov/FlexNet

Private Properties

Property Type Description
IHttpHandler void
SetDimension void

Public Methods

Method Description
CreateByBinary ( IFolder parent, BinaryData binaryData ) : Image
CreateResizedImageFile ( Stream originalStream, string ext, double x, double y, double q, string contentType ) : Stream
GetDynamicThumbnailStream ( int width, int height, string contentType ) : Stream
Image ( Node parent ) : System
Image ( Node parent, string nodeTypeName ) : System
getImageFormat ( string contentType ) : System.Drawing.Imaging.ImageFormat

Protected Methods

Method Description
Image ( NodeToken nt ) : System
OnCreated ( object sender, SenseNet e ) : void
OnCreating ( object sender, Storage e ) : void
OnModifying ( object sender, Storage e ) : void

Private Methods

Method Description
IHttpHandler ( HttpContext context ) : void
SetDimension ( Image imgNode ) : void

Method Details

CreateByBinary() public static method

public static CreateByBinary ( IFolder parent, BinaryData binaryData ) : Image
parent IFolder
binaryData SenseNet.ContentRepository.Storage.BinaryData
return Image

CreateResizedImageFile() public static method

public static CreateResizedImageFile ( Stream originalStream, string ext, double x, double y, double q, string contentType ) : Stream
originalStream Stream
ext string
x double
y double
q double
contentType string
return Stream

GetDynamicThumbnailStream() public method

public GetDynamicThumbnailStream ( int width, int height, string contentType ) : Stream
width int
height int
contentType string
return Stream

Image() public method

public Image ( Node parent ) : System
parent Node
return System

Image() public method

public Image ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
return System

Image() protected method

protected Image ( NodeToken nt ) : System
nt NodeToken
return System

OnCreated() protected method

protected OnCreated ( object sender, SenseNet e ) : void
sender object
e SenseNet
return void

OnCreating() protected method

protected OnCreating ( object sender, Storage e ) : void
sender object
e Storage
return void

OnModifying() protected method

protected OnModifying ( object sender, Storage e ) : void
sender object
e Storage
return void

getImageFormat() public static method

public static getImageFormat ( string contentType ) : System.Drawing.Imaging.ImageFormat
contentType string
return System.Drawing.Imaging.ImageFormat