November Happy Hour will be moved to Thursday December 5th.

Class MediaFileTransform

Inheritance
System.Object
MediaFileTransform
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class MediaFileTransform : Object

Constructors

MediaFileTransform(ISiteDefinitionResolver, ServiceAccessor<SiteDefinition>, ApplicationPathResolver)

Declaration
public MediaFileTransform(ISiteDefinitionResolver siteDefinitionResolver, ServiceAccessor<SiteDefinition> currentSiteAccessor, ApplicationPathResolver applicationPathResolver)
Parameters
Type Name Description
ISiteDefinitionResolver siteDefinitionResolver
ServiceAccessor<SiteDefinition> currentSiteAccessor
ApplicationPathResolver applicationPathResolver

Methods

TryAddMediaToContext(String, IContentTransferContext, out String)

Declaration
public virtual bool TryAddMediaToContext(string possibleMediaPath, IContentTransferContext transferContext, out string addedMediaPath)
Parameters
Type Name Description
System.String possibleMediaPath
IContentTransferContext transferContext
System.String addedMediaPath
Returns
Type Description
System.Boolean

Extension Methods