C# Class SenseNet.ContentRepository.Fields.ImageField

Inheritance: Field, SenseNet.ContentRepository.Xpath.IXmlAttributeOwner
Show file Open project: maxpavlov/FlexNet

Public Methods

Method Description
GetImageMode ( ImageFieldData data ) : ImageRequestMode
GetImageUrl ( ImageRequestMode imageMode, ImageFieldData data, int contentId, string binaryPropertyName ) : string
GetSizeUrlParams ( ImageRequestMode imageMode, int width, int height ) : string
GetXmlAttribute ( string name ) : string
GetXmlAttributeNames ( ) : IEnumerable
SetThumbnailReference ( System.Image thumbnailImage ) : bool

Protected Methods

Method Description
ConvertFrom ( object value ) : object[]
ConvertTo ( object handlerValues ) : object
GetXmlData ( ) : string
ImportData ( XmlNode fieldNode, ImportContext context ) : void
WriteXmlData ( XmlWriter writer ) : void

Private Methods

Method Description
IsRelationalEngineQuery ( ) : bool

Method Details

ConvertFrom() protected method

protected ConvertFrom ( object value ) : object[]
value object
return object[]

ConvertTo() protected method

protected ConvertTo ( object handlerValues ) : object
handlerValues object
return object

GetImageMode() public static method

public static GetImageMode ( ImageFieldData data ) : ImageRequestMode
data ImageFieldData
return ImageRequestMode

GetImageUrl() public static method

public static GetImageUrl ( ImageRequestMode imageMode, ImageFieldData data, int contentId, string binaryPropertyName ) : string
imageMode ImageRequestMode
data ImageFieldData
contentId int
binaryPropertyName string
return string

GetSizeUrlParams() public static method

public static GetSizeUrlParams ( ImageRequestMode imageMode, int width, int height ) : string
imageMode ImageRequestMode
width int
height int
return string

GetXmlAttribute() public method

public GetXmlAttribute ( string name ) : string
name string
return string

GetXmlAttributeNames() public method

public GetXmlAttributeNames ( ) : IEnumerable
return IEnumerable

GetXmlData() protected method

protected GetXmlData ( ) : string
return string

ImportData() protected method

protected ImportData ( XmlNode fieldNode, ImportContext context ) : void
fieldNode System.Xml.XmlNode
context ImportContext
return void

SetThumbnailReference() public method

public SetThumbnailReference ( System.Image thumbnailImage ) : bool
thumbnailImage System.Image
return bool

WriteXmlData() protected method

protected WriteXmlData ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void