C# Класс OpenRasta.Web.UriDecorators.ContentTypeExtensionUriDecorator

Decorates a uri with an extension, similar to a file system extension, to override content-type negotiation.
The extension is always processed at the end of the uri, and separated by a dot. The matching is done per-resource, based on the extension declared for the codec associated with a resource.
Наследование: IUriDecorator
Показать файл Открыть проект

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

Метод Описание
Apply ( ) : void
ContentTypeExtensionUriDecorator ( ICommunicationContext context, IUriResolver uris, ICodecRepository codecs, ITypeSystem typeSystem ) : System
Parse ( Uri uri, Uri &processedUri ) : bool

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

Метод Описание
ChangePath ( Uri uri, Func getPath ) : Uri

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

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

public Apply ( ) : void
Результат void

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

public ContentTypeExtensionUriDecorator ( ICommunicationContext context, IUriResolver uris, ICodecRepository codecs, ITypeSystem typeSystem ) : System
context ICommunicationContext
uris IUriResolver
codecs ICodecRepository
typeSystem ITypeSystem
Результат System

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

public Parse ( Uri uri, Uri &processedUri ) : bool
uri Uri
processedUri Uri
Результат bool