C# Class Rebel.Tests.Extensions.FakeRoutingEngine

Inheritance: IRoutingEngine
Exibir arquivo Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
ClearCache ( bool clearDomains = false, HiveId clearForIds = null, bool clearMappedUrls = false, bool clearGeneratedUrls = false, bool clearAll = false ) : void
FindEntityByUrl ( Uri fullUrlIncludingDomain, RevisionStatusType revisionStatusType = null ) : EntityRouteResult
GetAllUrlsForEntity ( TypedEntity entity ) : Rebel.Cms.Web.Routing.UrlResolutionResult[]
GetUrlForEntity ( TypedEntity entity ) : UrlResolutionResult

Method Details

ClearCache() public method

public ClearCache ( bool clearDomains = false, HiveId clearForIds = null, bool clearMappedUrls = false, bool clearGeneratedUrls = false, bool clearAll = false ) : void
clearDomains bool
clearForIds HiveId
clearMappedUrls bool
clearGeneratedUrls bool
clearAll bool
return void

FindEntityByUrl() public method

public FindEntityByUrl ( Uri fullUrlIncludingDomain, RevisionStatusType revisionStatusType = null ) : EntityRouteResult
fullUrlIncludingDomain System.Uri
revisionStatusType RevisionStatusType
return Rebel.Cms.Web.Routing.EntityRouteResult

GetAllUrlsForEntity() public method

public GetAllUrlsForEntity ( TypedEntity entity ) : Rebel.Cms.Web.Routing.UrlResolutionResult[]
entity TypedEntity
return Rebel.Cms.Web.Routing.UrlResolutionResult[]

GetUrlForEntity() public method

public GetUrlForEntity ( TypedEntity entity ) : UrlResolutionResult
entity TypedEntity
return Rebel.Cms.Web.Routing.UrlResolutionResult