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

Class MediaFileTransform

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
MediaFileTransform
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class MediaFileTransform

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