Class TransformPropertyEventArgs
Event argument used at import or export of a property.
Inheritance
Inherited Members
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class TransformPropertyEventArgs : EventArgs
Constructors
TransformPropertyEventArgs(RawProperty)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
[Obsolete("Use alternative constructor")]
public TransformPropertyEventArgs(RawProperty sourceProperty)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
TransformPropertyEventArgs(RawProperty, PropertyData)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
[Obsolete("Use alternative constructor")]
public TransformPropertyEventArgs(RawProperty sourceProperty, PropertyData destinationProperty)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
PropertyData | destinationProperty | The destination property. |
TransformPropertyEventArgs(RawProperty, PropertyData, RawContent)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
[Obsolete("Use alternative constructor")]
public TransformPropertyEventArgs(RawProperty sourceProperty, PropertyData destinationProperty, RawContent contextContent)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
PropertyData | destinationProperty | The destination property. |
RawContent | contextContent | Content of the context. |
TransformPropertyEventArgs(RawProperty, PropertyData, RawContent, IContent)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
public TransformPropertyEventArgs(RawProperty sourceProperty, PropertyData destinationProperty, RawContent contextContent, IContent content)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
PropertyData | destinationProperty | The destination property. |
RawContent | contextContent | The raw format of the content that is being exported/imported. |
IContent | content | The raw format of the content that is being exported/imported |
Properties
ContextContent
The raw format of the content that is being exported/imported
Declaration
public RawContent ContextContent { get; }
Property Value
Type | Description |
---|---|
RawContent |
IsHandled
Gets or sets a value indicating whether the property transfer has been handled.
Declaration
public bool IsHandled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PropertyDestination
Gets or sets the property destination.
Declaration
public PropertyData PropertyDestination { get; set; }
Property Value
Type | Description |
---|---|
PropertyData | The property destination. |
Remarks
This is what is set during import when a PageData instance is created and populated.
PropertySource
Gets or sets the property source.
Declaration
public RawProperty PropertySource { get; set; }
Property Value
Type | Description |
---|---|
RawProperty | The property source. |
Remarks
This is the value in the export package
TransferredContent
The content that is being exported/imported
Declaration
public IContent TransferredContent { get; }
Property Value
Type | Description |
---|---|
IContent |