Interface IFolderIDGenerator

Definies the signature for a component that generates folder ids.

Namespace: EPiServer.Construction
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[Obsolete("Virtual path providers are no longer used for media")]
public interface IFolderIDGenerator

Methods

GenerateFolderID(ContentReference, ContentReference)

Generates a folder id for a content.

Declaration
long GenerateFolderID(ContentReference contentLink, ContentReference parentLink)
Parameters
Type Name Description
ContentReference contentLink

The content link.

ContentReference parentLink

The parent link.

Returns
Type Description
System.Int64

GetNextAvailableFolderID()

Gets the next available unique folder id.

Declaration
long GetNextAvailableFolderID()
Returns
Type Description
System.Int64

Extension Methods