C# Класс DD4T.Web.Binaries.BinaryFileManager

Ensures a Binary file is cached on the file-system from the Tridion Broker DB
Наследование: IBinaryFileManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BinaryFileManager ( ) : System
ProcessRequest ( HttpRequest request ) : bool

Main worker method reads binary from Broker and stores it in file-system

Приватные методы

Метод Описание
DeleteFile ( string physicalPath ) : void
GetCacheKey ( string url ) : string
GetImageFormat ( string path ) : ImageFormat
ResizeImageFile ( byte imageFile, Dimensions dimensions, ImageFormat imageFormat ) : byte[]
StripDimensions ( string path, Dimensions &dimensions ) : string
WriteBinaryToFile ( IBinary binary, String physicalPath, Dimensions dimensions ) : bool

Perform actual write of binary content to file

Описание методов

BinaryFileManager() публичный Метод

public BinaryFileManager ( ) : System
Результат System

ProcessRequest() публичный Метод

Main worker method reads binary from Broker and stores it in file-system
public ProcessRequest ( HttpRequest request ) : bool
request System.Web.HttpRequest
Результат bool