Class ContentTransferForTest
Transfer pages
Inheritance
System.Object
ContentTransferForTest
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.Enterprise.Transfer
Assembly: EPiServer.Enterprise.dll
Version: 9.12.2Syntax
[ServiceConfiguration(typeof(IContentTransferValidator))]
public class ContentTransferForTest : IContentTransferValidator, IContentTransfer
Constructors
ContentTransferForTest()
Declaration
public ContentTransferForTest()
Properties
ContentTransferContext
Declaration
public IContentTransferContext ContentTransferContext { get; set; }
Property Value
Type | Description |
---|---|
IContentTransferContext |
HasMoreData
Declaration
public bool HasMoreData { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PageLanguages
Gets the page languages to transfer, if no list of languages is in the list all languages is transfered.
Declaration
public IList<string> PageLanguages { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The page languages to be transfered. |
Methods
Export(IContent, AccessLevel)
Declaration
public ITransferContentData Export(IContent content, AccessLevel requiredSourceAccess)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | |
AccessLevel | requiredSourceAccess |
Returns
Type | Description |
---|---|
ITransferContentData |
Export(RawContentInfo, AccessLevel)
Declaration
public ITransferContentData Export(RawContentInfo contentInfo, AccessLevel requiredSourceAccess)
Parameters
Type | Name | Description |
---|---|---|
RawContentInfo | contentInfo | |
AccessLevel | requiredSourceAccess |
Returns
Type | Description |
---|---|
ITransferContentData |
Import(ITransferContentData, AccessLevel)
Declaration
public ContentReference Import(ITransferContentData content, AccessLevel requiredDestinationAccess)
Parameters
Type | Name | Description |
---|---|---|
ITransferContentData | content | |
AccessLevel | requiredDestinationAccess |
Returns
Type | Description |
---|---|
ContentReference |
ImportProperty(RawContent, RawProperty, PropertyData)
Declaration
public void ImportProperty(RawContent rawContent, RawProperty importedProp, PropertyData newProperty)
Parameters
Type | Name | Description |
---|---|---|
RawContent | rawContent | |
RawProperty | importedProp | |
PropertyData | newProperty |