Class CompositeFileSystemBase<T>
Base class for all file related compostite event activities.
Inheritance
System.Object
CompositeFileSystemBase<T>
Implements
System.Workflow.Activities.IEventActivity
Inherited Members
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0Syntax
public abstract class CompositeFileSystemBase<T> : CompositeEventBase<T>, IEventActivity, ICompositeFileSystemActivity, ICompositeActivity where T : FileEventBase<T>, new()
Type Parameters
Name | Description |
---|---|
T |
Constructors
CompositeFileSystemBase()
Initializes a new instance of the CompositePageBase<T> class.
Declaration
protected CompositeFileSystemBase()
Fields
InvokedEvent
Invoked event
Declaration
public static DependencyProperty InvokedEvent
Field Value
Type | Description |
---|---|
System.Workflow.ComponentModel.DependencyProperty |
Properties
EventType
The event type that caused this event
Declaration
public WorkflowFileSystemEvent EventType { get; }
Property Value
Type | Description |
---|---|
WorkflowFileSystemEvent |
IsFile
Indicates if this event is file or directory related
Declaration
public bool IsFile { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
NewVirtualPath
The new virtual path for the FileSystem item
Declaration
public string NewVirtualPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This is only set for some events, i.e. FileCopied
VirtualPath
The virtual path for the to the FileSystem item
Declaration
public string VirtualPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
EventActivity_Invoked(Object, ExternalDataEventArgs)
Handles the Invoked event of the EventActivity control.
Declaration
protected virtual void EventActivity_Invoked(object sender, ExternalDataEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the event. |
System.Workflow.Activities.ExternalDataEventArgs | e | The System.Workflow.Activities.ExternalDataEventArgs instance containing the event data. |
Events
Invoked
Event delegate that is called when event occurs
Declaration
public event EventHandler<WorkflowFileSystemEventArgs> Invoked
Event Type
Type | Description |
---|---|
System.EventHandler<WorkflowFileSystemEventArgs> |
Implements
System.Workflow.Activities.IEventActivity