메소드 | 설명 | |
---|---|---|
AutorouteService ( IAliasService aliasService, ITokenizer tokenizer, IContentDefinitionManager contentDefinitionManager, IContentManager contentManager, IRouteEvents routeEvents ) : System | ||
CreatePattern ( string contentType, string name, string pattern, string description, bool makeDefault ) : void | ||
GenerateAlias ( AutoroutePart part ) : string | ||
GenerateUniqueSlug ( AutoroutePart part, IEnumerable |
||
GetDefaultPattern ( string contentType ) : Orchard.Autoroute.Settings.RoutePattern | ||
GetPatterns ( string contentType ) : IEnumerable |
||
GetSimilarPaths ( string path ) : IEnumerable |
||
IsPathValid ( string slug ) : bool | ||
ProcessPath ( AutoroutePart part ) : bool | ||
PublishAlias ( AutoroutePart part ) : void | ||
RemoveAliases ( AutoroutePart part ) : void |
메소드 | 설명 | |
---|---|---|
BuildTokenContext ( IContent item ) : object>.IDictionary |
||
GetSlugVersion ( string path, string potentialConflictingPath ) : int? | ||
GetTypePartSettings ( string contentType ) : SettingsDictionary |
public AutorouteService ( IAliasService aliasService, ITokenizer tokenizer, IContentDefinitionManager contentDefinitionManager, IContentManager contentManager, IRouteEvents routeEvents ) : System | ||
aliasService | IAliasService | |
tokenizer | ITokenizer | |
contentDefinitionManager | IContentDefinitionManager | |
contentManager | IContentManager | |
routeEvents | IRouteEvents | |
리턴 | System |
public CreatePattern ( string contentType, string name, string pattern, string description, bool makeDefault ) : void | ||
contentType | string | |
name | string | |
pattern | string | |
description | string | |
makeDefault | bool | |
리턴 | void |
public GenerateAlias ( AutoroutePart part ) : string | ||
part | AutoroutePart | |
리턴 | string |
public GenerateUniqueSlug ( AutoroutePart part, IEnumerable |
||
part | AutoroutePart | |
existingPaths | IEnumerable |
|
리턴 | string |
public GetDefaultPattern ( string contentType ) : Orchard.Autoroute.Settings.RoutePattern | ||
contentType | string | |
리턴 | Orchard.Autoroute.Settings.RoutePattern |
public GetPatterns ( string contentType ) : IEnumerable |
||
contentType | string | |
리턴 | IEnumerable |
public GetSimilarPaths ( string path ) : IEnumerable |
||
path | string | |
리턴 | IEnumerable |
public RemoveAliases ( AutoroutePart part ) : void | ||
part | AutoroutePart | |
리턴 | void |