Class ContentTypeFilePathResolver
IContentFilePathResolver implementation that generates content item file store paths by their content type.
Implements
Namespace: Tableau.Migration.Content.Files
Assembly: Tableau.Migration.dll
Syntax
public class ContentTypeFilePathResolver : IContentFilePathResolver
Methods
ResolveRelativePath<TContent>(TContent, string)
Resolves a relative file store path for the content item.
Declaration
public string ResolveRelativePath<TContent>(TContent contentItem, string originalFileName)
Parameters
Type | Name | Description |
---|---|---|
TContent | contentItem | the content item to resolve the path for. |
string | originalFileName | The original file name. |
Returns
Type | Description |
---|---|
string | The resolved relative file store path. |
Type Parameters
Name | Description |
---|---|
TContent | The content type. |