Interface INavigationRepository
Namespace: Umbraco.Cms.Core.Persistence.Repositories
Assembly: Umbraco.Core.dll
Syntax
public interface INavigationRepository
Methods
View SourceGetContentNodesByObjectType(Guid)
Retrieves a collection of content nodes as navigation models based on the object type key.
Declaration
IEnumerable<INavigationModel> GetContentNodesByObjectType(Guid objectTypeKey)
Parameters
Type | Name | Description |
---|---|---|
Guid | objectTypeKey | The unique identifier for the object type. |
Returns
Type | Description |
---|---|
IEnumerable<INavigationModel> | A collection of navigation models. |
GetTrashedContentNodesByObjectType(Guid)
Retrieves a collection of trashed content nodes as navigation models based on the object type key.
Declaration
IEnumerable<INavigationModel> GetTrashedContentNodesByObjectType(Guid objectTypeKey)
Parameters
Type | Name | Description |
---|---|---|
Guid | objectTypeKey | The unique identifier for the object type. |
Returns
Type | Description |
---|---|
IEnumerable<INavigationModel> | A collection of navigation models. |