C# Class Pomona.UriResolver

Inheritance: IUriResolver
Datei anzeigen Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
GetUriFor ( PropertySpec property, object entity ) : string
GetUriFor ( object entity ) : string
RelativeToAbsoluteUri ( string path ) : string
ToRelativePath ( string url ) : string
UriResolver ( ITypeResolver typeMapper, IBaseUriProvider baseUriProvider ) : System

Private Methods

Method Description
BuildRelativeUri ( object entity, PropertySpec property ) : string
BuildRelativeUri ( object entity, PropertySpec property, StringBuilder sb ) : void

Method Details

GetUriFor() public method

public GetUriFor ( PropertySpec property, object entity ) : string
property Pomona.Common.TypeSystem.PropertySpec
entity object
return string

GetUriFor() public method

public GetUriFor ( object entity ) : string
entity object
return string

RelativeToAbsoluteUri() public method

public RelativeToAbsoluteUri ( string path ) : string
path string
return string

ToRelativePath() public method

public ToRelativePath ( string url ) : string
url string
return string

UriResolver() public method

public UriResolver ( ITypeResolver typeMapper, IBaseUriProvider baseUriProvider ) : System
typeMapper ITypeResolver
baseUriProvider IBaseUriProvider
return System