Class ExportableLink

The ExportableLink is used to representing a link in the export functionality.

Inheritance
System.Object
ExportableLink
Inherited Members
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
Assembly: EPiServer.dll
Version: 8.11.0
public class ExportableLink

Properties

Gets or sets the content GUID.

Declaration
public Guid ContentGuid { get; set; }
Property Value
Type Description
System.Guid

The content GUID.

Methods

Creates for content.

Declaration
public static ExportableLink Create(Guid contentGuid, string contentTypeName, string masterLanguageBranch, IContentTransferContext transferContext, bool addToLinkGuidMap)
Parameters
Type Name Description
System.Guid contentGuid

The content GUID.

System.String contentTypeName

Name of the content type.

System.String masterLanguageBranch

The master language branch.

IContentTransferContext transferContext

The transfer context.

System.Boolean addToLinkGuidMap

if set to true [add to link GUID map].

Returns
Type Description
ExportableLink

Creates a exportable link for a exportable link string.

Declaration
public static ExportableLink Create(string linkString)
Parameters
Type Name Description
System.String linkString

The exportable link as a string.

Returns
Type Description
ExportableLink

The created exportable link for the page folder, if the page wasn't found null.

Finds exportable links in the specified content.

Declaration
public static IList<ExportableLink> Find(string content)
Parameters
Type Name Description
System.String content

The content to search for exportable links.

Returns
Type Description
System.Collections.Generic.IList<ExportableLink>

A list of exportable liks in the content.

Returns the exportable link as a string on the form [page|pagefolder][pageGuid][pageType].

Declaration
public override string ToString()
Returns
Type Description
System.String

The exportable link.

Overrides
System.Object.ToString()

Extension Methods